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.
6527
Plugins / Re: Plugin copyrights in the footer
« on February 8th, 2012, 06:35 PM »
Wouldn't this slow down the credits page noticeably...? (Well, for the server at least.)
6528
Features / Re: New revs
« on February 8th, 2012, 06:23 PM »
rev 1301
(7 files, 3kb)
- While I was at it, I started removing unused globals ($settings, $options, $modSettings etc) from files, until I realized it required too much attention and was prone to errors, so I'm just going to leave it at that and commit whatever I've done... (ManageSettings.php, Subs.php, Display.template.php, ManageNews.template.php, ModerationCenter.template.php, Settings.template.php)
(7 files, 3kb)
- While I was at it, I started removing unused globals ($settings, $options, $modSettings etc) from files, until I realized it required too much attention and was prone to errors, so I'm just going to leave it at that and commit whatever I've done... (ManageSettings.php, Subs.php, Display.template.php, ManageNews.template.php, ModerationCenter.template.php, Settings.template.php)
6529
Features / Re: New revs
« on February 8th, 2012, 05:59 PM »
Yay, Pete is back... ;)
rev 1299
(16 files, forgot to watch the patch size, not much though.)
- Removed unused sSelf declarations and global JS variables. (Admin.php, Class-Editor.php, ManageMedia2.php, ManageBans/Boards/Maintenance/Membergroups/News/Paid.template.php, ModerationCenter.template.php, Profile.template.php)
* Replaced forum_index language string with board_index, and moved the forum name outside of it -- mostly so that one could use these strings without having to fill in the forum name. (Boards.php, index.language.php)
* Minor Worg tweaks. (Worg/index.css, Worg/sections.css)
rev 1299
(16 files, forgot to watch the patch size, not much though.)
- Removed unused sSelf declarations and global JS variables. (Admin.php, Class-Editor.php, ManageMedia2.php, ManageBans/Boards/Maintenance/Membergroups/News/Paid.template.php, ModerationCenter.template.php, Profile.template.php)
* Replaced forum_index language string with board_index, and moved the forum name outside of it -- mostly so that one could use these strings without having to fill in the forum name. (Boards.php, index.language.php)
* Minor Worg tweaks. (Worg/index.css, Worg/sections.css)
6530
The Pub / Re: Table/iFrame with image as border
« on February 8th, 2012, 07:38 AM »
Really, :after and :before are best. I'm on my PC now so I can post the link:
http://nicolasgallagher.com/css-background-image-hacks/
http://nicolasgallagher.com/css-background-image-hacks/
6531
The Pub / Re: Table/iFrame with image as border
« on February 7th, 2012, 09:10 PM »
Best use pseudo selectors like :before and :after for that. Only ie6 doesn't support them. :)
6532
Features / Re: New revs
« on February 7th, 2012, 05:12 PM »
rev 1295
(3 files +11, 98kb)
+ As annoying as it is, I'm committing the skin for Wedge.org, because I'd really like to benefit from SVN features you know... The skin has no name for now, so it'll go by the codename 'Worg'. Also, it's a work in progress, so it's full of commented out code and things like that... Obviously it'll be reworked later. (skins/Worg/*)
! Fixed crash on WAP2 pages, due to template_page_index not being available. (Wireless.template.php)
* Commenazi. (Search.php)
(3 files +11, 98kb)
+ As annoying as it is, I'm committing the skin for Wedge.org, because I'd really like to benefit from SVN features you know... The skin has no name for now, so it'll go by the codename 'Worg'. Also, it's a work in progress, so it's full of commented out code and things like that... Obviously it'll be reworked later. (skins/Worg/*)
! Fixed crash on WAP2 pages, due to template_page_index not being available. (Wireless.template.php)
* Commenazi. (Search.php)
6533
Features / Re: New revs
« on February 7th, 2012, 05:07 PM »
rev 1294 -- ARGHHHhhh
(24 files, 15kb)
* Simplified JumpTo object -- a lot. Removed over 100 bytes of unneeded code. Basically, JumpTo accounts for multiple JumpTo boxes. Not only is this not the case right now -- only the sidebar has one -- but even if I added one to quick mod, it would still be unlikely that one would want to click one of the boxes, then cancel it, then click the other. (index.template.php, script.js)
* Simplified news fader object. Everything is now in a closure, saves about 60 bytes in the final gzipped file (which was short to begin with anyway). The calling code is also shorter, and there's no need for an Optimize section anymore. (Boards.template.php, fader.js)
* Search page will now offer two radio buttons (all boards/specific boards) instead of a single toggler with that confusing 'Check all' checkbox... The rest should behave exactly the same, it's just a UI thing. (Search.template.php, Search.languages.php)
* Per-page action ID is now moved to the html tag, rather than the body tag. (index.template.php)
* Removed global IDs from several files. They're now included directly in the html tag, so apart from a few renames, conversion is straightforward. (MoveTopic.template.php, PersonalMessage.template.php, Profile.template.php, SendTopic.template.php, Who.template.php, index.ie6.css, index.member.css, index.rtl.css, sections.css)
* Renamed quick_login_dec language entry to quick_login_desc. I suppose that's what was meant in the first place, right...? (index.template.php, index.language.php)
* Moved all delayed inline event handling code to script.js, because it didn't really make sense not to cache it... (index.template.php, script.js)
* Rewrote weres() function to remove the need for a global variable, and make it more logical to style responsive layouts. So, instead of the 'edge' div switching between 'edge' and 'edgehide' IDs, Wedge will now simply add a 'responsive' ID to the body tag. Plus, it's MUCH shorter. Starting from this revision, I think all pages are now about 200 bytes shorter. (index.template.php, index.css, index.gecko.css, index.iphone.css, Warm/index.css)
! Turns out that iOS still needs to bypass the weres() function in the original skins. Right now I have no plans to rewrite these skins' sidebar code to match the new skin's, so it'll have to stay this way. (index.template.php)
! Columns width were glitchy in IE6/7. (Who.template.php, index.css, index.ie6.css, index.ie7.css)
! The W3C HTML5 validator no longer validates HTML5+microdata pages, so I'm switching the validator link to validator.nu instead. Additionally, this new solution will validate pages for you even if you have an antivirus enabled. (index.template.php)
* Anything to save a couple of bytes in the gzipped JS files... (sbox.js, script.js)
* Indenazi. (index.template.php)
(24 files, 15kb)
* Simplified JumpTo object -- a lot. Removed over 100 bytes of unneeded code. Basically, JumpTo accounts for multiple JumpTo boxes. Not only is this not the case right now -- only the sidebar has one -- but even if I added one to quick mod, it would still be unlikely that one would want to click one of the boxes, then cancel it, then click the other. (index.template.php, script.js)
* Simplified news fader object. Everything is now in a closure, saves about 60 bytes in the final gzipped file (which was short to begin with anyway). The calling code is also shorter, and there's no need for an Optimize section anymore. (Boards.template.php, fader.js)
* Search page will now offer two radio buttons (all boards/specific boards) instead of a single toggler with that confusing 'Check all' checkbox... The rest should behave exactly the same, it's just a UI thing. (Search.template.php, Search.languages.php)
* Per-page action ID is now moved to the html tag, rather than the body tag. (index.template.php)
* Removed global IDs from several files. They're now included directly in the html tag, so apart from a few renames, conversion is straightforward. (MoveTopic.template.php, PersonalMessage.template.php, Profile.template.php, SendTopic.template.php, Who.template.php, index.ie6.css, index.member.css, index.rtl.css, sections.css)
* Renamed quick_login_dec language entry to quick_login_desc. I suppose that's what was meant in the first place, right...? (index.template.php, index.language.php)
* Moved all delayed inline event handling code to script.js, because it didn't really make sense not to cache it... (index.template.php, script.js)
* Rewrote weres() function to remove the need for a global variable, and make it more logical to style responsive layouts. So, instead of the 'edge' div switching between 'edge' and 'edgehide' IDs, Wedge will now simply add a 'responsive' ID to the body tag. Plus, it's MUCH shorter. Starting from this revision, I think all pages are now about 200 bytes shorter. (index.template.php, index.css, index.gecko.css, index.iphone.css, Warm/index.css)
! Turns out that iOS still needs to bypass the weres() function in the original skins. Right now I have no plans to rewrite these skins' sidebar code to match the new skin's, so it'll have to stay this way. (index.template.php)
! Columns width were glitchy in IE6/7. (Who.template.php, index.css, index.ie6.css, index.ie7.css)
! The W3C HTML5 validator no longer validates HTML5+microdata pages, so I'm switching the validator link to validator.nu instead. Additionally, this new solution will validate pages for you even if you have an antivirus enabled. (index.template.php)
* Anything to save a couple of bytes in the gzipped JS files... (sbox.js, script.js)
* Indenazi. (index.template.php)
6534
Features / Re: New revs
« on February 7th, 2012, 11:16 AM »
rev 1293
(4 files, 2kb)
! Fixed Quick Reply box showing two editor areas instead of just the one. (editor.js)
* The wireless template really needed some extra padding... I don't care about how phones deal with it. I have the say in how they should render it really. (wireless.css)
* More Image() optimizations. (Load.php)
* Language file typo. (Themes.french.php)
@ I have tons more things to commit... Gonna be a long day.
(4 files, 2kb)
! Fixed Quick Reply box showing two editor areas instead of just the one. (editor.js)
* The wireless template really needed some extra padding... I don't care about how phones deal with it. I have the say in how they should render it really. (wireless.css)
* More Image() optimizations. (Load.php)
* Language file typo. (Themes.french.php)
@ I have tons more things to commit... Gonna be a long day.
6535
Features / Re: New revs
« on February 5th, 2012, 11:29 PM »
rev 1292
(4 files, 3kb)
! Undefined index in WAP mode, due to a typo in the pin_topic permission. (Display.php)
! Undefined index in getXmlProfile... You know, the one I just said wasn't being used. (Feed.php)
! Verification question template's input boxes were too wide, breaking the layout. (Admin.template.php)
! Menu tabs weren't correctly generated if the menu itself was shown in the sidebar, and the sidebar was shown on the right (i.e. after the default layout). Had to move the tab list generation to the generic_tabs() function itself. Also, testing the area ID with a simple == could result in errors, had to go for a strict check. (GenericMenu.template.php)
(4 files, 3kb)
! Undefined index in WAP mode, due to a typo in the pin_topic permission. (Display.php)
! Undefined index in getXmlProfile... You know, the one I just said wasn't being used. (Feed.php)
! Verification question template's input boxes were too wide, breaking the layout. (Admin.template.php)
! Menu tabs weren't correctly generated if the menu itself was shown in the sidebar, and the sidebar was shown on the right (i.e. after the default layout). Had to move the tab list generation to the generic_tabs() function itself. Also, testing the area ID with a simple == could result in errors, had to go for a strict check. (GenericMenu.template.php)
6536
Features / Re: New revs
« on February 5th, 2012, 10:29 PM »
rev 1291
(3 files, 3kb)
! Made sure that our Atom feeds would pass the W3 Unicorn validator. This was done by setting a global id tag (I'm afraid this also means an extra entry in the settings table...), and being stricter about whether we should use CDATA. Also removed the icon tags because they're supported on the feed level, not on the entry level. And added a few todo comments about the unused getXmlProfile function. (Feed.php)
+ Added a link to the Atom feed for latest members in the Member List page. Can't believe it was never done... (Memberlist.template.php)
* Tweaked the HTML indentation level in non-main menus, so that it's similar to the main menu's. (GenericMenu.template.php)
(3 files, 3kb)
! Made sure that our Atom feeds would pass the W3 Unicorn validator. This was done by setting a global id tag (I'm afraid this also means an extra entry in the settings table...), and being stricter about whether we should use CDATA. Also removed the icon tags because they're supported on the feed level, not on the entry level. And added a few todo comments about the unused getXmlProfile function. (Feed.php)
+ Added a link to the Atom feed for latest members in the Member List page. Can't believe it was never done... (Memberlist.template.php)
* Tweaked the HTML indentation level in non-main menus, so that it's similar to the main menu's. (GenericMenu.template.php)
6537
Off-topic / Re: Doctor Who
« on February 5th, 2012, 06:08 PM »
So. Apart from the obvious pseudo deaths, he's saying that River is The Woman and Moriarty is The Master?
6538
Features / Re: New revs
« on February 3rd, 2012, 07:13 PM »
rev 1290
(15 files, 5kb)
* Moved both Quick Access select boxes to the sidebar, where it'll sit forever and ever. At least until I add an option to turn it off... (index.php, Display.php, Display.template.php, index.template.php, MessageIndex.template.php, index.french.php, index.ie6.css, index.ie7.css, sections.css, Warm/index.css)
* Moved JumpTo array generation to script.js, even if currently we really only have one JumpTo -- the sidebar one -- but eventually we may start using JumpTo for quick mod as well, so I won't be removing the code. For now. (script.js)
- More weToggle variables removed, whenever they weren't used. (Admin.template.php, Display.template.php, ManagePermissions.template.php, Packages.template.php -- I know, we'll remove that file eventually, Post.template.php)
(15 files, 5kb)
* Moved both Quick Access select boxes to the sidebar, where it'll sit forever and ever. At least until I add an option to turn it off... (index.php, Display.php, Display.template.php, index.template.php, MessageIndex.template.php, index.french.php, index.ie6.css, index.ie7.css, sections.css, Warm/index.css)
* Moved JumpTo array generation to script.js, even if currently we really only have one JumpTo -- the sidebar one -- but eventually we may start using JumpTo for quick mod as well, so I won't be removing the code. For now. (script.js)
- More weToggle variables removed, whenever they weren't used. (Admin.template.php, Display.template.php, ManagePermissions.template.php, Packages.template.php -- I know, we'll remove that file eventually, Post.template.php)
6539
Development blog / Re: This. Is. Crazy.
« on February 3rd, 2012, 06:31 PM »
It'll only be awesome when it's used on thousands of websites... Until then, it's just a 'proof of concept' ;)
6540
Development blog / This. Is. Crazy.
« on February 3rd, 2012, 04:20 PM »
One year and a half... In a couple of weeks, it will be one year and a half since Pete and I decided to work on our own SMF fork. Talk about commitment!
About a year later, thanks to the SMF license change, over half a dozen new forks went into production. Somehow, I felt a bit relieved that we weren't going to be 'the new SMF' and that maybe we could simply focus on being the smarter one, instead of the one everyone wants to use (including morons. We hate morons. But don't tell them, or they'll come.)
Some of them were officially stopped after a few days or weeks. Others lasted a bit longer, but are clearly never going to happen. Nightwish's fork is clearly, and definitely, the only 'serious' competition we ever had, and given that I was the one that revealed its existence, I feel somehow responsible for pushing him into working hard on it. After several months of daily commits, however, it went off the radar and it would seem that none of the other forks made it into 2012.
Well, I'm sad about it. Once again, everyone's looking at Wedge again and expecting a release. I was kind of enjoying being able to simply work on it without any pressure. Hmm, still no pressure, but I'm starting to feel uncomfortable that nearly a year after SMF 2 went gold, no single fork has been made available to the public. So, it's time for me to look into what's ready and what's not.
If you'll remember, back when I published the first screenshots, I said I'd start using Wedge on Wedge.org itself once we'd reach 200 Likes on Facebook. While it was more of a joke than anything, it just so happens that we're getting close to that decent number of friends, and that in the same time, I'm working hard on making the transition as smooth as possible. So it's very likely that Wedge.org will actually be running Wedge by the time we reach 200 Likes. I'm currently running a 'beta-test' of the Wedge.org website on our friends group. The feedback is very positive, thankfully, so it appears I won't have too much to implement or fix before I make the final switch.
What else? Well, it's become customary to give a quick review of what we did since the last blog post... Pete worked on removing the calendar to turn it into a plugin, but as it turned out, it was harder than expected, and it pretty much hurt his motivation, and he has yet to dive back into the game. Still, 11 commits is better than all of the other forks together, so I guess I can still hope. I really don't want to keep working on Wedge alone, that's enough to drive a man crazy. Plus, well, I love working with Pete. He's such a great guy. I could say the same of the rest of our non-dev team. It's always been such a pleasure to share ideas with you!
And now for the customary changelog summary...
As for myself, I made 125 commits, which is pretty much on par with my regular output. I'm not going to keep up with this in 2012, well I'm hoping I'll take some time off because I never stopped to take a moment, and maybe I should go see a doctor or something. Or at least get paid for working on Wedge. I spent most of November working on improving the template skeleton system (it's now pretty much flawless), and finishing the thought system. In December I rewrote the BBCode implementation to be smarter about fixing mismatched tags and even giving proper error messages to the user.
Then the big chunk -- I had in mind that I wanted to replace our basic select boxes with a JavaScript implementation that would look cool. Well, it took me weeks to get it right, but it's possibly the best JS select box every written when it comes to usability, features and compacity (it's only about 2 kilobytes when other JS plugins are usually double the size.) Learned a LOT about JS code size optimization in the process, which means Wedge loads faster. I also changed my mind on that cool feature of mine, the automatic quote splitter. While technically interesting and everything, I felt that in the long run, it might seem unnatural to those used to non-Wysiwyg editors. So I decided to only run the splitter if you hold the Shift or Ctrl keys when pressing Enter. Plus I've documented it in the post editor.
Which brings us to January, where I kept working on the improved select box. I most notably added a custom scrollbar. After I was done, needless to say I was pretty burnt out, so I decided to focus on a small and easy task instead -- getting rid of the Wysiwyg editor's iframe. Well, that's what I thought... It turned into an absolute nightmare. Oddly, the only browser that liked doing without the iframe was Internet Explorer. Of all browsers. Including IE6. Well. Eventually, I had to admit defeat and went back to the original code. Which, I hate to say, was just as broken. I just don't use Wysiwyg that much, you know. So I spent another couple of weeks working on fixing it. It was pretty much an extensive rewrite, and I can now safely say that our Wysiwyg editor is more solid than SMF's. And shorter. And smarter. As I pointed out in the changelog (you know where to find it), the most annoying bug was due to Wedge using sprited images (inside a div) instead of regular img tags to show buttons and smileys. It turned out that IE loses focus when you click a div outside the iframe, but it doesn't when you click an img. Don't shoot the messenger. No, fear not, I didn't come back to a series of image files, it would be ridiculous. I simply added a dummy transparent image in front of the buttons if using IE. Sometimes, the simple solution is what is best.
After I was done with "small tasks that end up taking weeks to complete", I went the safe route and implemented some additions I'd already written for Noisen.com and Wedge.org -- such as indicating the number of new posts next to a New icon. Or adding support for transparent avatars. (Well, this one's from Aeva Media 2.x, technically.) Then I fixed a few broken areas of WeCSS (which live627 declared his love for, oh I sooo needed that!), and I renamed the 'sticky' feature to 'pinned', which took longer than I'd hoped, but will definitely be an improvement for everyone -- pinning a topic makes more sense than 'setting it sticky'. What does that mean anyway?
Now, what's in store for February? Well, as I said at the beginning, my plans are to finally use Wedge on Wedge.org once and for all, as soon as possible, and that does mean this month. So I've quickly cooked up a new skin for Wedge, which I'll hopefully be using here. My current keyword for Wedge is 'simplicity', so I'm trying to remove as much crap from the templates as possible. The current feedback is very positive, so I think I'm on the right track here.
And if I happen to fall asleep and not post for another month -- go, go, The Artist! The French touch is alive and kicking!
About a year later, thanks to the SMF license change, over half a dozen new forks went into production. Somehow, I felt a bit relieved that we weren't going to be 'the new SMF' and that maybe we could simply focus on being the smarter one, instead of the one everyone wants to use (including morons. We hate morons. But don't tell them, or they'll come.)
Some of them were officially stopped after a few days or weeks. Others lasted a bit longer, but are clearly never going to happen. Nightwish's fork is clearly, and definitely, the only 'serious' competition we ever had, and given that I was the one that revealed its existence, I feel somehow responsible for pushing him into working hard on it. After several months of daily commits, however, it went off the radar and it would seem that none of the other forks made it into 2012.
Well, I'm sad about it. Once again, everyone's looking at Wedge again and expecting a release. I was kind of enjoying being able to simply work on it without any pressure. Hmm, still no pressure, but I'm starting to feel uncomfortable that nearly a year after SMF 2 went gold, no single fork has been made available to the public. So, it's time for me to look into what's ready and what's not.
If you'll remember, back when I published the first screenshots, I said I'd start using Wedge on Wedge.org itself once we'd reach 200 Likes on Facebook. While it was more of a joke than anything, it just so happens that we're getting close to that decent number of friends, and that in the same time, I'm working hard on making the transition as smooth as possible. So it's very likely that Wedge.org will actually be running Wedge by the time we reach 200 Likes. I'm currently running a 'beta-test' of the Wedge.org website on our friends group. The feedback is very positive, thankfully, so it appears I won't have too much to implement or fix before I make the final switch.
What else? Well, it's become customary to give a quick review of what we did since the last blog post... Pete worked on removing the calendar to turn it into a plugin, but as it turned out, it was harder than expected, and it pretty much hurt his motivation, and he has yet to dive back into the game. Still, 11 commits is better than all of the other forks together, so I guess I can still hope. I really don't want to keep working on Wedge alone, that's enough to drive a man crazy. Plus, well, I love working with Pete. He's such a great guy. I could say the same of the rest of our non-dev team. It's always been such a pleasure to share ideas with you!
And now for the customary changelog summary...
As for myself, I made 125 commits, which is pretty much on par with my regular output. I'm not going to keep up with this in 2012, well I'm hoping I'll take some time off because I never stopped to take a moment, and maybe I should go see a doctor or something. Or at least get paid for working on Wedge. I spent most of November working on improving the template skeleton system (it's now pretty much flawless), and finishing the thought system. In December I rewrote the BBCode implementation to be smarter about fixing mismatched tags and even giving proper error messages to the user.
This skin is a work in progress! And the select box looks even better in action! I like exclamation marks, sue me! |
Which brings us to January, where I kept working on the improved select box. I most notably added a custom scrollbar. After I was done, needless to say I was pretty burnt out, so I decided to focus on a small and easy task instead -- getting rid of the Wysiwyg editor's iframe. Well, that's what I thought... It turned into an absolute nightmare. Oddly, the only browser that liked doing without the iframe was Internet Explorer. Of all browsers. Including IE6. Well. Eventually, I had to admit defeat and went back to the original code. Which, I hate to say, was just as broken. I just don't use Wysiwyg that much, you know. So I spent another couple of weeks working on fixing it. It was pretty much an extensive rewrite, and I can now safely say that our Wysiwyg editor is more solid than SMF's. And shorter. And smarter. As I pointed out in the changelog (you know where to find it), the most annoying bug was due to Wedge using sprited images (inside a div) instead of regular img tags to show buttons and smileys. It turned out that IE loses focus when you click a div outside the iframe, but it doesn't when you click an img. Don't shoot the messenger. No, fear not, I didn't come back to a series of image files, it would be ridiculous. I simply added a dummy transparent image in front of the buttons if using IE. Sometimes, the simple solution is what is best.
After I was done with "small tasks that end up taking weeks to complete", I went the safe route and implemented some additions I'd already written for Noisen.com and Wedge.org -- such as indicating the number of new posts next to a New icon. Or adding support for transparent avatars. (Well, this one's from Aeva Media 2.x, technically.) Then I fixed a few broken areas of WeCSS (which live627 declared his love for, oh I sooo needed that!), and I renamed the 'sticky' feature to 'pinned', which took longer than I'd hoped, but will definitely be an improvement for everyone -- pinning a topic makes more sense than 'setting it sticky'. What does that mean anyway?
Now, what's in store for February? Well, as I said at the beginning, my plans are to finally use Wedge on Wedge.org once and for all, as soon as possible, and that does mean this month. So I've quickly cooked up a new skin for Wedge, which I'll hopefully be using here. My current keyword for Wedge is 'simplicity', so I'm trying to remove as much crap from the templates as possible. The current feedback is very positive, so I think I'm on the right track here.
And if I happen to fall asleep and not post for another month -- go, go, The Artist! The French touch is alive and kicking!