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.
4996
Features / Re: Shole's List
« on June 4th, 2012, 12:54 AM »If it's stored as text in the subject, you're fucked if you ever hope to efficiently filter on it (something that you can actually do with prefixes). I mean, take the example in the private board that has [WIP] and [Plugin] as effective prefixes. Now do a filter on just WIP, or just Plugin - you either can't do it, or you end up doing WHERE subject LIKE '%[WIP]%' which is nice and efficient.
What I meant was that the topic titles would get the text version of prefixes, while the tags themselves would be recorded in the (yet to come) tag-to-topic association table. Basically, doing it in that order: user sends topic (adding prefixes either through a dropdown or manually), Wedge checks that it has prefixes, if it does, validate them against any 'valid' prefixes, delete the rest from the title, and save all valid prefixes into the tag-to-topic table.
There are two points to doing it outside the title; partly you get the ability to define new titles and remove existing ones without touching any of the actual subject data, and mostly that you get to filter on it efficiently.
4997
Features / Re: New revs
« on June 4th, 2012, 12:49 AM »
rev 1607
(3 files, 2kb)
! Fixed and harmonized thought sending's Ajax return HTML. (Ajax.php, Xml.template.php)
! Fixed target styling in thought threads. (sections.css)
(3 files, 2kb)
! Fixed and harmonized thought sending's Ajax return HTML. (Ajax.php, Xml.template.php)
! Fixed target styling in thought threads. (sections.css)
4998
Features / Re: Badges and the displaying thereof
« on June 4th, 2012, 12:28 AM »
We'd need to do that in LMD then, but it's a tad harder to determine whether it's being called for userboxes or not. Well, could always add a flag for that too...
Hmm there's an impressive amount of calls to LMD with the default param, 'normal', sometimes I'm wondering if we shouldn't be able to specify just a list of fields we want to retrieve and parse... :P
Would be easier for hooks as well, wouldn't it..?
Hmm there's an impressive amount of calls to LMD with the default param, 'normal', sometimes I'm wondering if we shouldn't be able to specify just a list of fields we want to retrieve and parse... :P
Would be easier for hooks as well, wouldn't it..?
4999
Features / Re: Shole's List
« on June 4th, 2012, 12:24 AM »
Hmm...
But why not do it with tags, really?
From what I can see on these screenshots, prefixes are added manually by the admin, then the user can choose in a dropdown with multiple words surrounded by brackets. For all I know, it's stored as text content in the title, and then automatically turned into a prefix icon at runtime. Which can be done with a single query (or cache lookup), if you simply choose to retrieve all prefix HTML in one go, and then replace any [prefix] inside URLs with the matching HTML, then move them outside of the links, and instead attribute them a link to other topics with the same prefix.
(Basically, that's exactly what a tag does... :P)
But why not do it with tags, really?
From what I can see on these screenshots, prefixes are added manually by the admin, then the user can choose in a dropdown with multiple words surrounded by brackets. For all I know, it's stored as text content in the title, and then automatically turned into a prefix icon at runtime. Which can be done with a single query (or cache lookup), if you simply choose to retrieve all prefix HTML in one go, and then replace any [prefix] inside URLs with the matching HTML, then move them outside of the links, and instead attribute them a link to other topics with the same prefix.
(Basically, that's exactly what a tag does... :P)
5000
Features / Re: Shole's List
« on June 3rd, 2012, 11:18 PM »The problem with doing that is our old friend performance. Doing tags like that implies that we have to do querying every message-index, as opposed to making prefixes an explicit plugin.
Or did you mean actually showing it in the weird way you pointed to on that other forum, with badge-like styling...?
*nods*
5001
Features / Re: New revs
« on June 3rd, 2012, 11:15 PM »
rev 1606
(12 files, 6kb)
* In the admin area, integer-type settings will now automatically have a 'min' value of 0 if nothing is set. (ManageAttachments.php, ManageNews.php, ManageSettings.php, Admin.template.php)
! scandir() could cause some errors when working with non-existent skins. It shouldn't happen, but in case someone bookmarked an old skin of yours that you deleted in the meantime, this could have been happening... (Subs-Cache.php)
! Fixed headers in help popups. (Errors.template.php, script.js)
! Fixed a mismatched anchor tag. Also translation. (Admin.language.php, ManageSettings.french.php)
* Code cleanup. (ManageMembers.php, Subs-Editor.php)
(12 files, 6kb)
* In the admin area, integer-type settings will now automatically have a 'min' value of 0 if nothing is set. (ManageAttachments.php, ManageNews.php, ManageSettings.php, Admin.template.php)
! scandir() could cause some errors when working with non-existent skins. It shouldn't happen, but in case someone bookmarked an old skin of yours that you deleted in the meantime, this could have been happening... (Subs-Cache.php)
! Fixed headers in help popups. (Errors.template.php, script.js)
! Fixed a mismatched anchor tag. Also translation. (Admin.language.php, ManageSettings.french.php)
* Code cleanup. (ManageMembers.php, Subs-Editor.php)
5002
Features / Re: Shole's List
« on June 3rd, 2012, 10:58 PM »Would you be displaying that tag everywhere the title would normally be? That's really what we're getting at: tags that are as prominent as the topic's title.
I still consider AeMe and attachments to be the same thing, really. Yes, that's doable, provided that it's done like avatars and not actually served through action=media or action=dlattach.
There is such a thing as having too many choices in the core ;)
5003
Off-topic / Re: Function Time Limit
« on June 3rd, 2012, 10:53 PM »
If it makes you feel better... :P
5005
Features / Re: Shole's List
« on June 3rd, 2012, 08:09 PM »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.
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.
who want very little.
5006
Features / Re: Shole's List
« on June 3rd, 2012, 07:40 PM »
That's actually how Noisen does it... because I totally wanted to save the db space. And it took a lot of work to have it handle titles when shown outside a topic page. i.e. see the stats page, you'd have to rewrite the query for the most liked posts...
5007
Archived fixes / Re: Remove nested quotes is broken
« on June 3rd, 2012, 07:38 PM »
There's nothing more powerful when it comes to analyzing strings.
Although there are faster solutions if the regex is simple enough...
Although there are faster solutions if the regex is simple enough...
5008
Features / Re: Badges and the displaying thereof
« on June 3rd, 2012, 07:36 PM »
That would make impossible to have badge display depend on other badges being shown or not....?
eg only show a post group badge if no primary group is set
or only show a post group badge if no other group is set
etc...
also, lmc() doesn't do the actual requests so it'd require doing an extra request, i think...
eg only show a post group badge if no primary group is set
or only show a post group badge if no other group is set
etc...
also, lmc() doesn't do the actual requests so it'd require doing an extra request, i think...
5009
The Pub / Re: Logo Madness
« on June 3rd, 2012, 07:30 PM »
I've updated the minilogo.png file (which is used in many signatures here) to use the final font face (it was close enough, but not the exact one). Also, the logo itself was different from the final one, so I updated it to match the one in our team badges. Finally, I played with font colors. I've settled for an entirely black font for now, because I'm not sure it's that useful to have so many color codes in the logo+font... (at least not when WEDGE is not associated with another word, like in our badge.)
-- current one
:edit: removed the old logos.
Opinions? :)
And by opinion I mean, do you prefer the new one or the alternative (bi-color) one?
:edit: Removed the old logo -- don't want Google to try and index it for too long...
Bump :P
-- current one:edit: removed the old logos.
Opinions? :)
Posted: June 3rd, 2012, 01:25 PM
And by opinion I mean, do you prefer the new one or the alternative (bi-color) one?
:edit: Removed the old logo -- don't want Google to try and index it for too long...
Posted: June 3rd, 2012, 01:35 PM
Bump :P
5010
Features / Re: Shole's List
« on June 3rd, 2012, 02:42 PM »
Quick suggestion (need to answer the rest): have titles like this...
The usual subject {re}
Would mean
Re: The usual subject
Solves sorting issues!
Also, a reply could have an empty title by default. If left empty, we save it as the Re: to the post being replied to. Might encourage users to fill in a new title.
The usual subject {re}
Would mean
Re: The usual subject
Solves sorting issues!
Also, a reply could have an empty title by default. If left empty, we save it as the Re: to the post being replied to. Might encourage users to fill in a new title.