Show Posts

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.

Messages - Arantor
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.
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.
3243
Off-topic / Re: CloudFlare
« on June 3rd, 2012, 06:22 PM »
All of the above.
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.
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!
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
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 »
Quote
Hmm... That's... Pretty much a tag system, isn't it...?
Different kind of meta information, but yes, I suppose. Compared to general tags, we're talking about (probably) one tag applicable per topic from a set list, and it will be displayed in the message index, where tags would not normally be listed.
Quote
Anyway, it's online here, what do you think? Do you like it or not?
Oh, I like it. I'm just thinking that I'd probably provide proper prefixes as discussed here as a full plugin.
Quote
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.
That's the thing about using full-on prefixes is that you never have to battle with the response-prefix in the subject because it's entirely separate.
Quote
Which leads me to ask -- what is it with that slightly fucked up $txt['response_prefix'] system...
I'm not sure what the logic was supposed to be, something to do with making sure you got the right one based on something else's language or something >_>
Quote
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?
Actually, a better solution would not be to worry about it at all. If we were to juggle things so we didn't actually have the title sorted expressly every post, we could just use response-prefix as necessary. There's a lot to do but I think it'd be worth it not to store every single subject every post.
Quote
Oh, I see... tumblr-like, right? Or the latest WP... (Which was inspired by tumblr, IIRC.)
Neither, really. On the one hand, you have the ability to create what amounts to a form, asking users for content, validating it and then dumping it into a post. Some roleplay forums use this to handle 'clan entry application forms', for example.

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.
Quote
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...
Which brings me back to the answer I originally gave; that is one very good reason why none of the major forums have implemented this feature in the core. I'm not entirely sure we actually *need* it, I was far happier implementing this as a plugin personally, but we could probably make it a core feature - yes it would have to be handled through the attachments system because that's the only way I'm remotely happy of allowing it at this stage.
Quote
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...
Here's the problem, on the one hand you have people who want lots and lots of details and on the other, you'll have people who want very little.
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 »
Quote
Except that you don't say what thread prefixes are supposed to do... It's not a feature, it's a concept.
Actually, what he's thinking of is not the same thing you were - in his (and my) view, thread prefixes are a way of selecting a prefix from a dropdown, e.g. what I did on whatsthatgame.co.uk in particular in http://whatsthatgame.co.uk/index.php?forums/aralander-discussion/
Quote
What is that?
A posting template system can take two forms, either it can be for having one or more predefined blocks of content that can be easily inserted into posts, or it can take the form of being an outright form that users have to fill in to generate a post out of it, e.g. for application forms for certain things.

Both would be good to have as plugins, but I'd argue they should be done separately as plugins.
Quote
Maybe just a warning at the top of the page when you have less than 5mn left...
That might be useful. But there are good reasons to leave it in.
Quote
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...)
That's half way towards what he's talking about, incidentally.
Quote
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.
Then it needs to have less content in it if it's going to be done without tables; right now a table is the correct semantic item for it because it's tabular data.