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.
8416
Features / Re: replace jwplayer with videojs for local videos
« on July 20th, 2011, 12:44 PM »
There's also MediaSomething.js that does the html5/flash fallback thing.
But JWPlayer also does it in its later versions.
Honestly I'd have switched to any of these long ago, if it wasn't for the fact that JWPlayer added a watermark later on, and I don't want it, so I simply used the last version to feature no forced watermark.
As for 'why JWPlayer'? Because it's the only player I know of that's got a plugin system, and the only player plugin system I know of that's got a spectrum analyzer plugin. (For audio files.)
Heck, I don't even think other players, apart from Flow, play audio files as well...
But JWPlayer also does it in its later versions.
Honestly I'd have switched to any of these long ago, if it wasn't for the fact that JWPlayer added a watermark later on, and I don't want it, so I simply used the last version to feature no forced watermark.
As for 'why JWPlayer'? Because it's the only player I know of that's got a plugin system, and the only player plugin system I know of that's got a spectrum analyzer plugin. (For audio files.)
Heck, I don't even think other players, apart from Flow, play audio files as well...
8417
Features / Re: New revs
« on July 20th, 2011, 01:03 AM »
rev 878
(3 files, ??kb)
* Reordered internal array for action menus, added a placeholder for link hover titles, and turned the 'click' member into 'custom', as it could be used for anything really. (Display.php, topic.js)
! mouseleave event didn't work correctly on user menus with the 'right-side' class applied to them. (topic.js)
* Even more hacking to prevent right-aligned user menus from animating the links inside them. Using float:right instead of text-align:right does the trick, although it also forces us to use the overflow:hidden clearfix, as well as some careful reordering. Gotta love CSS in those moments... (sections.css)
@ I still don't know if you guys like this all... I mean do you think it's better with or without the action menu?
(3 files, ??kb)
* Reordered internal array for action menus, added a placeholder for link hover titles, and turned the 'click' member into 'custom', as it could be used for anything really. (Display.php, topic.js)
! mouseleave event didn't work correctly on user menus with the 'right-side' class applied to them. (topic.js)
* Even more hacking to prevent right-aligned user menus from animating the links inside them. Using float:right instead of text-align:right does the trick, although it also forces us to use the overflow:hidden clearfix, as well as some careful reordering. Gotta love CSS in those moments... (sections.css)
@ I still don't know if you guys like this all... I mean do you think it's better with or without the action menu?
8418
Features / Re: New revs
« on July 19th, 2011, 08:19 PM »
rev 877
(7 files, 23kb)
+ Added an 'action menu' that is for individual posts what the user menu is for post authors. Moved 'report to moderator' to that menu. Work in progress (although it works fine as it is.) (Display.php, Display.template.php, index.language.php, topic.js, sections.css)
! Undefined $php_errormsg. (Load.php)
@ Sorry for the slightly hackish solutions in sections.css, Display.php and topic.js... These were the simplest ones I could devise. Also should point out that for design consistency, I reused the quickbuttons styling on the user menu -- i.e. it now uses uppercase Trebuchet MS instead of normal Verdana. Still unhappy with text alignments, but it's hard to do something 'clean' when you have to use background-image to add icons... :-/
(7 files, 23kb)
+ Added an 'action menu' that is for individual posts what the user menu is for post authors. Moved 'report to moderator' to that menu. Work in progress (although it works fine as it is.) (Display.php, Display.template.php, index.language.php, topic.js, sections.css)
! Undefined $php_errormsg. (Load.php)
@ Sorry for the slightly hackish solutions in sections.css, Display.php and topic.js... These were the simplest ones I could devise. Also should point out that for design consistency, I reused the quickbuttons styling on the user menu -- i.e. it now uses uppercase Trebuchet MS instead of normal Verdana. Still unhappy with text alignments, but it's hard to do something 'clean' when you have to use background-image to add icons... :-/
8419
Features: Forward thinking / Re: UTF8 only!
« on July 19th, 2011, 09:47 AM »
I never tried doing that.
Don't believe it's been tackled either way.
Don't believe it's been tackled either way.
8420
Features / Re: New revs
« on July 18th, 2011, 03:54 PM »
rev 876
(12 files, 29kb)
+ Added support for separators in the main menu. (Subs.php, index.template.php)
* Merged the Admin and Moderate menus. Now admins will no longer have to deal with that silly Moderate button, everything is added to the admin menu below a separator. (Subs.php, sprite-menu-32bit.png, sprite.png, index.css)
* Shortened 'Unapproved posts and topics' to just 'Unapproved posts'. Really, it's the same... (index.language.php)
* Made the main menu background a bit more uniform. (index.css)
* Forgot to rename wedge_news in a few places. Also gave the 'we' prefix to admin objects. Also fixed JS errors in the moderation center. (latest-news.php, Admin.php, Admin.template.php, ModerationCenter.template.php, admin.js)
(12 files, 29kb)
+ Added support for separators in the main menu. (Subs.php, index.template.php)
* Merged the Admin and Moderate menus. Now admins will no longer have to deal with that silly Moderate button, everything is added to the admin menu below a separator. (Subs.php, sprite-menu-32bit.png, sprite.png, index.css)
* Shortened 'Unapproved posts and topics' to just 'Unapproved posts'. Really, it's the same... (index.language.php)
* Made the main menu background a bit more uniform. (index.css)
* Forgot to rename wedge_news in a few places. Also gave the 'we' prefix to admin objects. Also fixed JS errors in the moderation center. (latest-news.php, Admin.php, Admin.template.php, ModerationCenter.template.php, admin.js)
8421
The Pub / Re: Jump box and its stupid Go button
« on July 18th, 2011, 10:14 AM »
Rather than leave the button in, you could have told them to use the linktree ;) It's just two lines above said button. If people don't use it, then why bother reproduce the linktree at the bottom :)
Another way in Wedge is, of course, to just click the board list and choose the greened-out (?) board in the list. Only works if you don't have a lot of boards, though... (Otherwise it'll take hours just to find it.)
Actually, I think the quick access (ex-jump to) box will eventually only feature boards by the same creator as the current board. (In a 'normal' forum context, all boards are created by the same person, but in a blog platform context, you could end up with thousands of boards... Might as well reduce that list to current owner + general boards with no owner.)
Another way in Wedge is, of course, to just click the board list and choose the greened-out (?) board in the list. Only works if you don't have a lot of boards, though... (Otherwise it'll take hours just to find it.)
Actually, I think the quick access (ex-jump to) box will eventually only feature boards by the same creator as the current board. (In a 'normal' forum context, all boards are created by the same person, but in a blog platform context, you could end up with thousands of boards... Might as well reduce that list to current owner + general boards with no owner.)
8422
Features / Re: New revs
« on July 17th, 2011, 08:09 PM »
rev 875
(7 files, 12kb)
* Instead of 'My Community', Wedge will now set a default non-generic name for your board at install time, based on the URL. For instance, installing it "http://wedge.org/forum/" will automatically name it "Wedge Forum". (install.php, Install.language.php)
! e.keyCode is not standard. jQuery has e.which. (MessageIndex.template.php)
! Found a more 'semantic' workaround for the reqWin event fixer. I still don't want to force recording the current event in delayed events. (script.js)
! Wrong variable name (event should be e). (topic.js)
* Changed menu background again to add the gradient effect back into it. This is now officially the most crowded design I've ever seen for a menu. I'll be right back after my seppuku. (index.css)
(7 files, 12kb)
* Instead of 'My Community', Wedge will now set a default non-generic name for your board at install time, based on the URL. For instance, installing it "http://wedge.org/forum/" will automatically name it "Wedge Forum". (install.php, Install.language.php)
! e.keyCode is not standard. jQuery has e.which. (MessageIndex.template.php)
! Found a more 'semantic' workaround for the reqWin event fixer. I still don't want to force recording the current event in delayed events. (script.js)
! Wrong variable name (event should be e). (topic.js)
* Changed menu background again to add the gradient effect back into it. This is now officially the most crowded design I've ever seen for a menu. I'll be right back after my seppuku. (index.css)
8423
The Pub / Re: Jump box and its stupid Go button
« on July 16th, 2011, 11:34 PM »
My imagination I'm afraid!
Must be crazy, having spent a work sabotaging my personal health on a project I've always known will bring me only problems..... :^^;:
Must be crazy, having spent a work sabotaging my personal health on a project I've always known will bring me only problems..... :^^;:
8424
Development blog / Re: Now with 97% more visuals!
« on July 16th, 2011, 11:00 PM »Looking good now, more polished. I am not quite so sure about the color choices - I fear it will too washed out to be really stand out, but thats just my opinion.
Default themes have always been met with "default theme is awful" but in the end, that is what makes them stand out, that "everyone" use it and hate/love it. It becomes a trademark.
I certainly am fascinated by that direction.
8425
Development blog / Re: Now with 97% more visuals!
« on July 16th, 2011, 10:58 PM »8426
Features / Re: New revs
« on July 16th, 2011, 10:46 PM »
rev 874
(31 files, 37kb)
* Renamed smf_prepareScriptUrl to we_prepareScriptUrl, and removed the parameter. It was systematically we_script anyway... BTW, I think I spotted a SMF bug in the multilingual readme selector for packages. (index.template.php, Packages.template.php, Post.template.php, SplitTopics.template.php, Themes.template.php, editor.js, mediadmin.js, register.js, script.js, stats.js, suggest.js, topic.js, up.js)
* Rewrote Jump To box to use pretty URLs when they're enabled. (Ajax.php, Xml.template.php, script.js)
- Simplified Jump To parameters and removed lots of static vars. (Display.php, MessageIndex.php, Display.template.php, MessageIndex.template.php, script.js)
- Removed Jump To from the Search area. Did anyone actually notice there was one in there...? Yup, just what I thought. (Search2.php, Search.template.php)
* Renamed Jump To to Quick Access. UI stuff, you know. I'm not paid a million bucks a month for nothing. BTW, I'm still waiting for my first check. (index.english.php, index.french.php)
* Rewrote Jump To/Quick Access (okay, it's the last time I'm talking about this) to get rid of the "Go" button. To ensure one can still access the current board (which can be done through the linktree next to it anyway), Wedge no longer fills in the current board name separately. Instead, it emphasizes it with a different background color. The rewrite also allowed me to save nearly 300 bytes off the gzipped size of the script file. Yay for me. And I removed the IE hack because, well, it didn't work. Who cares about IE glitches. (script.js)
* Moved Legend icons to the sidebar in Unread Replies and Unread Topics. (Unread.php, Unreadreplies.php, Recent.template.php)
- Class quickbuttons already implied reset and smalltext. (PersonalMessage.template.php, Post.template.php, Profile.template.php, Recent.template.php, Search.template.php)
! Class quickbuttons (again) should only be a table cell in topic view, otherwise it doesn't render well in Recent Posts. (sections.css)
* Slightly modified design for the post title and jump to boxes in topic view. (sections.css)
! In the search box's ignored board list, if you didn't have many boards the layout was odd. (Search.template.php)
- Removed #topic_icons definitions, no longer used. (index.ie6.css, index.ie7.css, sections.css)
(31 files, 37kb)
* Renamed smf_prepareScriptUrl to we_prepareScriptUrl, and removed the parameter. It was systematically we_script anyway... BTW, I think I spotted a SMF bug in the multilingual readme selector for packages. (index.template.php, Packages.template.php, Post.template.php, SplitTopics.template.php, Themes.template.php, editor.js, mediadmin.js, register.js, script.js, stats.js, suggest.js, topic.js, up.js)
* Rewrote Jump To box to use pretty URLs when they're enabled. (Ajax.php, Xml.template.php, script.js)
- Simplified Jump To parameters and removed lots of static vars. (Display.php, MessageIndex.php, Display.template.php, MessageIndex.template.php, script.js)
- Removed Jump To from the Search area. Did anyone actually notice there was one in there...? Yup, just what I thought. (Search2.php, Search.template.php)
* Renamed Jump To to Quick Access. UI stuff, you know. I'm not paid a million bucks a month for nothing. BTW, I'm still waiting for my first check. (index.english.php, index.french.php)
* Rewrote Jump To/Quick Access (okay, it's the last time I'm talking about this) to get rid of the "Go" button. To ensure one can still access the current board (which can be done through the linktree next to it anyway), Wedge no longer fills in the current board name separately. Instead, it emphasizes it with a different background color. The rewrite also allowed me to save nearly 300 bytes off the gzipped size of the script file. Yay for me. And I removed the IE hack because, well, it didn't work. Who cares about IE glitches. (script.js)
* Moved Legend icons to the sidebar in Unread Replies and Unread Topics. (Unread.php, Unreadreplies.php, Recent.template.php)
- Class quickbuttons already implied reset and smalltext. (PersonalMessage.template.php, Post.template.php, Profile.template.php, Recent.template.php, Search.template.php)
! Class quickbuttons (again) should only be a table cell in topic view, otherwise it doesn't render well in Recent Posts. (sections.css)
* Slightly modified design for the post title and jump to boxes in topic view. (sections.css)
! In the search box's ignored board list, if you didn't have many boards the layout was odd. (Search.template.php)
- Removed #topic_icons definitions, no longer used. (index.ie6.css, index.ie7.css, sections.css)
8427
The Pub / Re: Jump box and its stupid Go button
« on July 16th, 2011, 10:06 PM »
BTW-- didn't remove the frame around the jump box in the end (display template). This is because I'm doing my tests on a relatively new local install, have only one topic, and as such don't get the prev/next links... Which is the 'only' point of said box.
Until I find a better design for this...
Until I find a better design for this...
8428
The Pub / Re: Jump box and its stupid Go button
« on July 16th, 2011, 09:17 PM »Yeah, please do remove it. It's ugly at the best of times.Quote Yep... It's just an empty strip. (And yes, I'm considering removing the strip altogether. It works just as well as a small right-aligned text...)
Out of interest, the core function that generates the board list (in Subs-Editor.php, IIRC), is that ever used anywhere else?
Nearly finished with my rewrite...
As of now, I managed to save nearly 300 bytes off the *gzipped* version. Even more in the non-gzipped. Reminds me of my fun days when converting everything to jQuery... :) (Well, I'm using jQuery here as well, but .html() could just as well be replaced with innerHTML...)
8429
The Pub / Re: Jump box and its stupid Go button
« on July 16th, 2011, 08:59 PM »
Yep... It's just an empty strip. (And yes, I'm considering removing the strip altogether. It works just as well as a small right-aligned text...)
You wouldn't believe the amount of crap this function has. I don't know who made it, but they were very, very careful in making it very customizable, with the ability to change indentation prefixes, etc... Eh? Who cares about that anyway? You would have to edit the template to change these... Might as well edit script.js and just change it there!
They also implemented the stuff in the search template, at the end of a search page. I never even noticed that...! Since it's utterly useless at that point, I just removed it from there. It's only in topic and board pages now.
You wouldn't believe the amount of crap this function has. I don't know who made it, but they were very, very careful in making it very customizable, with the ability to change indentation prefixes, etc... Eh? Who cares about that anyway? You would have to edit the template to change these... Might as well edit script.js and just change it there!
They also implemented the stuff in the search template, at the end of a search page. I never even noticed that...! Since it's utterly useless at that point, I just removed it from there. It's only in topic and board pages now.
8430
The Pub / Re: Jump box and its stupid Go button
« on July 16th, 2011, 08:15 PM »
Smf's jump box never worked without js to begin with. ;)