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 - Nao
9841
Features / Re: New revs
« on January 6th, 2011, 11:48 AM »
rev 446

! A new file was in CRLF format. Bugger. (post.js)
* CAPTCHA translation. (ManageSettings.french.php)
! Fixed message margins in topic splitter, and converted code to jQuery. (SplitTopics.template.php)
9842
Features / Re: New revs
« on January 5th, 2011, 10:12 AM »
rev 443

+ Implemented basic overrides for <we:> blocks through stylings. Use this format: <block name="title"><start>|<end></block> (Load.php, QueryString.php, Subs.php)

Note: this isn't to piss anyone off, all right? :P It's all a proof of concept. Can be reverted after all. Now the idea is that if someone wants to re-implement Curve without using JavaScript to inject custom tags (i.e. small delay before curves show up on first load), they can do it through this. While this MAY go in the future, I don't think there's any reason NOT to use this as of now, regardless of what happens in future versions. The things with </we:title> is that it can be automatically replaced to a </div> with a single multi-file search & replace (while the other way around isn't possible :P)
9843
Features / Re: New revs
« on January 4th, 2011, 11:14 PM »
rev 442

- Removed unused headerpadding class, and board_permissions id. (Display.template.php, ManagePermissions.template.php)
! Fixed floatright in moderation reports. (ModerationCenter.template.php)
* Turned all <div class="title_bar"> blocks into <we:title> tags that are transformed back to title_bar at runtime. (ManagePaid.php, QueryString.php, admin.css, and all 24 templates in the list)
9844
Features / Re: New revs
« on January 4th, 2011, 12:53 PM »
rev 441

- Main theme link in admin menu didn't require a custom URL. (Admin.php)
+ Added a hook for admin settings search. (Admin.php)
! Moved some jQuery code to the footer. (Themes.template.php)

(Giving up on moving Logs to their own menu for now... It worked, but it required rewriting many templates and I got bored after a while and cancelled all of my changes.)
9845
Features / Re: New revs
« on January 4th, 2011, 12:49 AM »
rev 440

+ Since stylings are powerful theme variations, they should be allowed to call custom CSS and JS. Moved main styling (Pastel)'s CSS and JS to settings.xml and added support for such customizations. Also added {root} variable to point to the current page's root folder, regardless of the subdomain. Useful for behavior and JavaScript URLs. (index.template.php, Subs.php, css/settings.xml)
* Spacinazi & to-do list. (ManageBoards.php, ManageSettings.php, QueryString.php)
* Pixelnazi. (index.css)
* Minor code cleanup. (PrettyUrls-Filters.php, QueryString.php, Subs-PrettyUrls.php)
- For optimization purposes, two globals were unset... Twice. Kudos, SMF. (QueryString.php)
9846
Features / Re: New revs
« on January 3rd, 2011, 06:14 PM »
rev 439

* Turned e-mail verification regular expressions into a proper function and simplified those that can't access it. (install.php, smf_api.php, Activate.php, Post.php, Post2.php, Profile-Modify.php, Register.php, SendTopic.php, Subs-Members.php, Subs.php)
* Split editor.js into two files: editor.js has the Wysiwyg editor, and post.js has all of the helper functions and objects that are also used outside of Wysiwyg mode. (Class-Editor.php, editor.js, post.js)
* Spacinazi. (ManageBans.php)
! E-mails can't have surrounding whitespace. They're trimmed as a test, they should be trimmed for the real deal too. (Profile-Modify.php)
* Changed menu separator to use the proper hr tag, and added basic support for IE6 and IE7. (ie6.css, ie7.css, index.css, GenericMenu.template.php)
* Slightly improved link colors as well as IE7/8's menu hover colors. (ie6.css, ie7.css, index.css)
9847
Features / Re: New revs
« on January 3rd, 2011, 12:55 PM »
rev 438

- [SMF bug] Removed toggleBBCDisabled() function, as it's a SMF1 leftover. (Admin.template.php)
! Fixed year variable not getting set. (Calendar.template.php)
! A few functions were added through add_js_inline() when they were better off in add_js(). (TEMPLATES: Admin, Calendar, ManageCalendar, ManageMaintenance, ManagePaid, Packages, Post)

(I tried figuring out what that function did, to no avail. Signature settings/BBC settings are separated and their disabled BBC tags are as well, and it doesn't break anything, so I don't see the point.)
9848
Off-topic / Re: Happy 2011
« on January 1st, 2011, 05:14 PM »
Happy new Wedge everyone!
9849
Features / Re: New revs
« on January 1st, 2011, 03:06 PM »
rev 437

* Rewrote menu separator system to be slightly more semantic and still save a couple of bytes, taking advantage of the fact that anchor tags now accept children divs. (GenericMenu.template.php, index.css)
! Fixed links not being transformed in the support area, because getServerVersions() overwrites the corresponding $txt entry. (Admin.php)
* Minor changes. (ie7.css, editor.js, Help.french.php)

Note: the menu separator will now use only one <li>, but extra <a> and <div>'s are used. All in all the final code is shorter though, and a bit more semantic. Also, the separator lines no longer extend to the full width of the menus. Which is more stylish, I think. (Can be overridden.)
9850
Off-topic / Re: Do animations help?
« on December 31st, 2010, 06:38 PM »
@Pete> fader.js (SMF SVN), line 194:

Code: [Select]
this.oFaderHandle.filters.alpha.opacity = Math.round(tempPercent * 100);
("filters", not "filter"? Ooh, headache...)

Re: XF, I'd just like to know if they've added any features that are fresh ;)

@Dragooon> The removeAttribute() line can be done faster (with no jQuery interaction): this.style.filter = ''; (Also, avoid using get(0) and use [0] instead, it's a bit faster... And shorter!) You don't even need to test for IE because other browsers will simply ignore the line.
9851
Off-topic / Re: Steams holiday sales has begun!
« on December 31st, 2010, 06:16 PM »
Lol, I played BTTF ep 1 the other day, and I was all "meh" at the end! :^^;: Definitely not excited to play the rest. I'll probably skip it altogether.
9852
Features / Re: New revs
« on December 31st, 2010, 05:27 PM »
rev 436

* Regex simplification. (Profile-Modify.php)
* strpos() is supposedly 20% faster than the equivalent substr() test... Whatever. (Subs.php)
* French translation. (LANGUAGES: Admin, Help, Profile)
* Spacinazi. (Profile.template.php)
9853
Features / Re: New revs
« on December 31st, 2010, 01:07 PM »
rev 435

+ Added some padding around menu separators through a minor hack. Way more usable now. (index.css, GenericMenu.template.php)
9854
Off-topic / Re: Lightbox
« on December 31st, 2010, 12:17 PM »
ColorBox uses images, really? Hmm... I guess I'm not fond of that, either. I thought it'd rely only on CSS3.
Will still look into all of this when time comes.
9855
Off-topic / Re: Lightbox
« on December 31st, 2010, 11:42 AM »
Not a big fan of that one... Why not Colorbox, then?