Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - PantsManUK
46
Archived fixes / In passing...
« on April 12th, 2012, 03:05 PM »
... I clicked on Pete's most recent post on a thread [ http://[url]http://wedge.org/?topic=7330.msg277483#new[/url] ] and was greeted by:-

Fatal error: Class 'wetem' not found in /Sources/Load.php on line 1874

Went back and clicked it again and everything worked fine, so fully prepped for "Can't reproduce/works for me". :eheh:
47
Features / Re: timeformat annoys me...
« on April 12th, 2012, 03:03 PM »
Getting back to the most immediate topic at hand (suffixes for dates), ignore the English suffixes when a non-English language is in use. Over-write the strings if that would help...
48
Features / Re: timeformat annoys me...
« on April 5th, 2012, 05:15 PM »
I see. Rock and a hard place. :hmm:

You *could* do a single-pass function that regexes for dates in the output and inserts the locale-correct suffixes as necessary, but that's a heck of a lot of work for tiny bit of gain (the page will grammer correctly). Me, I say f*** it and leave the "naked number"; folks will learn to love it...
49
Features / Re: timeformat annoys me...
« on April 5th, 2012, 04:13 PM »
Quote from Arantor on April 5th, 2012, 03:41 PM
There is no magic st/nd/rd in PHP AFAIK.
Eh? God is dead... :sob:

PHP does do English ordinal suffixes for the day of the month.

Code: [Select]
<?php
// Prints something like: Monday 8th of August 2005 03:12:46 PM
date('l jS \of F Y h:i:s A');
?>

:edit: Ah, not in strftime() it doesn't. To quote from the comments however:-

Code: [Select]
dgudgeon at example dot com 14-Jul-2011 05:04
If moving from date() to strftime() to support additional languages, you may miss the ordinal suffix format option date('S'). Workaround this by adding an extra modifier (%O).

<?php
function my_strftime ($format$timestamp)
{
    
$format str_replace('%O'date('S'$timestamp), $format);    
    return 
strftime($format$timestamp);
}
?>
50
Plugins / Re: Which next? [Poll]
« on April 3rd, 2012, 10:30 AM »
Poll closed already? Damn...

I'd have voted for a donation plugin (using Treasury in SMF at present and really like it), and whether I'm asked to pay or not, I'll donate when such a thing exists, no matter who writes it.
51
The Pub / Re : Bloc Madness
« on April 2nd, 2012, 02:40 PM »
Quote from Bloc on April 1st, 2012, 02:14 PM
If it works for you..a rather pessimistic view of things IMHO but its not my place to say.Trust comes from many things, and well, internet is rather untrustworthy place to begin with.
As someone who nominally works in a computer support role, it's often *far* quicker and easier to assume that the person you are speaking to barely knows how a mouse works, and work up from there. You offend far fewer people by starting from lowest common principle...
52
Archived fixes / Re: Time offset (auto detect)
« on March 30th, 2012, 06:26 PM »
Quote from Arantor on March 30th, 2012, 06:16 PM
There are probably several reasons, related to the number/types/severity of side effects of ibuprofen vs paracetamol, users' reaction to it etc. I just went with it because it was cheaper than paracetamol given that I could get generic ibuprofen vs only branded paracetamol. *shrug*
Cost vs. efficacy and contraindications (et. el.) as you rightly point out.

How's your food intake been today? I get terrible headaches when I don't bother eating for half a day.
53
The Pub / Re: Logo Madness
« on March 29th, 2012, 10:34 AM »
Quote from Nao on March 14th, 2012, 08:21 PM
So... Which is best?

:edit: HA! Updated the poll! :lol:
Where's the "PLEASE, FOR THE LOVE OF GOD, JUST PICK ONE ALREADY" option in that poll? :eheh:

Placed my vote and discovered I was with the majority (which was nice).
54
The Pub / Re: Ready for prime time...?
« on March 29th, 2012, 10:20 AM »
Quote from Arantor on March 29th, 2012, 12:58 AM
I know it's been suggested lately that we throw up a download link somewhere prominent and explain all that, might stop the flow of threads asking (since now we have multiple of them >_<)
The whole SMF "DON'T USE IT LIVE!!!!!!!!!!!1111eleven"... ;-)

I'd love to have a play, but I don't have anywhere I'd be prepared to install it to play, so the longer to a beta/gold, the better for me :lol:
55
Archived fixes / Re: Time offset (auto detect)
« on March 26th, 2012, 12:45 PM »
Auto detect sets my offset to "0" also - should be "-1".
56
Features / Re: Badges and the displaying thereof
« on March 23rd, 2012, 03:23 PM »
Put the necessary framework to do it in core, with a really basic management interface ("ordered list" of rows, top/up/down/bottom buttons styleee) and allow for more complex management UIs to be done as plugins. If folks want drag 'n' drool, let them write them :eheh:
57
Features / Re: "Username does not exist" warning
« on March 23rd, 2012, 03:13 PM »
Personally, I would want the security; don't divulge any information at login other than "one or both of the things you entered is wrong". The forgotten login details process can (and would) be more specific, and would necessarily "leak" if an email address is associated with an account on the forum.
58
Features / Re: Badges and the displaying thereof
« on March 20th, 2012, 02:22 PM »
FYI, I'm *not* suggesting the above gets added to any feature lists or anything. Once there's a way for me to play with the code (and especially plugins), I'll look into this for myself.

While I can envision this being useful to other people in general (heck, to a far lesser extent, it's what the whole thread is about), the specifics of what I'd like to achieve make it far from practical.

 :eheheh:
59
Features / Re: Badges and the displaying thereof
« on March 20th, 2012, 02:02 PM »
Here's a little bit of blue-sky wishfulness...

My (our) forum is part of our virtual airline (Flight Simulation... visit EuroHarmony VA if you want to learn more), and all pilots have Avatar images that are made automatically for them. They show rank, management level, and awards:-



We use a PHP script to construct these from sub images.

Now, if we could do that sort of a thing (core or plugin) automatically as a badge, I'd be a pig in sh*t...

 :eheh:
60
The Pub / Re: Logo Madness
« on March 14th, 2012, 04:56 PM »
MERCH!!!!

 :whistle: