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.
3436
Features / Re : Rewriting the skin file parser...
« on May 15th, 2012, 03:59 PM »What we could do is add a link to the Admin menu where we would delete the cache. And then we could store the current (complete) skin file list in a regular Wedge cache file, with a relatively short latency (a couple of minutes?). What do you think...?
3437
Other software / Re: Has SMF Gotten Slower?
« on May 15th, 2012, 03:56 PM »
Interesting... what do other people think about doing that?
(For the record, I suspect that even if you do make it like that, people are going to want per-post avatars anyway, and even then it's just a toss-up being storing it per post or per board which is complicated if you then move things between boards)
(For the record, I suspect that even if you do make it like that, people are going to want per-post avatars anyway, and even then it's just a toss-up being storing it per post or per board which is complicated if you then move things between boards)
3438
Features / Re : Rewriting the skin file parser...
« on May 15th, 2012, 03:36 PM »
I'm not actually bothered by it, it is a link after all ;)
file_exists definitely uses the stat cache, glob I'm not so sure about but I can't see any reason it wouldn't be cached at the OS level. Benchmarking is useful - but benching it on Windows is less meaningful than benching it on a Linux server. Windows will give you the worst-case scenario for things like that.
file_exists definitely uses the stat cache, glob I'm not so sure about but I can't see any reason it wouldn't be cached at the OS level. Benchmarking is useful - but benching it on Windows is less meaningful than benching it on a Linux server. Windows will give you the worst-case scenario for things like that.
3439
Other software / Re: Has SMF Gotten Slower?
« on May 15th, 2012, 03:34 PM »
It wasn't meant as a dig, subtle or otherwise, it was just covering the reason why we haven't, thus far, done this.
I'm amenable to multi-avatars but it does raise a question... do we store the avatar per post or not? Having different avatars per post allows for doing things that merely having multi-avatars doesn't (and LiveJournal does it, FWIW)
I'm amenable to multi-avatars but it does raise a question... do we store the avatar per post or not? Having different avatars per post allows for doing things that merely having multi-avatars doesn't (and LiveJournal does it, FWIW)
3440
Plugins / Crazy plugin-related idea I just had
« on May 15th, 2012, 04:26 AM »
OK, so I was contemplating how an arcade plugin might work, and in particular adding new games to one - as plugins themselves that depend on the main arcade.
And here's the weird thing, it occurs to me that we could do something truly neat.
As you know, the plugin manager works by the plugin-info.xml files, and the different XML indicates various things - there are XML tags for adding new bbcode, for adding scheduled tasks, and so on. What if a plugin could declare its own extra XML handlers?
So like the arcade plugin, it could declare a <arcade-game> block handler, so that arcade games could be bundled into plugins quickly and easily without having to do complex database changes or anything, just declare new items and let the arcade handler figure out what it wants to do with it.
In reality all we're really talking about is a hook in the enable/disable plugin routines that also passes the manifest SimpleXML object and plugins can register a hooked function for there. I don't think many would use it but it is certainly an interesting idea.
And here's the weird thing, it occurs to me that we could do something truly neat.
As you know, the plugin manager works by the plugin-info.xml files, and the different XML indicates various things - there are XML tags for adding new bbcode, for adding scheduled tasks, and so on. What if a plugin could declare its own extra XML handlers?
So like the arcade plugin, it could declare a <arcade-game> block handler, so that arcade games could be bundled into plugins quickly and easily without having to do complex database changes or anything, just declare new items and let the arcade handler figure out what it wants to do with it.
In reality all we're really talking about is a hook in the enable/disable plugin routines that also passes the manifest SimpleXML object and plugins can register a hooked function for there. I don't think many would use it but it is certainly an interesting idea.
3441
Other software / Re: Has SMF Gotten Slower?
« on May 15th, 2012, 03:39 AM »
It's not done by default, and I didn't make the conversion by default (and strip out the rest of the code) because we were looking at putting it all through Aeva for potentially-multiple-avatars-per-member.
3442
Other software / Re: Has SMF Gotten Slower?
« on May 14th, 2012, 12:05 PM »
The DB layer won't help, certainly. But I consider the trade-off in performance for that component on its own quite acceptable for the actual increase in security it brings (considering third party modifications etc.)
The other major performance headache is post moderation. There's no way around it, it is a performance headache if it is turned on.
For all other situations, you'd need to compare them with as-close-to-identical setup, so any optimisation work you did for 1.x (e.g. turn off calendar, DB tables being InnoDB and appropriate table structure changes to convert from tinytext to varchar) would need to be mirrored in 2.x.
Also if you haven't already, switch the avatars to their own folder.
The other major performance headache is post moderation. There's no way around it, it is a performance headache if it is turned on.
For all other situations, you'd need to compare them with as-close-to-identical setup, so any optimisation work you did for 1.x (e.g. turn off calendar, DB tables being InnoDB and appropriate table structure changes to convert from tinytext to varchar) would need to be mirrored in 2.x.
Also if you haven't already, switch the avatars to their own folder.
3443
Features / Re : Rewriting the skin file parser...
« on May 14th, 2012, 11:58 AM »
I don't believe glob is cached as thoroughly as you're hoping - but it should be cached by the OS through the statcache if possible. IOW, it is cached but not up in PHP and I think you're going to end up doing one per theme folder (in the hierarchy) per page.
3444
Features / Re: Action buttons: positioning
« on May 14th, 2012, 01:25 AM »I'm thinking about moving the number to *after* the 'Like' text, though...
Oh there'd be more than one item...
- Who liked (if there's no like, show "Be the first to like this", the usual one...), with a link to the popup
- a separator
- a Like button, or Unlike button, depending on the status
- maybe things like "Last liked on May 12th..."
Anyway, it doesn't have to be a *menu*, it could very simply be a mega-menu type item, i.e. a regular div with some styling in it.
My experiments are often failed ones... Anything I commit is usually the results of quite some time of use on my side, resulting in a situation where I felt comfortable going for a commit
Both menus work here currently (Chrome beta, desktop)
3445
Features / Re: Action buttons: positioning
« on May 13th, 2012, 10:42 PM »You mean, the notice number? I don't know...
I think you added support for that. There's definitely a placeholder for it in the template.
Would have to be on a click. I'm envisioning my mini-menus as popups that can be put anywhere (and I'll definitely do it this way), so I'll add a mini-menu to the Like button as I said, with the names of the first likers etc, and then a link to view more, which'll open a popup or something with all names. (And dates? Do you store dates?)
You'll see, it'll work well.
Yeah, sorry, forgot to ask you if you didn't mind... The header font is Helvetica Narrow (which I'm downloading off somewhere, and it's totally a non-free font so it'll never be in Wedge or even on Wedge.org for guests or members), and the text font is Calibri. Since you're using Win7 like me, you should have the nice Calibri as well, and Helvetica is downloaded so it's okay.
3446
Features / Re: Action buttons: positioning
« on May 13th, 2012, 10:23 PM »
I like the look, and the experience attached to the animation but it's gone over my head as far as figuring out how to fix it. I've always taken the view that I make it work, but don't necessarily make it pretty.
Going back to the overall topic, I really like how the Like button works now, took a little while to get used to it. Making that work via AJAX shouldn't be too problematic (I don't think you did that already?) but I do find it a bit complicated as to how we would display a list of the people who like something, not that I could ever figure out how the list should look when we do get it (as I'm not entirely sure we should use the popups as they stand, but I'm not entirely we shouldn't either)
Also, have you changed the font lately? Either that or my browser is rendering text weirdly.
Going back to the overall topic, I really like how the Like button works now, took a little while to get used to it. Making that work via AJAX shouldn't be too problematic (I don't think you did that already?) but I do find it a bit complicated as to how we would display a list of the people who like something, not that I could ever figure out how the list should look when we do get it (as I'm not entirely sure we should use the popups as they stand, but I'm not entirely we shouldn't either)
Also, have you changed the font lately? Either that or my browser is rendering text weirdly.
3447
Features / Re: Action buttons: positioning
« on May 13th, 2012, 10:15 PM »
This is why I avoid CSS ;)
3448
Features / Re: Action buttons: positioning
« on May 13th, 2012, 07:52 PM »
Works exactly as expected here on Chrome on the desktop.
3449
Features / Re: Action buttons: positioning
« on May 12th, 2012, 04:53 PM »
I'd stick with 1.4 or 1.5 than 1.7 to be honest - I'm not convinced that a lot of sites are using bleeding edge anyway, but stick with what works with the code they have. Having a baseline in Wedge means that everyone has a version that's consistent and will likely work better with plugins as a consequence.
As for the other issues, do you feel they're likely to be more or less complicated to fix? (i.e. is it going to be a significant amount of time/effort to fix or would it be better to spend that time elsewhere)
As for the other issues, do you feel they're likely to be more or less complicated to fix? (i.e. is it going to be a significant amount of time/effort to fix or would it be better to spend that time elsewhere)
3450
Features / Re: Action buttons: positioning
« on May 11th, 2012, 12:15 AM »
I like it. But I think I'd want to use it to really get a feel for it.