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 - Nao
961
Features / Re: New revs
« on April 4th, 2014, 08:54 PM »
[Commit revision 3b1c3ed]
Author: Nao
Date: Fri, 04 Apr 2014 19:52:16 +0200
Stats: 1 file changed; +2 (insertions), -2 (deletions)

  • Removing the 'Posterity' link on your thoughts if they're not public. This should prevent any accidental clicking that might reveal your thought's contents to everyone. (Thoughts.php)
962
Features / [Poll] Re: Board status icons: what's the point?
« on April 3rd, 2014, 11:48 PM »
Quote from Maxx on April 3rd, 2014, 11:32 PM
I like 1 and 3, with 3 as my favorite, simple clean and yet detailed..

2 looks too busy for me.  sorry!
Same here. Only problem with 3 is that a "New" icon next to the latest unread post INSIDE a topic will be barely noticeable.
Then again... Apart from power users like me, I'm not sure anyone even bothers to notice that the first unread post has such an icon. (Just look at the title in this very post. It should have the icon if you're reading it for the first time. Moving that to a B&W icon is underwhelming, this time.)
963
Features / [Poll] Re: Board status icons: what's the point?
« on April 3rd, 2014, 11:24 PM »
Well, WordPress is popular, not because of its skins but because it was GPL when most of the competition was either bad, or commercial. (At the time, people didn't really know that GPL could be just as problematic as commercial licenses.)

Anyway, no need to wait for "more messages to be posted", especially as these days wedge.org tends to be a bit empty... So I'm doing three screenshots for you guys, with my unread posts. Yes, there are A LOT[1]. Most of these are from posting sprees by Arantor. I tended to just shy away when he did that...

1/ Current version. Very simple, nice. Only problem: doesn't match unread topic indicator styling.

2/ Alternative version that matches unread topic indicator styling. As you can see, it's... kinda overwhelming.

3/ Alternative version where I've tried a new styling for note classes. Basically, no more inverted colors. This is still 'noticeable' per se, yet doesn't overwhelm as in (2). And it's only barely more complex than (1).

What's your favorite, guys..?
 1. I decided to allow for regular members and guests to view the private board list. It's not really a "secret" anyway, and it gives a better example of a busy forum.
964
Features / [Poll] Re: Board status icons: what's the point?
« on April 3rd, 2014, 08:34 PM »
Same here. But OTOH, something too soft might be seen as dull.

Worst of all, people tend to judge a forum software not by its features, but by its out-of-the-box look. Someone at admin-zone or something said that Wedge was good software if you liked your forum "creamy". He probably never even bothered to switch to another skin... Just a dropdown away! Anyway... Things like this..? People will notice.
965
Features / Re: New revs
« on April 3rd, 2014, 04:33 PM »
[Commit revision 3ad1ee1]
Author: Nao
Date: Thu, 03 Apr 2014 16:07:51 +0200
Stats: 2 files changed; +1 (insertion), -5 (deletions)

  • Removed new_posts/old_posts strings, as they're not used for now. (Well, not in my local install at least.) (Recent.template.php, index.english.php)

[Commit revision 32d8862]
Author: Nao
Date: Thu, 03 Apr 2014 16:10:04 +0200
Stats: 3 files changed; +37 (insertions), -25 (deletions)

  • Added per-board unread counts for board lists. Much slower than the good old SMF solution, but less buggy and still acceptable, at least until I get around to adding caching for that. (Subs-BoardIndex.php, Boards.template.php, MessageIndex.template.php)
966
Features / Re: Language revs
« on April 3rd, 2014, 04:33 PM »
[Commit revision 15eb1dc]
Author: Nao (Signed-off)
Date: Thu, 03 Apr 2014 16:32:57 +0200
Stats: 3 files changed; +0 (insertion), -12 (deletions)

  • new_posts. (index)
967
Features / [Poll] Re: Board status icons: what's the point?
« on April 3rd, 2014, 09:38 AM »
Quote from Johnny54 on April 3rd, 2014, 01:11 AM
At first glance it looks good.
Well I personally have tons of unread posts in every single board (some boards with 600+ unread posts), and I can tell you it doesn't look great. I even had to go for the 'void' version of the notice (gray color), because it was so plain in my face otherwise. It still looks bad. I should probably rewrite this to use a regular font to show the number of unread posts. But it will then definitely be out of touch with the rest of the website.
Quote from Johnny54 on April 3rd, 2014, 01:11 AM
I will hold back my definite answer till after seeing it work with more unread post.
New users, too, will probably have tons of unread posts...
Unless I do something to mark all posts before their registration as read... Hmm. I have the registration date in the members table, so I guess I could even add a test for that without having to modify the log_topics/log_mark_read tables or anything.

Okay, so... Anyone else..?
968
Features / Re: New revs
« on April 2nd, 2014, 11:41 PM »
[Commit revision bf33fa8]
Author: Nao
Date: Wed, 02 Apr 2014 23:40:58 +0200
Stats: 1 file changed; +8 (insertions), -6 (deletions)

  • If someone's interested in trying to optimize this query... Here's my updated version of get_unread_numbers that supports board IDs (rather poorly.) (Subs.php)
969
Features / Re: New revs
« on April 2nd, 2014, 11:36 PM »
[Commit revision 3d8ce55]
Author: Nao
Date: Wed, 02 Apr 2014 12:10:33 +0200
Stats: 1 file changed; +7 (insertions), -2 (deletions)

  • Restored the double arrow glyph on redirection board status icons. This one only adds 31 gzipped bytes, which is way better than doing a 'proper' new icon. Also, the technique can be reused to add other glyphs to new classes, and it allows me to remove the color filter (-15 bytes), which I wasn't sure I was going to keep because it's not portable. Yes, the glyphs aren't portable either, but I think it's semantically better to reposition them, or hide them, than to play with filters which may still be relatively confusing to CSS users. (sections.css)

[Commit revision d0fba41]
Author: Nao
Date: Wed, 02 Apr 2014 14:16:29 +0200
Stats: 1 file changed; +6 (insertions), -4 (deletions)

  • Fixed template errors never being shown in context if the template file was loaded through weget. (ManageErrors.php)
  • Still in the same code block, fixed highlighted line not encompassing the entire line width on long lines. (ManageErrors.php)
970
Features / [Poll] Re: Board status icons: what's the point?
« on April 2nd, 2014, 11:19 PM »
The 'New' icon next to sub-boards was just the same as board status icons: an indicator that a message was posted today in that board. I didn't intend for it to be confusing, I only forgot to change the way it's shown.
I tried doing it differently (adding a custom icon instead of the 'New' text), but it didn't work, so...

Went for a different solution.

A bit crazy but...

1- Board icon opacity still represents the board's activity, i.e. date of the most recent post.
2- Redirect board icon now has a glyph to indicate it's a redirect board. (Can't be seen here, but..)
3- Sub-boards NO LONGER show an activity indicator, and instead they show you the exact number of unread posts in that board. (Main boards also do that, next to the board name.)

Yes, you read it right... The very thing I removed from Wedge this week because it was buggy. I somehow "fixed" it, and made it more interesting, by actually giving you the number of unread posts for a board.

The only problem is that it tends to give too much information now. Ah ah. The problem is not EVEN the performance of that query. It just is satisfying to me. It takes something like a millisecond to run -- faster than most other queries used to get the board list!

What do you think..? Feel free to comment on points 1 and 3 (given that 2 isn't visible for now.)
Posted: April 2nd, 2014, 11:06 PM
Quote from Nao on April 2nd, 2014, 11:06 PM
It takes something like a millisecond to run -- faster than most other queries used to get the board list!
Correction-- the unread topic query takes a millisecond to run, while the unread boards query takes a tenth of a second to run. That's much higher. Maybe the query can be optimized (it's currently using a filesort, and I'm afraid I'm still not comfortable enough with finding ways to improve on that), possibly by adding some safeguards or maybe new columns.

Still, it's a cool addition, and even if it doesn't make it to Wedge, it might make it to a user setting of sorts, something that could be disabled by default, so that only those who WANT it can view the number of unread board posts.
971
Plugins / [Plugin] Re: HideMod
« on April 1st, 2014, 08:15 PM »
It's been a long week, for me... :-/

I still have 15+ PMs left to read, for instance. Same for e-mails. Argh...
972
Features / Re: Plugin revs
« on April 1st, 2014, 08:14 PM »
[Commit revision b66bfda]
Author: Nao (Signed-off)
Date: Tue, 01 Apr 2014 20:14:07 +0200
Stats: 2 files changed; +2 (insertions), -2 (deletions)

  • $context['browser'] is long gone, actually... (calendar/Calendar.php, wedgedesk/src/WedgeDesk-Post.php)
973
Archived fixes / Re: wuthering theme "new" error
« on April 1st, 2014, 08:09 PM »
What new image?
974
Features / [Poll] Re: Board status icons: what's the point?
« on April 1st, 2014, 08:07 PM »
First option implemented. Fixed, then, I guess..?

Still open to implementing alternatives, but... It's a bit late :P
975
Plugins / [Plugin] Re: HideMod
« on April 1st, 2014, 08:05 PM »
Fixed... I think, eh! ;)