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.
6181
The Pub / Re: Logo Madness
« on March 9th, 2012, 07:05 AM »
Really?
Con in English = crook
Con in French = jerk...
I thought co (company, with...) felt better ;)
Con in English = crook
Con in French = jerk...
I thought co (company, with...) felt better ;)
6182
The Pub / Re: ¿BBCode tabs?
« on March 8th, 2012, 10:23 PM »
I don't think it'd require more than an hour of work.
Not sure this is core material though. If it doesn't take too much extra code maybe...
Not sure this is core material though. If it doesn't take too much extra code maybe...
6183
Plugins / Re: Mad idea but it might just work
« on March 8th, 2012, 09:22 PM »
I hate FTP nearly as much as https :p
6184
Features / Re: Poll mode
« on March 8th, 2012, 09:20 PM »
We should make sure these classes are set on the list items, not the bar divs :)
6185
Features / Re: Poll mode
« on March 8th, 2012, 08:54 PM »
Oh... I see. I didn't read that through :P
I guess it makes sense indeed. Not in the default skin though ;)
I guess it makes sense indeed. Not in the default skin though ;)
6186
Features / Re: Poll mode
« on March 8th, 2012, 08:25 PM »Is this something that we need in the core? Or something we should look at making a plugin?
I would note that if we plan on doing 'who voted what' as we talked about, it's going to get awful crowded awful quick.
Anyway, we don't NEED to show the names to everyone. We don't even have to show them immediately to admins... For instance we can add a small button to retrieve the names through Ajax or just show them via JS.
Also, I'm thinking of setting it up so that there are 10 classes applied to the poll bars, so that the first one is .pollbar .bar1 or whatever, so that themers can - if they want - get the vB look and feel of having different coloured poll bars, but that they're still consistent otherwise.
6187
Features / Re: New revs
« on March 8th, 2012, 08:18 PM »
rev 1450
(7 files +1, 16kb)
* A few fixes to Wine and Warm styling. Also updated mini-logos with the new Wedge logo style. Still haven't touched the logos in Weaving, though... (minilogo.png, minilogow.png, Wine/index.css, Warm/index.css, Wuthering/index.css)
* Optimized font gathering code for post editor. (Class-Editor.php)
(7 files +1, 16kb)
* A few fixes to Wine and Warm styling. Also updated mini-logos with the new Wedge logo style. Still haven't touched the logos in Weaving, though... (minilogo.png, minilogow.png, Wine/index.css, Warm/index.css, Wuthering/index.css)
* Optimized font gathering code for post editor. (Class-Editor.php)
6188
The Pub / Re: Logo Madness
« on March 8th, 2012, 06:45 PM »
So... Using these from now on? :)
Updated all badges with the new style.
Not super-happy with Consultant (it lacks a bit of contrast with the background) and Moderator (green is too bright), but I guess nobody would notice without me pointing it out... I can always redo them later, as I've saved all of the needed files.
Posted: March 8th, 2012, 06:27 PM
Updated all badges with the new style.
Not super-happy with Consultant (it lacks a bit of contrast with the background) and Moderator (green is too bright), but I guess nobody would notice without me pointing it out... I can always redo them later, as I've saved all of the needed files.
6189
Features / Re: Selectbox
« on March 8th, 2012, 06:26 PM »
Heck, I'll just copy it from my code :P
Code: [Select]
As you can see, I only need to rename $match[1] to your $settings var... :P
I'll probably do without the array_filter in the code above, though, because come to think of it, I'm only doing a single in_array() call on it, so it won't care whether there are empty lines or not...
if (strpos($set, '</languages>') !== false && preg_match('~<languages>(.*?)</languages>~s', $set, $match))
$context['skin_available_languages'] = array_filter(array_map('trim', preg_split('~[\s,]+~', $match[1])));As you can see, I only need to rename $match[1] to your $settings var... :P
I'll probably do without the array_filter in the code above, though, because come to think of it, I'm only doing a single in_array() call on it, so it won't care whether there are empty lines or not...
6190
Features / Re: Selectbox
« on March 8th, 2012, 06:22 PM »
Could even ensure that comma separated fonts will be taken into account... ;)
(Heck, I wrote such a feature yesterday for the upcoming <languages> tag in skin.xml... Hopefully to be committed today.)
I'll do that at the same time.
(Heck, I wrote such a feature yesterday for the upcoming <languages> tag in skin.xml... Hopefully to be committed today.)
I'll do that at the same time.
6191
Features / Re: New revs
« on March 8th, 2012, 06:21 PM »
rev 1449
(5 files, 3kb)
* Moved editor's select box styling to a class. (Class-Editor.php, editor.css)
* Made sure not to show these select boxes' titles in the actual dropdowns. (post.js)
! Fixed a bug where select boxes would open centered on a random zone of the dropdown instead of the top, when the current selection is a data-hidden entry (i.e. the select box title, are you still following?) Adds an extra 8 bytes to the gzipped sbox file... Well, it's still at 2250 bytes or so. We still knock the competition out. Not that they care. Or that they consider us competition. (sbox.js)
* Translation. (Admin.french.php)
(5 files, 3kb)
* Moved editor's select box styling to a class. (Class-Editor.php, editor.css)
* Made sure not to show these select boxes' titles in the actual dropdowns. (post.js)
! Fixed a bug where select boxes would open centered on a random zone of the dropdown instead of the top, when the current selection is a data-hidden entry (i.e. the select box title, are you still following?) Adds an extra 8 bytes to the gzipped sbox file... Well, it's still at 2250 bytes or so. We still knock the competition out. Not that they care. Or that they consider us competition. (sbox.js)
* Translation. (Admin.french.php)
6192
Features / Re: Selectbox
« on March 8th, 2012, 05:48 PM »
Re: font code
Code: [Select]
Dunno which is faster, probably my solution because it only applies trim once -- I'd like to suggest a one-line replacement (it's one of my things, you know it too well...):
Code: [Select]
The array_map will call trim() on all members, and array_filter() with no callback function will remove anything that looks like '0', 0, false, 'false' and empty strings. Since there are no fonts called '0' or 'false', it'll simply remove the empty lines. :)
$fonts = explode("\n", $settings['editorFonts']);
foreach ($fonts as $k => $v)
if (trim($v) == '')
unset($fonts[$k]);
else
$fonts[$k] = trim($v);Dunno which is faster, probably my solution because it only applies trim once -- I'd like to suggest a one-line replacement (it's one of my things, you know it too well...):
$fonts = array_filter(array_map('trim', explode("\n", $settings['editorFonts'])));The array_map will call trim() on all members, and array_filter() with no callback function will remove anything that looks like '0', 0, false, 'false' and empty strings. Since there are no fonts called '0' or 'false', it'll simply remove the empty lines. :)
6193
The Pub / Re: Logo Madness
« on March 8th, 2012, 05:35 PM »
So... I think I've found the right balance for badges (although they're probably a bit too bright on windowbg2 but it has to be seen whether it'll be the same on Weaving), what do you think of the new Dev and Friend badges..?
Do they look cool or do they suck? Are they boring, sad, exciting?
Do they look cool or do they suck? Are they boring, sad, exciting?
6194
Features / Re: Selectbox
« on March 8th, 2012, 05:11 PM »
Pete probably got scared when I removed so many of The fonts :P
6195
Features / Re: Image resizing for non-uploads
« on March 8th, 2012, 05:10 PM »
Yeah. The problem with highslide is the license agreement.
Zoomedia emulates its feature set pretty well but it still needs some work.
Zoomedia emulates its feature set pretty well but it still needs some work.