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
4381
The Pub / Re: Logo Madness
« on March 14th, 2012, 12:42 PM »
simplest76 is what's used for the badges here, yes?

Whatever's being used in the badges currently, go with that.

* Arantor wants to start arranging merch t-shirts ;)
4382
Off-topic / Re: Another WIP
« on March 14th, 2012, 12:37 PM »
Fine, remove the English language pack, I'll just replace it with British :lol:
4383
Archived fixes / Re: Linktree
« on March 14th, 2012, 12:34 PM »
Quote
And it could be argued, for instance, that the owner wants the forum homepage to point to other areas that aren't maintained by Wedge and as such don't use a breadcrumb system.
Actually, I'd argue this should be related to the new menu item; if the new menu item is set, the first item in the linktree should point to that, with Community then being present to point to the forum itself.

Right now though there's a lack of linktree items until you actually get inside a board...
4384
Features / Re: Likes
« on March 14th, 2012, 12:33 PM »
It's actually not so much of a big deal because in every case where performance actually makes a difference (like thread display), it's using the content id first (i.e. message id), and the primary key reflects that.

The flip side is making it either an enum or some kind of integer which makes it next to impossible to extend reliably.

But in any case, caching will (when implemented) take on the bulk of it workload here.
4385
Off-topic / Re: Introduction
« on March 14th, 2012, 12:28 PM »
Quote
Easiest thing is always "Ne nourrissez pas les trolls". If you set yourselves deadlines (realistic or otherwise) and don't meet them (for whatever reason), the trolls will get shouty and that just makes things worse, because they have to be dealt with.
Exactly my issue with those who demand a deadline. I always think of Douglas Adams - "I love deadlines, I love the whooshing noise they make as they fly by."

I said I'd answer the question though, because it's not a loaded question that's prone to trolling.

From my perspective, it's about a 7. A lot of the big stuff is done already, but there's still a few big systems left to do, namely:
* finishing topic/thought privacy stuff
* ripping out the old ban system (since it's broken anyway at this point in time) and replacing it with a newer one that also supports the more powerful warnings I've talked about
* finish up the things I want to add in the moderation rules area (it's still missing a few things)
* some kind of way to get plugins and themes uploaded to the server, without requiring opening everything up 777 permissions
* make the profile area nicer
* finish likes

I can't think of anything else that needs doing other than these things, but they're big enough to give it only 7/10 at present.
4386
Off-topic / Re: Another WIP
« on March 14th, 2012, 01:41 AM »
I didn't find much benefit - but I've been quite careful to set the gradient as strictly downwards, following the motion of the gradient itself.
4387
Off-topic / Re: Another WIP
« on March 14th, 2012, 01:24 AM »
OK, done some more over the last day or so with it, in between everything else.

Maybe I went a bit overboard with the shadows >_> But as you can see, I fixed the buttons issue that I was referring to (by styling the li rather than the a themselves), the rejigged code I added for the board index allows me to style it as this one.

It's not quite finished, the title needs a new colour, and I need to fix a few minor things with regards other colours (namely windowbg and windowbg2 for the board index/post display) but otherwise, I'm pretty happy with it.

Oh, and no images. I haven't properly tested it on anything other than Chrome, but that's still cool.

I also can't decide if I should commit it to the repo or not, I'm thinking not, because I don't think it's suitable to be a 'core' skin.
4388
The JS is used simply to handle shortening in the user-editing area, if it's off, things should still get truncated regardless.
4389
Features / Re: New revs
« on March 13th, 2012, 11:06 PM »
(8 modified, 1 new, 21KB)

Revision: 1459
Author: arantor
Date: 13 March 2012 22:05:16
Message:
! Initial support for Liking posts, amongst other things. It's still woefully lacking, mind, but the very basic functionality (non AJAX like of posts) does work. (index.php, install.sql, Display.php, Like.php, Display.template.php, sections.css, index language file, *.png)
----
Modified : /trunk/Sources/Display.php
Added : /trunk/Sources/Like.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/images/theme/quickbuttons.png
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/Themes/default/skins/sections.css
Modified : /trunk/index.php
Modified : /trunk/other/images/quickbuttons-32bit.png
Modified : /trunk/other/install.sql

@ I added the images to the 32-bit version first, then indexed it and saved it over the standard one to get it smaller again, but it's not as efficient as it could be, I think >_>
4390
Features / Re: Likes
« on March 13th, 2012, 11:01 PM »
Making it translatable is not a problem.

Consider it this way: is it really that much different to what's in the moderator log or the admin log? All you need to do is record the type of action itself (simple string), which also gives you the lookup for language string, which then just has to fill in the blanks with details.
4391
Features / Re: Likes
« on March 13th, 2012, 10:55 PM »
It had crossed my mind, yes.

Ultimately it's not really that complicated. All this amounts to is a table that tracks something being liked, only it's more versatile than just posts. Everything beyond that is basically housekeeping.
4392
The Pub / Re: Logo Madness
« on March 13th, 2012, 10:48 PM »
>_> I just replied on another thread about the scope of changes!

Meh, today has been a grind, need tea and possibly a donut now.
4393
The Pub / Re: Logo Madness
« on March 13th, 2012, 10:45 PM »
I'm looking forward to it! Meanwhile I'm still working on my changes which are going to clash.

Perhaps I should commit my changes now as the odds are strongly that it'll be easier for you to merge my changes in (as they are right now) rather than the other way around?
4394
Features / Re: Likes
« on March 13th, 2012, 10:31 PM »
OK, so I took a bit of time out to work on this today.

So far I have the core like behaviour set up, though there's no permission check (any non-guest can like content), and there's a bunch of housekeeping that isn't being carried out either. I have also got the AJAX callback set up as well, so it can AJAXively update and return the new 'x, y, whatever likes this' string.[1]

Anyway, still to do:
* tie up the AJAX stuff so it's called AJAXively and updates as such
* implement some kind of permission
* implement caching

Here's the thing. I did some studying of what goes on elsewhere, and I found that in reality getting the like data is actually going to be very awkward, not to mention unhelpful in other respects.

As it stands, we get the message ids, the poster ids and the post times early on, but bulking that query out to fetch a text field is going to make it expensive, especially if I subsequently throw all the extra ids into the loadMemberData queries, doubly so when you consider that in most cases the names you're loading probably won't be ones you need anything for except the name.

So my plan instead is to cache the list based on a page's worth of messages - I get all the like data I actually need for a page's worth of messages, and cache that as a single unit, so I can reload it as-is. So right now all there is, is the one extra table that stores likes, and nothing else. The overhead is not actually that significant especially since it looks like it's being indexed meaningfully.[2] The only need for caching is simply because it will be queried in its entirety and the information digested appropriately, but the whole point of caching will fix the side issues with that.
 1. Though because I'm doing it through the action=like handler rather than anything else, it got... upset... I had to expressly detect for and start the gzhandler buffer otherwise the browsers all cacked themselves at the content being incorrect.
 2. The table structure is four columns: id-content, content-type, id-member, like-time. This way, likes can be extended to media or whatever else with little real effort in the DB. The trick here is that content-type is a fixed width field, currently 6 characters, which should be enough to be at least representative of content, currently only 'post' is supported but there's the foundation for hooks to be able to extend it arbitrarily. But because it's fixed width rows, with a primary key of id-content/content-type/id-member, and queried that way, it should be pretty lean.
4395
The Pub / Re: Logo Madness
« on March 13th, 2012, 08:40 PM »
Quote
Can you confirm that you added no extra strings to the English version? I've checked them all and it looks like it's only about splitting strings into a string + subtext, and you did it all for the French version...
That's correct.