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
6541
Features / Re: New revs
« on February 3rd, 2012, 03:12 PM »
rev 1289
(7 files, 3kb)

+ Added align parameter to the img bbcode. Pete, please implement the UI for changing bbcodes, because it's a nightmare to do manually :P (install.sql, index.css)

! The sendpm() function was using $context['forum_name'] at one point, without globaling it. (Subs-Post.php)

* Renamed noi_resize() to weres(), and now using it to test whether the page is loaded, instead of window.eves which isn't available if the HTML code holds no inline events. (index.template.php, sbox.js)

- Why should we need to keep these weToggle objects into global variables, when they won't be used at all...? (Boards.template.php, index.template.php)

* Inline JS simplification. (Post.template.php)
6542
Off-topic / Re: PHP 5.3.10
« on February 3rd, 2012, 12:06 PM »
It's all part of the cycle innit..? Newcomers, new ideas, etc will naturally come to replace ageing concepts and popularity-induced cold feet.
Just like SMF. Wedge is the next part of the cycle. Something else will be the next part, etc.
jQuery is also looking like it's going into this cycle. Maybe NOT for bad reasons, though! To me, jQuery is just what JS should have been from the start, it should be integrated into the language and maybe not any features in the future, that's what 'plugins' are for...

WordPress doesn't look like it's been in that cycle, though. Sure I missed the 1.x/2.x development but it's always ma.tt overseeing the project, so I guess he handled it beautifully, whatever one may want to say about WP...
6543
Other pursuits of life? There's no such thing for me... :whistle:

Note: Wedge doesn't support threading out of the box. What it does, though, is recording the internal parent/child relationships between posts, so that if someone (me?) develops a threaded mode plugin (or simply adds it to Wedge in a future version), all of your old posts will become threaded immediately.

Hmm, we need to make another blog post...!
6544
Features / Re: New revs
« on February 2nd, 2012, 07:12 PM »
rev 1288
(8 files, 8kb -- 88, like the rev number? Another boring coincidence.)

! Fixed weToggle object to actually remember the latest choice. It was broken in both cookie and database modes. (script.js)

* Simplified weToggle object. oCookieOptions only had one option (whether to use cookies or not), so it's now directly indicating the cookie name if it has to be used. The oThemeOptions object was simplified similarly. Removed sThemeId because it's only used in one place, and can be added to sAdditionalVars. Which I renamed to sExtra because, eh, it's shorter. And finally, only print a variable if it's to be set to true. (Boards.template.php, index.template.php, Post.template.php, script.js)

* Replaced many of the key/val placeholders in $.each with the this keyword. Did it everywhere it helped save more gzipped space. That's everywhere but two places. (script.js)

* Replaced the weCookie object with a cookie getter (still called weCookie, though), because the setter didn't make use of the object itself and the getter didn't get the updated cookie so I'd rather do the cookie parsing every time a cookie is requested. Plus, it saves space. For the record -- over 100 gzipped bytes in this commit alone. (script.js)

* sha1.js is always loaded alongside script.js, so don't bother printing the extra copyright info at compilation time. (sha1.js)

* Updated the New icon in both English (better looking W) and French (shortened 'Nouveau' to 'Nouv', because it's perfectly understandable, and takes less space.) (images/language/new.gif)
6545
Yes, no need to report bugs that only show up on Wedge.org and not on the Wedge demo site, because obviously Wedge.org will soon be running Wedge itself... (As you can see from the new demo site I posted on the Friends board.)
6546
What?

(And if you're talking about a demo site -- please no links here :P)
6547
I doubt they'd complain about the license if we included them, but if they didn't in the first place, it's probably because they don't work...
6548
I don't see myself implementing other payment platforms... And really, what I meant was, we're cutting ourselves from underage users and people from countries where PayPal and other systems are a problem, like Russia from what I've heard.
6549
Features / Re: New revs
« on February 1st, 2012, 02:50 PM »
rev 1287
(14 files, 3kb)

* Renamed main_content div to just 'main'. I've double-checked, no single element in Wedge uses 'main' as its id, so why waste good bytes on a long name for this one...? (other/install.php and 6 other files, index.template.php, index.css, index.iphone.css, skin.xml, Warm/index.css, Wuthering/index.css, Wuthering/skin.xml)
6550
Features / Re: New revs
« on January 31st, 2012, 10:44 PM »
rev 1286
(3 files, 2kb)

+ Wedge will now specify as the body id whether the current page is an action, board or topic. Might be very helpful for skinners and modders. (index.template.php)

! Don't select items in open select boxes if clicking them with the middle or right mouse button. (sbox.js)

! Chrome (and maybe others) wouldn't register function keys and other various keys when a select box was open. (sbox.js)

* Var-nazi. (topic.js)
6551
@Pete> How so..?

@Spr1te> Well, I was *hoping* to get the demo ready for late January, but it appears I only have two hours left to make it in time, so it's another milestone I'm going to silently skip... :P
Anyway, I'm getting closer to being ready for a release on Wedge.org. Not the source code, but at least the site itself. The fact that I'm working on a new skin is proof enough that I'm seriously planning to go online with it.
6552
Features / Re: New revs
« on January 31st, 2012, 10:05 PM »
rev 1285
(60 -7 files, 30kb)

* Renamed the 'sticky topic' feature to 'pin/unpin'. It makes more sense, and semantically it's better to clearly differentiate between doing and undoing an action. The 'make_sticky' permission is renamed to 'pin_topic'. Plus, SMF is 'stuck' with 'stickied'. Meh! (index.php, install.sql and 5 other/* files, Display.php, JSModify.php, ManageAttachments/Permissions/Search/Settings.php, MessageIndex.php, Pin.php, Post.php, Post2.php, QuickMod.php, RemoveTopic.php, ScheduledTasks.php, Search2.php, Security.php, SplitTopics.php, Subs-Post.php, Unread.php, UnreadReplies.php, images/icons/quick_*.gif/small_pin.gif, LANGUAGES: EmailTemplates, Errors, Help, index, ManageMaintenance, ManagePermissions, Modlog, Post, Reports, Search, Who, Wireless, TEMPLATES: ManageMaintenance, ManageSearch, MessageIndex, Post, Recent, Search, Who, Wireless, SKINS: index.css, index.member.css, index.rtl.css, sections.css)

* I believe unpinning a topic should generate a notification just the same way pinning it would. (Pin.php)

- SMF bug: testing for a $sticky variable that is never set. (Display.php)

- SMF bug: show_sticky.gif is a leftover from the Core theme... (show_sticky.php)

- SMF bug: lockicon and stickyicon IDs are never defined. (MessageIndex.template.php)

! Translation error. (Help.french.php)
6553
Anyone without a PayPal account, to begin with... For better or for worse, I don't know.

The $5 I mentioned was for Aeva Media, not Wedge...
6554
Features / Re: New revs
« on January 31st, 2012, 06:01 PM »
rev 1284 -- Gosh, I don't want to touch the select box code ever again!
(3 files, 2kb)

+ Added ability to hide a select box option by specifying 'data-hide' to its original option tag. This is effectively helpful for placeholder "defaults" like in the Quick Access box. Internally, it will behave as a hidden 'disabled' item, so that keyboard events don't reach it. (sbox.js)

! Setting a select box size to fixed will later set its width to zero if all its items are disabled or hidden. (sbox.js)

* Started adding a few data-hide properties here and there. (PersonalMessage.template.php, script.js)
6555
The Pub / Re: Logo Madness
« on January 31st, 2012, 06:00 PM »
@billy2> Only on this site...? Well, I don't know about that... Our Facebook page, things like that... And anyone wanting to promote us... And whatever marketing material we could come up with.

As for the rest, hmm... Well, yeah, skin first.