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.
6661
Features / Re: Selectbox
« on January 12th, 2012, 05:50 PM »
Bump.
Also... While I was on select boxes, I figured I should also fix buttons in IE. Their rendering was inconsistent, mainly in the icon position and padding area (and this also concerned Firefox.)
So I got rid of my icon sprite, replaced it with individual icons (total size lost: 1 byte!), positioned them as 'center', and used padding around text instead of line-height.
So... Turns out the icon positioning is fixed in all browsers. Yay!
However, padding is screwed up. It renders inconsistently in EVERY single browser. Even different versions of IE (67, 8 and 9) seem to render them differently. And it's all due to the padding... Uh!
From what I could guess, it seems that Firefox applies padding inside the button, and THEN it will also apply another arbitrary padding inside the content box once it's done. Yay, again. The line height thing was broken in Firefox because they use a freakin' "line-height: normal !important" in their default CSS, and no one can override their override. Apparently, it's because of some 'buggy sites'. Sure, guys... So you're ready to break ALL other sites for that?
Now, what I don't get is that on this site for example, I'm seeing the same sizes across all browsers:
http://www.webdesignerwall.com/demo/css-buttons.html
And finally, I tested my latest select box code in Chrome, and it exhibits the bug I fixed *yesterday*... >_< Perhaps I broke something else. Uh.
That was just my "Nao turned crazy again" moment...
Oh, and demo site updated to rev 1248...
:edit: So, turns out the bug I mentioned in select boxes wasn't fixed yesterday. Well, I can simply confirm that I'd fixed it at one point, but it's likely that it was broken again by the time I committed... Hmm.
Select box bug fixed... Found another one though... With optgroups... -_- Can't seem to fix it for now.
Also... While I was on select boxes, I figured I should also fix buttons in IE. Their rendering was inconsistent, mainly in the icon position and padding area (and this also concerned Firefox.)
So I got rid of my icon sprite, replaced it with individual icons (total size lost: 1 byte!), positioned them as 'center', and used padding around text instead of line-height.
So... Turns out the icon positioning is fixed in all browsers. Yay!
However, padding is screwed up. It renders inconsistently in EVERY single browser. Even different versions of IE (67, 8 and 9) seem to render them differently. And it's all due to the padding... Uh!
From what I could guess, it seems that Firefox applies padding inside the button, and THEN it will also apply another arbitrary padding inside the content box once it's done. Yay, again. The line height thing was broken in Firefox because they use a freakin' "line-height: normal !important" in their default CSS, and no one can override their override. Apparently, it's because of some 'buggy sites'. Sure, guys... So you're ready to break ALL other sites for that?
Now, what I don't get is that on this site for example, I'm seeing the same sizes across all browsers:
http://www.webdesignerwall.com/demo/css-buttons.html
And finally, I tested my latest select box code in Chrome, and it exhibits the bug I fixed *yesterday*... >_< Perhaps I broke something else. Uh.
That was just my "Nao turned crazy again" moment...
Posted: January 12th, 2012, 03:34 PM
Oh, and demo site updated to rev 1248...
:edit: So, turns out the bug I mentioned in select boxes wasn't fixed yesterday. Well, I can simply confirm that I'd fixed it at one point, but it's likely that it was broken again by the time I committed... Hmm.
Posted: January 12th, 2012, 03:38 PM
Select box bug fixed... Found another one though... With optgroups... -_- Can't seem to fix it for now.
6662
Plugins / Re: Exposing bbcode to the plugin manager
« on January 12th, 2012, 03:47 PM »What about an interface where users can easily add new BBCode tags?
But it was never done...
There is a box where admin choose the tag (for example: [wiki]) and in another he can choose the "behavior" of the tag (there can be variables, for example if a user write [wiki]The Rolling Stones[/wiki] the admin should indicate something like: "http://$1/$2" where $1 is the path to the wiki he wants to use and $2 is the phrase within the [wiki] tags).
6663
Off-topic / Re: CloudFlare
« on January 12th, 2012, 03:45 PM »
Shared hosting is not that bad all of a sudden eh... :P
6664
Plugins / Re: Exposing bbcode to the plugin manager
« on January 12th, 2012, 10:10 AM »
Sure. It's mostly a matter of taste -- just like my latest addition, which had me stumbled for a while on whether the file should be called 'custom.template.php' or 'Custom.template.php', or even if I should test for both... Ended up deciding I should follow SMF's guidelines for filenames, and index.template.php is just an 'odd' exception.
6665
Off-topic / Re: CloudFlare
« on January 12th, 2012, 10:09 AM »
(My post above was unclear. I was commenting on butchs' post, but he was himself quoting a 'tutorial' by MKNJHILL, which is what I was talking about really. Haven't seen butchs' mod because it would require me to log in.)
6666
Features / Re: New revs
« on January 12th, 2012, 10:05 AM »
rev 1248
(3 files +1, 6kb)
+ Added ability for users to add a Custom.template.php file to their theme, allowing them to override/add/prepend code to their index template without modifying it, which can be very useful if they want to customize any template in a minor way that doesn't require creating a new theme, and still be able to upgrade their copy of Wedge without re-editing the files every time. Heck, that's a long explanation for just one line of code...! (Load.php, attic/Custom.template.php)
* Repositioned select box styling in the WeCSS file to help with selector specificity and crap like that. (index.css)
* Just a minor if() rewrite for readability. (Subs-Template.php)
(3 files +1, 6kb)
+ Added ability for users to add a Custom.template.php file to their theme, allowing them to override/add/prepend code to their index template without modifying it, which can be very useful if they want to customize any template in a minor way that doesn't require creating a new theme, and still be able to upgrade their copy of Wedge without re-editing the files every time. Heck, that's a long explanation for just one line of code...! (Load.php, attic/Custom.template.php)
* Repositioned select box styling in the WeCSS file to help with selector specificity and crap like that. (index.css)
* Just a minor if() rewrite for readability. (Subs-Template.php)
6667
Off-topic / Re: CloudFlare
« on January 12th, 2012, 08:21 AM »6668
Plugins / Re: Exposing bbcode to the plugin manager
« on January 12th, 2012, 08:18 AM »
Well that seems to be a good idea.
However I'm more interesting right now to see a bbcode editor in action... Last time I removed the Opera-specific code, it was a bit painful to debug :P
However I'm more interesting right now to see a bbcode editor in action... Last time I removed the Opera-specific code, it was a bit painful to debug :P
6669
Plugins / Re: Plugins NOT modifying core files
« on January 12th, 2012, 08:16 AM »
Well sure. Maybe they could edit non-core files though?
In any case, if you don't implement this ability, how about getting rid of the SFTP file? :eheh:
In any case, if you don't implement this ability, how about getting rid of the SFTP file? :eheh:
6670
Plugins / Re: Show Hooks
« on January 12th, 2012, 08:14 AM »
Is there really a priority flag in hooks..? I don't remember seeing that...
6671
Plugins / Re: Show Hooks
« on January 11th, 2012, 01:37 PM »
I'd like to see that core too, yes.
Does it/would it provide the list of functions currently attached to any hooks...? As well as the ability to disable them?
Does it/would it provide the list of functions currently attached to any hooks...? As well as the ability to disable them?
6672
FAQs / [FAQ] Re: What is Wedge?
« on January 11th, 2012, 01:36 PM »
You can reasonably expect a film producer to give you a deadline, but not someone working on something without any constraints. As long as it doesn't end like the DNF story... :P
6673
Features / Re: New revs
« on January 11th, 2012, 11:45 AM »
rev 1247 -- just to be clear ;)
(2 files, 1kb)
! Undefined index error (thanks John). (Admin.template.php)
! The footer logo was incorrect in Wuthering. (Wuthering/index.css)
(2 files, 1kb)
! Undefined index error (thanks John). (Admin.template.php)
! The footer logo was incorrect in Wuthering. (Wuthering/index.css)