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.
3241
Features / Re: Badges and the displaying thereof
« on June 3rd, 2012, 07:43 PM »
You could just as easily do all that extra processing when fetching it all, making that determination based on other settings, and it wouldn't be an extra query depending on how it was set up.
lMC does no requests itself, it's part of lMD to get the data, but that's no big deal really.
lMC does no requests itself, it's part of lMD to get the data, but that's no big deal really.
3242
The Pub / Re: Logo Madness
« on June 3rd, 2012, 07:34 PM »
I like both (hence the like :P) but the single colour writing works better, I think.
3244
Off-topic / Re: CloudFlare
« on June 3rd, 2012, 06:16 PM »
That's the thing, though, it doesn't work nearly as well as you make it sound like - so many people have so many problems with it. Their infrastructure does not sound particularly reliable from all the reports I've had.
3245
Off-topic / Re: CloudFlare
« on June 3rd, 2012, 04:49 PM »
But if you disable all that stuff, it seems like you're not using all the stuff it's (supposedly) useful for... in which case you might as well not bother and use a separate DNS service.
3246
Off-topic / Re: CloudFlare
« on June 3rd, 2012, 04:13 PM »
Have a search around sm.org for the number of people who have trouble with CloudFlare.
3247
Features / Re: Badges and the displaying thereof
« on June 3rd, 2012, 03:32 PM »
Well, loading additional data in loadMemberData is not a big deal (it's only one extra field at this point). The cache of fields/positions etc can be pulled from the membergroups table in probably a single query.
I'd argue that for the purposes of displaying multiple groups, you don't actually have to care about primary/secondary, but rely totally on the order specified in the membergroups themselves, for badges that shouldn't be displayed, store their position as 0, for all others store their position as 1+ to indicate the position, then just query the table WHERE position > 0 ORDER BY position, and you get that information pre-sorted too.
It wouldn't necessarily *require* a cache but I'd cache it.
I'd argue that for the purposes of displaying multiple groups, you don't actually have to care about primary/secondary, but rely totally on the order specified in the membergroups themselves, for badges that shouldn't be displayed, store their position as 0, for all others store their position as 1+ to indicate the position, then just query the table WHERE position > 0 ORDER BY position, and you get that information pre-sorted too.
It wouldn't necessarily *require* a cache but I'd cache it.
3248
Off-topic / Re: CloudFlare
« on June 3rd, 2012, 03:19 PM »
Have fun with that. It may or may not be a good idea.
3249
Features / Re: Shole's List
« on June 3rd, 2012, 03:15 PM »
Hmm. Would it really be so bad not to have the subject every post? I find the concept of juggling {re} around a bit much. If there's no title, we assume {re} Topic title, or just not display anything unless a title was actually set...
3250
Off-topic / Re: Function Time Limit
« on June 3rd, 2012, 04:22 AM »
That concept only really works if the setup is properly geared for asynchronous behaviour, something PHP isn't.
That said, the MySQLi driver (note, not the ext/mysql driver that SMF and Wedge rely on) can actually set a timeout with the mysqli_options() function but you can't intermix them.
That might be enough reason to convince us to move to ext/mysqli though!
That said, the MySQLi driver (note, not the ext/mysql driver that SMF and Wedge rely on) can actually set a timeout with the mysqli_options() function but you can't intermix them.
That might be enough reason to convince us to move to ext/mysqli though!
3251
Features / Re: New revs
« on June 3rd, 2012, 04:04 AM »
(3 files, 2KB)
Revision: 1605
Author: arantor
Date: 03 June 2012 03:03:54
Message:
! SMF bug: The anti-spam tests should be properly case-insensitive, not partially, i.e. should be UTF-8 aware when lower-casing. (Subs-Editor.php)
! Provide a more meaningful default for timezone than 'the first on the list' and if there's an error at registration actually remember the one the user picked when re-displaying the form. (Register.php, Register.template.php)
----
Modified : /trunk/Sources/Register.php
Modified : /trunk/Sources/Subs-Editor.php
Modified : /trunk/Themes/default/Register.template.php
Revision: 1605
Author: arantor
Date: 03 June 2012 03:03:54
Message:
! SMF bug: The anti-spam tests should be properly case-insensitive, not partially, i.e. should be UTF-8 aware when lower-casing. (Subs-Editor.php)
! Provide a more meaningful default for timezone than 'the first on the list' and if there's an error at registration actually remember the one the user picked when re-displaying the form. (Register.php, Register.template.php)
----
Modified : /trunk/Sources/Register.php
Modified : /trunk/Sources/Subs-Editor.php
Modified : /trunk/Themes/default/Register.template.php
3252
Off-topic / Re: Help with apache2
« on June 3rd, 2012, 12:46 AM »
I'm reasonably hardened and can reconfigure Apache for modest needs without referring to the docs, but other stuff like postfix, once I had it set up, I left it firmly alone!
3253
Features / Re: Shole's List
« on June 3rd, 2012, 12:44 AM »Hmm... That's... Pretty much a tag system, isn't it...?
Anyway, it's online here, what do you think? Do you like it or not?
Also, all permalinks to posts are rewritten to have the prefixes before the link, and have the "Re: " positioned at the beginning of the link.
Which leads me to ask -- what is it with that slightly fucked up $txt['response_prefix'] system...
It would make a LOT more sense to have a meta prefix like {re} at the beginning, and have Wedge automatically convert it to $txt['response_prefix'] at runtime... What do you think?
Oh, I see... tumblr-like, right? Or the latest WP... (Which was inspired by tumblr, IIRC.)
On the other hand, you have the ability to insert pre-defined blocks of content. I did something similar in SimpleDesk as 'canned replies' where the admin could create a bunch of templates of content that could be inserted into the post in a few clicks, which is useful in a support context as it were. But both have other uses too. Just neither of them are things I personally want in the core, especially as the dev effort for creating them as a plugin is virtually identical.
Well, it's easy enough to have the NEW icon, but I'm not so sure about how best to implement board icons... For instance, Noisen.com does it by going through a special folder and looking for "123.jpg" or "123.png" for board #123. Which makes a lot of sense when you create the boards yourself, but not when you don't have FTP access at all...
Although we could simply use AeMe for that. I say "simply", but it'd probably be simpler to use attachments for that...
I was thinking more about doing something like the item lists in the media area. i.e. you'd get just the thumbnail and user name, and have to hover the name to get more details, but OTOH one could argue that you may want to be able to see the additional details immediately. Maybe with a click of a button somewhere...
3254
Off-topic / Re: Help with apache2
« on June 2nd, 2012, 05:59 PM »
Personally I go for postfix, but yeah, same thing, if you're just after outbound email, that's the way to do it.
3255
Features / Re: Shole's List
« on June 2nd, 2012, 04:07 PM »Except that you don't say what thread prefixes are supposed to do... It's not a feature, it's a concept.
What is that?
Both would be good to have as plugins, but I'd argue they should be done separately as plugins.
Maybe just a warning at the top of the page when you have less than 5mn left...
If it were just up to me, I'd remove board icons the way they're done now, and replace them with an 'avatar' or something, and show only a "NEW" icon next to the board name, just like sub-boards do. (Well, first we'll have to fix the bug that makes it show only on a handful of sub-boards...)
Final Wedge will show avatars, like Noisen does, but in a reduced height (probably like the Wireless skin here.) I don't want to break too much of it... Also, I'm hoping to do it in a tableless way, but it warrants for a longer and more complicated rewrite and I don't really have the time.