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
6676
Features / Re: Selectbox
« on January 11th, 2012, 09:18 AM »
I'm a bit lost in bug fixes, as you may understand from rev 1245-1246... :lol:
I'd like more opinions on setting quick mod checkboxes by default and NOT offering the ability to remove them. (I'm looking forward to it, too.. Eh eh.)

John, I noticed this topic: http://www.simplemachines.org/community/index.php?topic=438514.0
I don't usually read their Mantis but today I had a quick look and that's the first thing I found, and it's by you -- could you possibly read SM.org but that's the magic of following a couple of links. Anyway -- I wanted to ask, did you report this here as well...? Because it also happens in Wedge, doesn't it?
I added a isset() before that line (Admin.template.php:740 in Wedge), as per your suggestion.
6677
Features / Re: New revs
« on January 11th, 2012, 09:09 AM »
rev 1246
(18 files, 5kb)

* Replaced these ugly ----- in select boxes with proper horizontal rules. I decided to go for a class, and instead of running extra JS on every single select box, I'm adding the class directly to the original HTML. Cleaner. (Groups.php, ManageMembers.php, ManageSmileys.php, ManageMaintenance.template.php, ManageMedia.template.php, ManageScheduledTasks.template.php, ModerationCenter.template.php, Profile.template.php, Search.template.php -- index.css already committed)

* Forgot to apply some jQuerification to the blog index. (MessageIndex.template.php)

! Generic form settings in Admin area would generate a label without associating it with the element. (Admin.template.php)

! Fixed button height and simplified CSS in select boxes in most instances. I wasn't sure that would even work... Turns out it works even in IE6. (editor.css, index.member.css -- index.css already committed)

* Spacinazi. (ManageMemberOptions.php, ModerationCenter.php, SplitTopics.php, GenericList.template.php)

! Translation error. (ManageSettings.french.php)
6678
Features / Re: New revs
« on January 11th, 2012, 08:58 AM »
rev 1245
(2 files, 5kb)

! Fixed select box internal paddings in IE 6/7, while making the HTML, CSS and JavaScript code even shorter (33 bytes for JS). (sbox.js, index.css)

* Select boxes will now inherit their original's ID. This should make it easier to manipulate the new select box without having to resort to .sb(). See example in quick mod boxes. (sbox.js)

- Removed aria-labelledby. It was using too much code for something that's pretty useless, given that the label tag does everything on its own. Or doesn't it? My problem is that NVDA sucks when it comes to providing accessibility for our select boxes (we'll need to work on that), but at the very least it can draw its information from the label and doesn't need Aria for that. (sbox.js)

@ Current sbox size: 2577. There are still some bugs left to fix, though...
6679
FAQs / [FAQ] Re: What is Wedge?
« on January 11th, 2012, 07:24 AM »
Chuck Norris is already using the final version. He's also the one who edited the original post for more realistic dates. :P

Anyway... I'll do my best to have the demo online this months. i.e. within the next two weeks.
6680
Features / Re: Selectbox
« on January 10th, 2012, 06:21 PM »
Shouldn't we enable it by default? I thought it was...
6681
Features / Re: New revs
« on January 10th, 2012, 02:30 PM »
rev 1244
(3 files, 4kb)

! Auto-suggest would gladly show the same name twice if you entered it again by mistake. I'm not exactly sure why. Ensuring this doesn't happen. (suggest.js)

- Removed unused hooks from auto-suggest code. (suggest.js)

! Fixed auto-suggest not working at all in PM mode. (pm.js, suggest.js)

* Also rewrote PM To/Bcc auto-suggest handling to use cleaner code. (PersonalMessage.template.php, pm.js)
6682
Features / Re: Selectbox
« on January 10th, 2012, 01:28 PM »
Oh, thanks -- bug added by a rewrite last week.
Posted: January 10th, 2012, 01:16 PM

Actually, it's older than that... I don't even know why I remember it working these last few months...?!
It's going to be a heavier rewrite. I could go back to the original SMF code, but it's pretty ugly really...
6683
Features / Re: Selectbox
« on January 10th, 2012, 11:31 AM »
Bump for messages above... (?)

In other news.
Looked into many Wedge pages, and it turns out, many select boxes are broken by the new code... Yay.

For instance, if I hide a select box only to have it show up later (e.g. board list in quick mod on MessageIndex), it'll fill in the entire width of the container and be generally buggy.
Also, similarly, if you select a quick mod option, the select box will enlarge... Meh, an obvious bug.

My, why didn't anyone see that one? I always assume that people tend to test my stuff when I upload them on the demo site. Will I have to check every single select box in the entire codebase then...?

The only good news today is that I've found an extra couple of tricks to reduce the size -- it's now at 2577, down from 2669 which I already considered to be as short as it could be...
6684
Off-topic / Re: Doctor Who
« on January 10th, 2012, 09:03 AM »
But I would have moved it otherwise.

Anyway there are enough Friends to discuss it. I'm sure having the topic public wouldn't change anything.
6685
Off-topic / Re: Doctor Who
« on January 10th, 2012, 12:01 AM »
Also in the first few...?
6686
Off-topic / Re: Doctor Who
« on January 9th, 2012, 11:53 PM »
Because it discusses downloading something illegally... :whistle:
6687
Off-topic / Re: Doctor Who
« on January 9th, 2012, 07:08 PM »
Find the torrent by Steins Team. Translation was pretty accurate.
6688
Off-topic / Re: Doctor Who
« on January 9th, 2012, 05:06 PM »
I've already mentioned twice I was watching that anime called "Steins;Gate"...
Well, I just finished, and I only have one thing to say: if you don't hate anime and you love time travel shows, this doesn't get any better! The concept itself is pretty great (and heartbreaking): a 'mad scientist' finds a way to sends text messages to the past, and uses it to improve the life of the people around him. Until the day... (That's halfway through the show, so I feel compelled to add a spoiler tag)...
(click to show/hide)
...he realizes that his changes have made him move to a parallel world that's going to hell. So he has to un-do everything good he did, little by little. Just wow.

It's pretty predictable in areas (the identify of a certain time traveler was easy to guess because of multiple hints, among other things), but also greatly enjoyable in that most of the events are totally logical and there are very few plot holes (it does have a few, unfortunately, but considering it's a 24-episode show with heavy time travel, it's a miracle there are so few), all in all the story is full of surprises.

And the final episode, well... Let's just say that Steins;Gate has something in common with Steven Moffat's Doctor Who!
6689
Features / Re: Selectbox
« on January 9th, 2012, 07:25 AM »
The overall screenshot or the effect I asked about? :P
6690
Features / Re: Selectbox
« on January 8th, 2012, 11:59 PM »
Quote from Lurker on January 8th, 2012, 11:38 PM
Hmm, did they introduce that into the core software somewhere so that it would be added to index.php and shown in the footer, or was that only on their dev server for daily builds? I can't remember now.
No, it's just the basic $Rev$ var or something, that updates the changelog.txt file and only that file, when it's being modified.
Quote
There's two things here? I think jumpto should be extended to that field too, I just don't know when it'll be done :/ I really need to get back into the swing of PHP dev, spent a lot of the last few weeks doing all sorts of nice non-PHP dev.
So... Does that mean I add it to my to-do? :P

Oh, here's what I was working on tonight... Was trying to find some kind of solution to make the userbox column into a nice monolithic thing without modifying the current HTML structure. Here's the result...
Is it worth exploring? Maybe not for Wine, but for one of the other stock skins..?
PS: right-click image and choose to view/open it, otherwise you won't see the bit that matters :P
PPS: we really, REALLY need to remove these icons in the userbox... They're pointless now, at least for JS users.