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.
9376
Features / Re: New revs
« on April 8th, 2011, 09:28 PM »
rev 690
(10 files, 24kb)
! parsesmileys() would search for every smiley twice (once in a normal version, once in a htmlspecialchar'ed version), even if they were the same. It also applied htmlspecialchar to a same string three times in a row... Oh please, come on! (Subs-BBC.php)
* Optimized parsesmileys() replacement code. Both versions are lightning fast. The new version is 10 to 20% slower when the string has no smileys, but 2 to 5 times faster when it meets one or more smileys. (Subs-BBC.php)
* Optimized the block replacement function code. Replaced the super-cool regexp with a lame series of strpos calls. The new version is much faster when using hundreds of blocks, but a bit slower with few blocks (could be made faster by removing the case-sensitivity code.) It's still more robust anyway, and easier to understand. (Subs.php)
* Providing a means for the playlist area to know whether the album link should be shown. Yeah I know -- extra query... (Aeva-Foxy.php)
* Simplified media menu and fixed current area highlighting. (Aeva-Gallery.php)
! Fixed headers in playlist area. (Aeva-Foxy.php)
! Some areas didn't properly rename Aeva-Subs to Subs-Media. (Aeva-Subs-Vital.php, Subs-Media.php, Subs-BBC.php, Subs.php, Who.php)
! Converted the Aeva Media changelog to UTF8, to avoid errors at parse time. This will eventually be used in the Wedge changelog, hopefully. (default/aeva/changelog.txt)
* Minor button strip fixes. Hopefully the new forced overflows won't break anything. (Media.template.php, index.css)
! .title2 link color should be the same as when not linked. (index.css)
(10 files, 24kb)
! parsesmileys() would search for every smiley twice (once in a normal version, once in a htmlspecialchar'ed version), even if they were the same. It also applied htmlspecialchar to a same string three times in a row... Oh please, come on! (Subs-BBC.php)
* Optimized parsesmileys() replacement code. Both versions are lightning fast. The new version is 10 to 20% slower when the string has no smileys, but 2 to 5 times faster when it meets one or more smileys. (Subs-BBC.php)
* Optimized the block replacement function code. Replaced the super-cool regexp with a lame series of strpos calls. The new version is much faster when using hundreds of blocks, but a bit slower with few blocks (could be made faster by removing the case-sensitivity code.) It's still more robust anyway, and easier to understand. (Subs.php)
* Providing a means for the playlist area to know whether the album link should be shown. Yeah I know -- extra query... (Aeva-Foxy.php)
* Simplified media menu and fixed current area highlighting. (Aeva-Gallery.php)
! Fixed headers in playlist area. (Aeva-Foxy.php)
! Some areas didn't properly rename Aeva-Subs to Subs-Media. (Aeva-Subs-Vital.php, Subs-Media.php, Subs-BBC.php, Subs.php, Who.php)
! Converted the Aeva Media changelog to UTF8, to avoid errors at parse time. This will eventually be used in the Wedge changelog, hopefully. (default/aeva/changelog.txt)
* Minor button strip fixes. Hopefully the new forced overflows won't break anything. (Media.template.php, index.css)
! .title2 link color should be the same as when not linked. (index.css)
9377
Off-topic / Re: Texasmans Programming Blog
« on April 8th, 2011, 08:18 PM »needless to say, im glad it was me in horrible pain than him, but that doesnt heal up my now skinned joints. :D
9378
Off-topic / Re: Texasmans Programming Blog
« on April 8th, 2011, 08:16 PM »What's wrong with a 1985 Honda-made car?
9380
Features / Re: New revs
« on April 8th, 2011, 02:15 PM »
rev 688
(9 files +1, 12kb)
! A couple of areas still had mod_security compatibility issues. One of them was pointed out by myself and [Unknown] in 2009 to the SMF team and never fixed. I only remembered it now. Way to go, SMF. (ManageAttachments.php, Media.template.php)
* Added support for the newest URLs of YouTube. (Subs-Aeva-Sites.php)
+ Might as well put that useless $txt['lang_dictionary'] to good use and use it as a lang parameter in the html tag until we add a proper 2-letter code entry. (index.template.php)
+ Added an index.php protection to the Sources/media folder. Not very useful though.... (media/index.php)
* Renamed action=helpadmin;help=... to action=help;in=... because we no longer use the help action anyway, and it's not only for use in the admin area. Will do the rest in a batch in the next commit. (index.php, Help.php, Load.php, ManageMembergroups.php)
rev 689
(23 files, 16kb)
* Finished renaming helpadmin to help. (All 23 files.)
(9 files +1, 12kb)
! A couple of areas still had mod_security compatibility issues. One of them was pointed out by myself and [Unknown] in 2009 to the SMF team and never fixed. I only remembered it now. Way to go, SMF. (ManageAttachments.php, Media.template.php)
* Added support for the newest URLs of YouTube. (Subs-Aeva-Sites.php)
+ Might as well put that useless $txt['lang_dictionary'] to good use and use it as a lang parameter in the html tag until we add a proper 2-letter code entry. (index.template.php)
+ Added an index.php protection to the Sources/media folder. Not very useful though.... (media/index.php)
* Renamed action=helpadmin;help=... to action=help;in=... because we no longer use the help action anyway, and it's not only for use in the admin area. Will do the rest in a batch in the next commit. (index.php, Help.php, Load.php, ManageMembergroups.php)
Posted: April 8th, 2011, 02:07 PM
rev 689
(23 files, 16kb)
* Finished renaming helpadmin to help. (All 23 files.)
9381
Off-topic / Re: YouTube using short links?
« on April 8th, 2011, 12:29 PM »
Okay, I took a couple of minutes to rewrite the regex... In all logic, this one should work: (Subs-Aeva-Sites.php:145)
Code: [Select]
'pattern' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtu(?:be\.com/[^"#[]*?(?:&|&|/|\?|;|\%3F|\%2F)(?:video_id=|v(?:/|=|\%3D|\%2F))|\.be/)([\w-]{11})',9382
Off-topic / Re: If this is "The Pub"...
« on April 8th, 2011, 12:13 PM »The last time I went into a pub, I mostly drank tea. Incidentally, so did the vicar, though no-one thought to ask him if he wanted, "More tea, vicar?"
(Oh.)
Well, last time I went to a pub was... Err, a couple of years ago, The Saracen's Head in Amersham... (If you ever go on a pilgrimage of the Holy Places Saint Nao visited :niark:)
The owner was a cool French guy. Had a coke[1] and a meat pie. Yummy. Now, everytime I go to the UK, I have to eat my meat pie (more precisely, my steak & kidney pie). I even went to the best UK place for these (in London), very expensive but... OMG it was so good!
...........Okay, now technically that means I went to another pub after the Saracen's Head. But that's the last one I remember the name of. :P
My life is fascinating™.
Mind you, I spent a lot of time eating at the buffet and talking to people I hadn't ever seen before or hadn't seen in over a decade that had all descended and were also partaking of the buffet that I'd helped pay for.
Wakes are such odd things.
| 1. | Seriously, it's lager everywhere? What about wine, eh? |
9383
Off-topic / Re: YouTube using short links?
« on April 8th, 2011, 12:04 PM »
Hmm... Well, I guess I'll have to fix that, then.
Oh, and the embed fixer doesn't deal with the iframe version (default one), or with the confidentiality version. It only does the 'old' version. I'll probably have to deal with that, too.
Oh, and the embed fixer doesn't deal with the iframe version (default one), or with the confidentiality version. It only does the 'old' version. I'll probably have to deal with that, too.
9384
Features / Re: Recycling board by default
« on April 8th, 2011, 11:26 AM »
I see no problem with going through what you described, Pete. You have my vote. I think it's the only way to make everyone happy :)
(I'd implement it with pleasure, and I probably will from the sound of it, but seriously have you seen my to-do-list? :P)
(I'd implement it with pleasure, and I probably will from the sound of it, but seriously have you seen my to-do-list? :P)
9385
Features / Re: Recycling board by default
« on April 8th, 2011, 10:06 AM »
Relative in the script?
Okay, from what I read, the most popular way of doing it would be to delete the recycle bin feature, use an extra flag for deleted posts, hide them from the original topic, and build a short and sweet interface to go through deleted posts, sorted by topic, and allow to delete them permanently. Am I right?
Okay, from what I read, the most popular way of doing it would be to delete the recycle bin feature, use an extra flag for deleted posts, hide them from the original topic, and build a short and sweet interface to go through deleted posts, sorted by topic, and allow to delete them permanently. Am I right?
9386
Features / Re: New revs
« on April 8th, 2011, 01:42 AM »
rev 687
(3 files, 5kb)
! Load Aeva-Gallery2.php properly. Allows viewing the media pages in profile areas. (ManageMedia.php, Profile.php)
! The thing is called Exifixer, not Exifer, even though the original library says Exifer... (exif/exif.php)
(Some last-minute changes before I go to bed.)
(3 files, 5kb)
! Load Aeva-Gallery2.php properly. Allows viewing the media pages in profile areas. (ManageMedia.php, Profile.php)
! The thing is called Exifixer, not Exifer, even though the original library says Exifer... (exif/exif.php)
(Some last-minute changes before I go to bed.)
9387
Off-topic / Re: Texasmans Programming Blog
« on April 8th, 2011, 01:35 AM »You forgot to place a wildcard ($) before logic and is not to be confused with dollar,
9388
Features / Re: New revs
« on April 8th, 2011, 01:33 AM »
rev 686
(3 files, 11kb) (small, but took my evening away... >_<)
! Rewrote the block system (again!) to fix more crashes and allow for better handling of complex nested blocks with or without parameters, and define the default entries in the index template, rather than the Load file. Also documented some of the features. (Load.php, Subs.php, index.template.php)
* Moved sidebar and main content into blocks, and used the block system's browser detection feature to deal with IE6/7. (index.template.php)
NB: Here's what I changed in the block detection code, if you're interested...
[^<] gets a + to save some memory by handling multiple non-< characters at once.
Allow nested blocks within a block search, as long as it doesn't have the same block type. It doesn't work without the \\1. Will need further tests to understand why.
Use the greedy setting to minimize memory consumption on big pages.
Used a similar regex change on the <if> block searches.
Rearranged variable search code in a way that makes more sense (and actually works.)
(3 files, 11kb) (small, but took my evening away... >_<)
! Rewrote the block system (again!) to fix more crashes and allow for better handling of complex nested blocks with or without parameters, and define the default entries in the index template, rather than the Load file. Also documented some of the features. (Load.php, Subs.php, index.template.php)
* Moved sidebar and main content into blocks, and used the block system's browser detection feature to deal with IE6/7. (index.template.php)
NB: Here's what I changed in the block detection code, if you're interested...
[^<] gets a + to save some memory by handling multiple non-< characters at once.
Allow nested blocks within a block search, as long as it doesn't have the same block type. It doesn't work without the \\1. Will need further tests to understand why.
Use the greedy setting to minimize memory consumption on big pages.
Used a similar regex change on the <if> block searches.
Rearranged variable search code in a way that makes more sense (and actually works.)
9389
Features / Re: How about PMs being listed in Core Features?
« on April 7th, 2011, 10:43 PM »I guess we could totally rewrite it ;) But to be honest it isn't something I really miss, and in any case it's mostly a tweak for Aeva now ;)
(Well, it's broken but will get fixed.)
9390
Features / Re: Recycling board by default
« on April 7th, 2011, 10:41 PM »That's exactly what SD does, it injects a fake board (and category if needed) with fake id and links back to the help desk instead of to a "board". No board is consumed, no board=x in the URL.