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
331
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 06:22 PM »
So it finally annoyed me that we don't have an icon for modify buttons, we've been using either the save icon or the tick icon and finally it grated on me enough.

I'm amenable to the colour and the icon changing, I just had to do *something* with it.

(icon = wrench.png from Fugue, background colour is #f3f3c8)

As you can see I haven't yet pulled it to every button, but you get to see the before/after shot of it, as such.

@Nao, yes, so far I have actually modified index.css because it's in a bunch of places, and I wasn't sure whether mana.css would be loaded in those places or not. I haven't done any analysis or anything on figuring out whether it's smaller or not yet. It may be that we move it back to mana.css where I originally had it...
332
Bug reports / Re: Post moderation always shows 10 posts
« on June 9th, 2013, 05:57 AM »
Nope, I mean the actual list of reported posts - index.php?action=moderate;area=reports - which has always shown only 10 posts. It's consistent with the rest of the moderation centre in that respect. But we all know the moderation centre is essentially unfinished.


(And the reported posts block is still there, assuming you have permission to view it, which is moderates at least one board or moderate forum. It's there for me. I may have inadvertently broken it when I gutted the moderation centre homepage but it works locally :/)

I dunno. I probably will change it but I don't feel like I have a solid reason other than 'it doesn't comply with another setting elsewhere in the system that isn't actually for that purpose'. In fact, the install-time default is actually 15 messages per page so it definitely doesn't comply there. But I'm not sure it was meant to.
333
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 05:45 AM »
It's hay fever season for me, I do enough of that here in RL not wanting to share that here too :P
334
Bug reports / Re: Post moderation always shows 10 posts
« on June 9th, 2013, 05:26 AM »
I'd argue that if you have a moderation queue of vastly more than 10 items you are doing something wrong in the first place, but that's just me :P

Should it obey the setting? That's a good question. But there are other places where the same is in force, for example reported posts are shown in blocks of 10. Should they also adhere to the limit too? Don't forget there are also performance implications at work here though these should - hopefully - be quite minor ones by comparison.

Right now, I actually don't know if it should be 'fixed' because while I can see the argument, I'm just not quite sure that it is a 'bug'. I'm not even sure it's an oversight. It actually smells like it's by design which naturally makes me wonder if the original devs knew something I don't about the logic behind that.


In other news, I shouldn't really look at such commits, they only make me cry and die a little on the inside. Seriously people, multi-row inserts can be done in all three supported engines. Albeit not in the same conventional fashion in SQLite but it can still be done. And for efficiency's sake, I can't really think of any reason why you wouldn't.[1]
 1. The principle overhead, even... no... especially in SQLite is not network traffic nor CPU, but I/O. Doing a UNION SELECT on a small number of rows with few columns is comparable to the network bandwidth of the INSERT. The CPU of amalgamating the query result first is negligible too, so we're talking about doing one longer pulse of I/O rather than several smaller ones, and since this is a single atomic write it should actually be less demanding!
335
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 05:03 AM »
*cough*
336
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 04:00 AM »
Yeah, I can see why you came to the conclusion it looked broken though :lol:

It really helps that I found a decent (IMO) nested-sortable library to handle this - https://github.com/mjsarfatti/nestedSortable (there's a link to a demo page, so you can see how it really handles when it's styled properly)
337
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 03:50 AM »
You can't see the mouse cursor on that screenshot (I never entirely understood why Windows did that). The one where it's got a hand icon and the boards that are misplaced are attached to that hand icon. As in, moving things around when I hold the mouse button down and move the mouse.

Yes: this is a WIP drag 'n' drop for rearranging boards. It just looks broken because I haven't fixed all the styling yet. But this was enough of a slog I wanted to share.
338
Features / Re: Miscellaneous/WIP screenshots
« on June 9th, 2013, 03:33 AM »
I'm just simply going to leave this here.

Also, I blame @Aaron. He's the one who originally asked for this way way back. Yes, I'm finally getting around to it.
339
The Pub / Re: Infinite Scroll
« on June 9th, 2013, 01:47 AM »
Wait until you see what I've been working on. It explains why I was so frustrated with jQuery UI breaking things... ;)
340
The Pub / Re: Infinite Scroll
« on June 9th, 2013, 01:41 AM »
I can only imagine how annoying that would be :/
341
Features / Re: New revs
« on June 8th, 2013, 08:57 PM »
(6 files, 9KB)

Revision: 2160
Author: arantor
Date: 08 June 2013 19:56:19
Message:
! ext/mysql is officially deprecated. It had to happen sometime, I guess. So, let's use ext/mysqli. It's not so pretty in some places, and has a nicer API in others. At least it only has one function for persistent connections now. (wedge_api.php, install.php, Class-DB.php, ManageMedia.php, QueryString.php, Subs-Template.php)
----
Modified : /trunk/Sources/Class-DB.php
Modified : /trunk/Sources/QueryString.php
Modified : /trunk/Sources/Subs-Template.php
Modified : /trunk/Sources/media/ManageMedia.php
Modified : /trunk/other/tools/wedge_api.php
Modified : /trunk/root/install.php


@ I double checked all the function handling because of the joys of mysqli_* having some functions with a different parameter order. I think it all works now. :angel:
342
Off-topic / Re: Plagiarism Warnings?
« on June 8th, 2013, 02:59 PM »
I set up three or four exemplar wordings in the admin panel but it's easy to just make one to suit your forum, whether you want to do a modest warning or an instant ban. That's partly why I didn't do too much in the way of pre-set wording in the core, so that you can set it up to suit your community :)
343
The Pub / Re: Infinite Scroll
« on June 8th, 2013, 02:09 AM »
Go to the first page of a multi-page topic. Scroll down to the very bottom of the page, then a little bit more (with the mouse wheel), marvel at the next page magic loading. (Unless you're an admin in debug mode when you have to scroll down way way past the content through the debug information :lol:)
344
Off-topic / Re: Plagiarism Warnings?
« on June 8th, 2013, 02:08 AM »
That's why the whole warning system allows for pre-made templates, even down to pre-made punishments that can be easily fired off ;)
345
Off-topic / Re: Plagiarism Warnings?
« on June 8th, 2013, 01:45 AM »
No, but you can *trivially* add that yourself and word it to suit. That's the really neat part about it, you can configure the wording and the punishment for it in about 5 minutes.