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.
4846
Other software / Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« on June 17th, 2012, 12:21 PM »
Yeah... Odd. Plus, it's working in Opera 12 now. At least for the one above...?!
4847
Other software / Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« on June 17th, 2012, 10:06 AM »
I didn't notice your issues but I did notice something else -- the font color ignores any settings. Seems like it's not an Opera bug because it happens in Firefox as well (but not in Safari), I suspect it's due to the new html5 parser. I didn't have time to look into it yesterday. Did you try validating a page with nb tags?[1]
Worka in Safari Mobile too.
Posted: June 17th, 2012, 10:05 AM
Worka in Safari Mobile too.
| 1. | Test. |
4848
Features / Re: Proposed change to add_linktree()
« on June 17th, 2012, 08:57 AM »This pretty much sums up my reaction as well, I never knew such function existed...Quote from Arantor on June 17th, 2012, 12:43 AM There was a function for this?! I wasn't aware there was ever a function for it, that it was always done by just adding to $context['linktree'].
function mgal_addLinktree($url,$name) {
global $context;
$context['linktree'][] = array('url' => $url, 'name' => $name);
}That was in SMF Media Gallery 1.0.2...
So you actually wrote it :lol:
It evolved as time went by, becoming add_linktree() in later versions, and then being moved to Subs.php when I integrated AeMe into Wedge -- at the time I thought I'd use it for every single file but it never really took off in me, so it's used exclusively in the /media folder.
As for inverting the params... Well, that means also rewriting the 29 use cases of the function :P
Plus I'd rather turn it into an object... welnk::add(), ah ah. Err, well...
4849
Features / Re: Plugin revs
« on June 17th, 2012, 01:09 AM »Well, that's interesting. I'm sat here on OS X, with Chrome and like always I have the window narrow enough to have the sidebar at the foot of the page rather than the side.
I really need to change Wine and children to move it to the bottom as well, instead of that cool-looking but not very accessible popup...
The consequence of all this is that the Like / +1 buttons cause an interesting misalignment. Quick Access is then floated to the right, crossing between the first two columns, and the latest posts feed block is aligned to that.
But I found out what was wrong. It was simply using the 'old' style, i.e. _above and _below, while I'd argued that it could be misleading regarding special layouts, and renamed them to _before and _after instead.
Now it's all working... :)
I'd just like to vertically align both divs now...
Then the skin selector is below that. I'd do a screenshot but not sure how best to achieve it in OS X yet...
4850
Features / Re: Plugin revs
« on June 16th, 2012, 10:33 PM »
All right.
Flitter is a PITA. It showed me that I had a BIG bug in wetem -- it took me a while to spot it, but it was due to how I was setting up $has_layer. I did all of my tests with an array with a block in it. In this case, it will work. However, doing wetem::add('someday_my_prince', array('will_come' => array())) will not work because COUNT_RECURSIVE will count empty arrays as zero item, thus failing the test. I did it differently and now it works, phew. (Of course I could also have changed the call to a simpler wetem::layer(), but I want all of my functions to be generic as much as possible.)
Now I'm having trouble showing the above/below functions for the new layer... Dunno why, it's just not showing (probably something that fails to register in plugin mode.)
I'm taking a break and leaving the option enabled so you can play with the Like buttons if you'd like. I'll resume work on this later tonight or tomorrow. And hopefully commit everything...
Flitter is a PITA. It showed me that I had a BIG bug in wetem -- it took me a while to spot it, but it was due to how I was setting up $has_layer. I did all of my tests with an array with a block in it. In this case, it will work. However, doing wetem::add('someday_my_prince', array('will_come' => array())) will not work because COUNT_RECURSIVE will count empty arrays as zero item, thus failing the test. I did it differently and now it works, phew. (Of course I could also have changed the call to a simpler wetem::layer(), but I want all of my functions to be generic as much as possible.)
Now I'm having trouble showing the above/below functions for the new layer... Dunno why, it's just not showing (probably something that fails to register in plugin mode.)
I'm taking a break and leaving the option enabled so you can play with the Like buttons if you'd like. I'll resume work on this later tonight or tomorrow. And hopefully commit everything...
4851
The Pub / Re: Improvement to drafts (and posting, actually) I need to do
« on June 16th, 2012, 07:59 PM »Because I'm tired and feel like crap and can't really process all the consequences of it right now.
4852
Features: Upcoming / Re: Q&A enhancement: multiple answers and multiple languages
« on June 16th, 2012, 07:58 PM »
As I said, I don't think it's a big deal in the end... Most users are going to see the question in the language they chose. I suppose. The only case I could see where it fails, is this: user visits website in language 1, understands basic language so it's okay, registers, sees question in language 2, doesn't understand it (let's say it's using a particularly complex grammar peculiarity), would love to answer if the question was in their language 2, and they notice the flag, so they switch to language 2, but question still is in language 1...
4853
Features / Re: Plugin revs
« on June 16th, 2012, 04:50 PM »
rev 39
(16 files, 6kb)
* Spacinazi. Extra tabs and spaces removed. CRLF files converted to LF. Ätsch! (16 files, not going to list them -- dunno if some are 'surprise' unannounced plugins coming up...)
PS: I hate it when we include an external file that's horribly written... In that respect, the recaptcha lib may suck even more than the feature it implements...
(16 files, 6kb)
* Spacinazi. Extra tabs and spaces removed. CRLF files converted to LF. Ätsch! (16 files, not going to list them -- dunno if some are 'surprise' unannounced plugins coming up...)
PS: I hate it when we include an external file that's horribly written... In that respect, the recaptcha lib may suck even more than the feature it implements...
4854
Features / Re: Plugin revs
« on June 16th, 2012, 04:38 PM »
Just so you know -- the topic isn't locked for now. As long as the rev number doesn't equate the number of posts, it doesn't matter anyway. After that, we'll see :P It's not as important as for New Revs...
rev 38
(5 files, 4kb)
! [theme_selector] Last minute bug, and even more JS code reduction... Now it's pretty much what it should have been looking like, I think. (ThemeSelector.php)
* [flitter] Updated Flitter to latest developments (and added French, frontend only for now). Although, as of now, it still refuses to show up. This seems to demonstrate a bug in wetem, I'll have to look into it when I have more time. (Flitter-Main.php, Flitter-Main.template.php)
rev 38
(5 files, 4kb)
! [theme_selector] Last minute bug, and even more JS code reduction... Now it's pretty much what it should have been looking like, I think. (ThemeSelector.php)
* [flitter] Updated Flitter to latest developments (and added French, frontend only for now). Although, as of now, it still refuses to show up. This seems to demonstrate a bug in wetem, I'll have to look into it when I have more time. (Flitter-Main.php, Flitter-Main.template.php)
4855
Features / Plugin revs
« on June 16th, 2012, 04:15 PM »
I thought that it's best to centralize revisions for the plugin depository as well... (Didn't do it until now because, well, I wasn't even sure there was a plugin depo... :P)
rev 37
(7 files, 3kb)
! [users_online_today] Harmonized visible/hidden numbers for both moderators and regular members. (OnlineToday.php)
! [pm_flash] Fixed JavaScript to use the newest DOM. (PersonalMessageFlash.php)
! [theme_selector] Fixed wedge_show_skins to use newest version without level param. (ThemeSelector.php)
* [theme_selector] Adapted skin selector to sidebar code standards, added a language string in case we want to offer positioning. (ThemeSelector.php)
* [theme_selector] Simplified JS code. A lot. Tested to work, but who knows... (ThemeSelector.php)
rev 37
(7 files, 3kb)
! [users_online_today] Harmonized visible/hidden numbers for both moderators and regular members. (OnlineToday.php)
! [pm_flash] Fixed JavaScript to use the newest DOM. (PersonalMessageFlash.php)
! [theme_selector] Fixed wedge_show_skins to use newest version without level param. (ThemeSelector.php)
* [theme_selector] Adapted skin selector to sidebar code standards, added a language string in case we want to offer positioning. (ThemeSelector.php)
* [theme_selector] Simplified JS code. A lot. Tested to work, but who knows... (ThemeSelector.php)
4856
Features / Re: Users Online Today
« on June 15th, 2012, 10:11 PM »
You can fix it yourself if you want. I'm not on my computer for now ;)
4858
Features / Re: New revs
« on June 15th, 2012, 08:36 PM »
rev 1620
(12 files, 5kb)
- Removed can_ajax -- if you really need this (it's so 2001), use $.support.ajax instead. It actually saves a whopping 29 bytes if gzipped script.js files, had I noticed earlier it'd be gone already... (upgrade.php, Class-Editor.php, Display.template.php, Post.language.php, Packages.template.php, Split.template.php, editor.js, register.js, script.js, suggest.js, topic.js)
(12 files, 5kb)
- Removed can_ajax -- if you really need this (it's so 2001), use $.support.ajax instead. It actually saves a whopping 29 bytes if gzipped script.js files, had I noticed earlier it'd be gone already... (upgrade.php, Class-Editor.php, Display.template.php, Post.language.php, Packages.template.php, Split.template.php, editor.js, register.js, script.js, suggest.js, topic.js)
4859
Features / Re: Users Online Today
« on June 15th, 2012, 08:34 PM »
Ah, yes, now we have a problem... It's "XX including X" for moderators, and "XX plus X" for visitors...
I think it'd be faster to just have a separate counter for all users, instead of a count().
I think it'd be faster to just have a separate counter for all users, instead of a count().
4860
Features / Re: Users Online Today
« on June 15th, 2012, 08:16 PM »
rev 36
(3 files +2, 3kb)
! Fixed language files to say "including X hidden" instead of "plus X hidden", which was misleading... (OnlineToday.language.php)
! Fixed theme selector. Added language files. Yeah, I named them after skins... We're not going to call it a theme selector, are we...? (ThemeSelector.php, SkinSelector.language.php)
(3 files +2, 3kb)
! Fixed language files to say "including X hidden" instead of "plus X hidden", which was misleading... (OnlineToday.language.php)
! Fixed theme selector. Added language files. Yeah, I named them after skins... We're not going to call it a theme selector, are we...? (ThemeSelector.php, SkinSelector.language.php)