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 - live627
856
The Pub / [Archive] Re: Logo Madness
« on September 9th, 2011, 06:18 AM »
Quote from Arantor on September 9th, 2011, 01:40 AM
THIS kind of Ace of Spades :lol:
The playing card  8-)

857
The Pub / [Archive] Re: Logo Madness
« on September 9th, 2011, 01:39 AM »
Why does it remind me of an ace of spades? :lol:
858
The Pub / [Archive] Re: Logo Madness
« on September 8th, 2011, 10:32 PM »
Quote from MultiformeIngegno on September 8th, 2011, 06:58 PM
I like 1st and 2nd. 2nd I think it's good on dark background..
+1, although I really dig the first one.
859
Features / Re: New revs - Public comments
« on September 4th, 2011, 09:00 AM »
Quote from Nao on September 4th, 2011, 08:45 AM
I tried to comment the actions I'm performing in the new version of Aeva-Embed.php -- it's probably a good thing since I had a hard time diving back into the original code, even though I spent so much time on it :P
Six-month[1] code can look like  someone else wrote it.
 1. It's just a random number, the first one I thought of.
860
Archived fixes / Remove nested quotes is broken
« on September 4th, 2011, 08:55 AM »
The feature to remove nested quoting is broken a la http://www.simplemachines.org/community/index.php?topic=450841.0

I then tested it myself. Ironically, it removed my second first-level quote!

So I spent the evening trying to fix it. I didn't try the proposed tweak, because I felt that it wouldn't do it right. Instead, I sniffed around and ended up with this here'code[1]:

Code: [Select]
// Remove any nested quotes, if necessary.
if (!empty($modSettings['removeNestedQuotes']))
$pattern = "/\[quote(.*?)\](((?R)|.)*?)\[\/quote\]/is";
preg_match_all($pattern, $form_message, $matches, PREG_SET_ORDER);
foreach ($matches as $match)
{
$block = preg_replace(array('~\[quote(.*?)\](((?R)|.)*?)\[\/quote\]~is', '~^\n~', '~\[/quote\]~'), '', $match[2], -1, $count);
$form_message = str_replace($match[2], $block, $form_message);
}
 1. A bit messy, could use a bit of cleanup. Maybe it could be a user option instead of an admin setting.
861
Features / Re: New revs - Public comments
« on September 4th, 2011, 02:26 AM »
Code: [Select]
// Parse the smileys within the parts where it can be done safely.
if ($smileys === true)
{
$message_parts = explode("\n", $message);
for ($i = 0, $n = count($message_parts); $i < $n; $i += 2)
parsesmileys($message_parts[$i]);

$message = implode('', $message_parts);
}

This is at the end of parse_bbc(). Is there a specific reason for parsing smileys on every line? Why not parse the whole message, which makes more sense?
862
Features / Re: New revs - Public comments
« on September 4th, 2011, 12:51 AM »
I did some research on this and it turns out that, indeed, PHP explodes it once and keeps it in memory.
863
Features / Re: New revs - Public comments
« on September 3rd, 2011, 11:58 PM »
Code: [Select]
foreach (explode(',', strtolower($modSettings['disabledBBC'])) as $tag)

Wouldn't that do the explode for every disabled BB code?[1]?
 1. I think that's how Javascript does it.
864
Other software / Re: Fork discussion at SMF
« on August 29th, 2011, 01:28 AM »
His ideas sure are interesting. Especially that theme maker. Wonder how he'll do it..
865
Off-topic / Re: IE users are dumb
« on August 29th, 2011, 01:04 AM »
Quote from Nao on August 29th, 2011, 12:25 AM
Always reminds me of the goth kids in South Park (Raisins, The Ungroundable...), they're pretty funny in their desire to stand apart from society and fight against conformism... ;)
"I'm a non-conformist..."
866
The Pub / Re: Jump box and its stupid Go button
« on August 28th, 2011, 12:19 AM »
Nao, remember that link goes to the private area. This is public.
867
Plugins / [Naming poll] Re: Packages
« on August 27th, 2011, 06:57 AM »
Quote from ARG on August 27th, 2011, 06:37 AM
I say call them "Things that hopefully creators bother to update them for current versions of Wedge" but that's not on the list.   :eheh:
Update your shit or else! :niark:

 That is admittedly a big problem of SMF. Of course, Wedge addon authors would probably drop  their creations, since they'd like to hit and run, but one of Wedge's goals is to try to alleviate that problem by making them largely version independent. Or such is the plan...
868
Off-topic / Re: IE users are dumb
« on August 26th, 2011, 01:43 AM »
Quote from Dragooon on August 25th, 2011, 03:13 PM
Not to sound like a fanboy but the reality is exactly the opposite. Mac's use PC hardware, there is hardly anything special about Mac's hardware. It's Mac OS X that actually makes a difference(if any).
Using that logic, I can run OS X on my AMD... nope, doesn't work like that.
869
Off-topic / Re: IE users are dumb
« on August 25th, 2011, 11:38 AM »
Ah, so you're a Mac user?
870
Development blog / Re: Anniwersary
« on August 25th, 2011, 11:35 AM »
Who's trollin'!? :P