Wedge

Public area => The Pub => Features => Topic started by: Arantor on March 20th, 2013, 03:51 AM

Title: Miscellaneous/WIP screenshots
Post by: Arantor on March 20th, 2013, 03:51 AM
I did start posting this stuff in New Revs as and when it happened, but in the meantime, here's some things I've been working on.

The first is a collection of two things in the show posts/show topics area. Firstly, likes are now shown for the posts there. I may add this to other areas too, but one step at a time.

Secondly, and perhaps more interestingly, I've set it up now so that you can always see your own posts. This is a small thing but potentially important - there are a ton of posts on sm.org I can't see any more. Even though they're mine, I can't see them - because I don't have access in the relevant boards to see my own posts. So I've modified the permissions checking - if the person viewing posts is a true admin, or it's the user looking at their own posts, the gloves are off - no checking at all is performed on permissions. There's no need for it -  I see no reason why you shouldn't be able to see your own posts at all times, after all, you wrote them!

What I have done though is tweaked it - if the board is no longer visible to you, the title is not linked. Topic privacy... there's no sane way I can do that in profile view, so that will remain linked, but we'll see how big a deal that turns out to be in practice, I'm not convinced it will be a huge issue.


The second picture is much simpler; leveraging the ignore user facility, except with a handy-dandy link for it. Couldn't think of better icons so reused the thumb-up/thumb-down motif, like in Ancient Rome. Thumbs down for good bye!


I'm not yet ready to commit this, there's other stuff I want to do first, but I thought I'd share in the meantime.
Title: Re: Miscellaneous/WIP screenshots
Post by: Road Rash Jr. on March 20th, 2013, 04:16 AM
Arantor, I like that feature but if a person can see their post from a folder they no longer have access to, are they able to edit/delete it or not?
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 20th, 2013, 04:19 AM
They cannot edit or delete it, since if they can't enter the board, they automatically have zero permissions to do anything with it anyway - and no buttons are displayed for that eventuality.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 20th, 2013, 05:17 AM
Also, my other project for the evening: a phpinfo() page in the admin panel. This has proved surprisingly intractable because phpinfo() vomits a lot of its own markup and its own formatting - and there's no way around that. So there's some 'creative interpretation' going on.

More still to do but it's definitely improving compared to the first time I just dumped phpinfo() into the page (it broke a lot of other stuff, I was most surprised)
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on March 20th, 2013, 06:58 AM
/melikes this
Do you want some design tips? I'd move the logo above the list and add the two classes cs0 cp4 to the tables.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 20th, 2013, 03:02 PM
That is much more difficult than it sounds to do since the nice menu is my code - everything else is just reformatted phpinfo(), pulling the logo out is a fun find-the-table-tag exercise, but I'll see what I can do when I get home.

Getting this far took two hours >_<
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 21st, 2013, 01:44 AM
OK, so here's what I have thus far. You have no idea how much swearing went into this part and I welched on using regexps because I'm not quite proficient enough to do exactly what I want with them :(

But it works and I'll probably commit it in this form at some point.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 21st, 2013, 11:26 PM
I don't know how many of you remember the installer actually offers a language selection.

I did some work on that bit today so it actually displays the flag and language name - amongst fixing up detection of default language based on what your browser is set to do.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 28th, 2013, 10:12 PM
This one's a bit unusual, given that it isn't a core feature (though it did require some overhaul in the core, but as it happened, that was no bad thing)

Simple enough and should be straightforward enough to understand what's going on ;)

Dragooon mentioned the ChartJS library to me recently, so I thought I'd give it a try and this is the result so far.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 28th, 2013, 11:48 PM
And now an updated version, which also includes the voter names if that's applicable (i.e. following the same visibility as normally enforced)
Title: Re: Miscellaneous/WIP screenshots
Post by: Dragooon on March 29th, 2013, 06:08 AM
That's pretty nice, and kinda ironic. I am looking for a good PHP GD charting library ATM :P.
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on March 29th, 2013, 12:10 PM
hi im a forum admin i love wedge but it sucks because i installed the pie plugin on my website at wedge.org and dunno how to get it to work... helpz me!!!!!!!!!!!!!!!!!!§§§§§ §§§section[1]
 1. Well, the section sign really is what you get when you press Shift + ! on an Azerty keyboard ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 29th, 2013, 04:21 PM
Quote from Dragooon on March 29th, 2013, 06:08 AM
That's pretty nice, and kinda ironic. I am looking for a good PHP GD charting library ATM :P.
JpGraph. It's a bit big but it makes a nice job of it.
Quote from Nao on March 29th, 2013, 12:10 PM
hi im a forum admin i love wedge but it sucks because i installed the pie plugin on my website at wedge.org and dunno how to get it to work... helpz me!!!!!!!!!!!!!!!!!!§§§§§ §§§section
First, update the site to r2033 because the biggest part of r2033 was about providing support for this plugin. Yes, really.
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on March 29th, 2013, 04:26 PM
Good, working now... :)

I'd suggest making it smaller, though. Perhaps 200x200. This helps prevent the legend box from being shown on the bottom right (instead of the right) of the canvas.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 29th, 2013, 04:31 PM
Quote
Perhaps 200x200. This helps prevent the legend box from being shown on the bottom right (instead of the right) of the canvas.
Even with my ~1000px width it was working as expected :/

Easy fix, just change the size in PiePolls.php (since I put both the source and template in one file because I'm badass, though it's also for performance)
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on March 29th, 2013, 05:17 PM
Sorry, missed your post...
I'd already changed everything as desired, though, just waiting for your opinion... ;) Which you may already have posted, ah ah! Will check.

Also, before I forget: I noticed that even though the board list legend has 'polls' in its list, there's actually no poll icon next to topics with a poll. Oops?!
I've started working on adding it, but then I also decided I wanted to drop the current system and have something that'll save us some space in the CSS... (Either by dropping base64 use for these mini-icons, as they're only used in topic lists and wouldn't add too many hits to a server, or by going further and using spans... Uses more HTML bytes, but avoids glitches that can be seen here and there.)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 29th, 2013, 05:46 PM
Aaron mentioned it ages ago, but we never knew what to do with it.
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on March 29th, 2013, 06:18 PM
I don't remember him mentioning it. Maybe I didn't catch his post, which is quite likely...

Still, I'm going to finish work on that this weekend. Along with my notification rewrite... (This thing never seems to end...!)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on March 31st, 2013, 08:39 PM
This afternoon's work, so far. That and the long text file documenting how all this stuff needs to work.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 1st, 2013, 04:33 AM
When not participating in moments of fun elsewhere[1], this happened.
 1. Lead Stableboy, no less
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 1st, 2013, 04:42 AM
That is some awesome stuff
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 1st, 2013, 04:47 AM
Wait until you see the third screen ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on April 1st, 2013, 04:58 AM
I'm liking it
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 4th, 2013, 05:51 AM
I think this one is fairly self explanatory.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 5th, 2013, 01:03 AM
Slight evolution on the previous one.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 8th, 2013, 03:30 AM
Still going. Here's where you edit infractions you already set. Yup, you can actually enforce that only certain groups can issue big scary warnings. The way it's also set up, you can enforce that junior moderators can *only* issue the preset warnings you've defined if you want. Not even customise the wording, if that's your preference.
Posted: April 8th, 2013, 02:58 AM

Oh, and if you want to add a custom note, here we go.

Did I mention I like fieldsets?
Title: Re: Miscellaneous/WIP screenshots
Post by: Aaron Smith on April 8th, 2013, 04:19 AM
Wow! This is really coming together nicely. Really digging the UI aspect. Seems to flow really well.

Quick question. What if you had 20 different languages? It would just add another box for each language? That might not be so nice. Can't really imagine having that many languages, but just playing devil's advocate.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 8th, 2013, 04:23 AM
Yes, it would - as it stands right now. How else might you set up a warning for each language?

I suppose what I could do would be to have it add one for the default forum language by default, then let admins add them on demand after that. As I said on my thoughts lately, doing i18n stuff is *hard* :P

(I'm sort of making this up as I go along. Prior to 31 March, the infractions system existed totally as a variable set of ideas in my head!)
Title: Re: Miscellaneous/WIP screenshots
Post by: Aaron Smith on April 8th, 2013, 05:16 AM
Quote from Arantor on April 8th, 2013, 04:23 AM
I suppose what I could do would be to have it add one for the default forum language by default, then let admins add them on demand after that. As I said on my thoughts lately, doing i18n stuff is *hard* :P
I guess it comes down to what is easiest for the largest number of people, but still manageable for the rest. The vast majority of installations are only going to have a single language. Next largest group of installations is likely two languages. The number of installations with 20 languages is likely crazy small and maybe non-existent.

So using that logic it is maybe ok to leave it the way it is.

I'd be a terrible lawyer. I just talked myself out of my own argument :D
Quote from Arantor on April 8th, 2013, 04:23 AM
(I'm sort of making this up as I go along. Prior to 31 March, the infractions system existed totally as a variable set of ideas in my head!)
Keep up the good work. I love seeing the progress every day. I can't comment on too much of it, because honestly a lot of it goes over my head. Still, seeing the progress it encouraging.
Title: Re: Miscellaneous/WIP screenshots
Post by: Road Rash Jr. on April 8th, 2013, 05:42 PM
I agree with Aaron Smith regarding seeing daily progress on this project. It's refreshing. I may even present you with the same R&D offer our corporation made to the SMF team years ago that they talked themselves out of.

Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 8th, 2013, 06:39 PM
The one problem with accepting outside funding is that we stop building it how we see fit, and start building what others want us to build, which is not the same thing at all. Features start getting adopted that are specific to a single use/single installation, rather than a broader use (and I'm aware that this has happened already)

Right now we build what we want to build and that's ultimately the bottom line - people can make suggestions and whatnot, and we're not under any obligation to accept them, but we will if we can see the benefit of it. But the minute money gets involved, it changes that dynamic, and I'd hate to compromise what we have for the benefit of the few at the expense of the majority. I'm just very wary about it.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 8th, 2013, 06:47 PM
Also, I played around with the display, making the notification bit full width rather than partial width, and collapsing the different languages by default.
Title: Re: Miscellaneous/WIP screenshots
Post by: Road Rash Jr. on April 8th, 2013, 07:40 PM
Quote from Arantor on April 8th, 2013, 06:39 PM
The one problem with accepting outside funding is that we stop building it how we see fit, and start building what others want us to build, which is not the same thing at all. Features start getting adopted that are specific to a single use/single installation, rather than a broader use (and I'm aware that this has happened already)

Right now we build what we want to build and that's ultimately the bottom line - people can make suggestions and whatnot, and we're not under any obligation to accept them, but we will if we can see the benefit of it. But the minute money gets involved, it changes that dynamic, and I'd hate to compromise what we have for the benefit of the few at the expense of the majority. I'm just very wary about it.
We have always issued unconditional grants based on recognition of supporting a worthy cause to help not hinder nor get involved in R&D. We seek no rewards/compensation or recognition for this grant. Nor is there any restrictions on its use or abuse. There are no obligations or expectations. We have in the past issued grants to some very successful venture and we have also seen some take advantage of the offering and disappear. So be it, I'm sure what ever they used it for was to some benefit. We don't even require an accounting of the funds allocations.
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on April 8th, 2013, 10:59 PM
Pete, do you mean you've modified the template header..? Because I've been modifying it a lot, too... Well, not visually, but internally... Anyway... I think it's looking good, right now..? I can understand hiding the full set of flags by default if we have many, 3 may be a tad too many, but what to replace it with..? A flag of the current language, plus an arrow to indicate a popup can be shown...?
(I also need to do something to unify the popups that are everywhere, i.e. mini-menus, main menus, search popup and notification popup... Would be nice if they all more or less followed a common pattern...)

Also, what size of the language file for your new feature..? I fear the worst :lol:

Regarding R&D, I don't really have an opinion right now. I don't need the money, but I think that nearly three years of uninterrupted, full-time work on a free project is bordering on madness, and I guess I can't continue like that forever. Emphasis on 'full-time' and 'forever'... These are usually not compatible.
So, being paid to do this, would be a great excuse to keep working on something I've always loved doing. (Well, always loved doing the front-end stuff -- the back-end a bit less, but then Pete loves working on it, which is why we are perfectly complementary here ;))

Anyway... It's the usual conversation. As I don't know what exactly is Pete's position on whether or not he sees himself working on Wedge in a few years from now, and I myself can't predict the future that easily (what if I suddenly have a kid..?), it's relatively pointless to make statements about the future of Wedge. Its only future, is that it's going to be out for the public to enjoy, one day. When we feel confident everything's perfect.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 9th, 2013, 12:18 AM
Quote
Pete, do you mean you've modified the template header..?
I have changed Subs-Template.php, yes. Specifically in this section:

Code: [Select]
// If the user is banned from posting, inform them of it.
elseif (!$showed_banned && isset($_SESSION['ban']['cannot_post']))
{
$showed_banned = true;
echo '
<div class="windowbg wrc alert" style="margin: 2ex; padding: 2ex; border: 2px dashed red">
', sprintf($txt['you_are_post_banned'], we::$is_guest ? $txt['guest_title'] : we::$user['name']);

if (!empty($_SESSION['ban']['cannot_post']['reason']))
echo '
<div style="padding-left: 4ex; padding-top: 1ex">', $_SESSION['ban']['cannot_post']['reason'], '</div>';

if (!empty($_SESSION['ban']['expire_time']))
echo '
<div>', sprintf($txt['your_ban_expires'], timeformat($_SESSION['ban']['expire_time'], false)), '</div>';
else
echo '
<div>', $txt['your_ban_expires_never'], '</div>';

echo '
</div>';

I'm still not really in a position to commit anything so it's not like there's any immediate pressure on it - the reality is that even after I get it completed, there's going to be a *lot* of testing going on.
Quote
I can understand hiding the full set of flags by default if we have many, 3 may be a tad too many, but what to replace it with..? A flag of the current language, plus an arrow to indicate a popup can be shown...?
That's not what it's about. This is about providing admins with the ability to set per-language facilities for warning templates. At some stage in some fashion, there will *need* to be all the flags. The later screenshot is simply taking what was already there (one fieldset per language) and collapsing them. If you have 50 languages installed, you may well need to set up 50 languages' worth of warnings. I don't really want to go down the popup route with this. Doesn't feel right.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 12th, 2013, 01:19 AM
So, one of the things I needed to do was fix up the ban settings in the profile area. I never fixed it up with the replaced ban system. Long story.

Anyway, while I started work on it, it occurred to me that a ban-yourself option might be worth doing, if you want to take a timeout from somewhere and don't necessarily have the proper discipline to enforce it - like me at times :P

This is WIP. I'd be quite happy to modify wording if people have better suggestions.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on April 12th, 2013, 02:44 AM
Deactivate Account
Suspend My Account
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on April 12th, 2013, 02:52 AM
Aren't those covered in self bans?
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on April 12th, 2013, 02:55 AM
I was actually suggesting calling it by something of the sort rather than Ban yourself.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 12th, 2013, 03:51 AM
Sort of but sort of not the same thing. Suspend account or deactivate account implies a longer term permanence, rather than a shorter-term time-out.

That's why 1) the default is 2 weeks and 2) it's not in the screenshot but there's no 'indefinitely' option to the timescale.

I should add, I'm not exactly that enthused by this (it just struck me that it would fit alongside what I was already doing), it would not really worry me to actually not implement this and make it a plugin later.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 12th, 2013, 04:17 AM
I like it, kind of like a self ban at a casino.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on April 12th, 2013, 04:20 AM
Ban yourself sounds more permanent to me than Suspend. For example I've been suspended [from school] for x number of days and I've had a friend or 2 been expelled. I guess this is the view that kinda ran thru my mind.

There were 2 types of suspensions internal and external. An internal suspension I was allowed to go to school but not my regular classes for set number of days, I see this as the option of not being able to post. An external suspension i was not allowed to go to school for set number of days, so I viewed this as not being able to visit the site.

While the word ban reminds me of my friends that were expelled just were not allowed back to the school ever.

Not sure why this is where my mind went :P but that was the cause for my suggestions.

hmm I actually already assumed this was plugin material not sure why.

Posted: April 12th, 2013, 04:19 AM

Ahhh now I know why... next topic that way << is plugin revs.. I knew I saw the word plugin somewhere :eheh:
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 12th, 2013, 04:20 AM
Hmm, yes, I see your point.

As for being plugin material, you're right. It should be. It doesn't fit in the core. It's not exactly a lot of code at this point (since it essentially just issues a very specific type of warning in the log)

/megets out the bone saw and starts cutting :niark:
Title: Re: Miscellaneous/WIP screenshots
Post by: Pentaxian on April 12th, 2013, 01:39 PM
I think it's just fun.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 13th, 2013, 06:15 AM
One of the things I never did when overhauling the ban system was fix up the Profile > Ban User page. Now, as mentioned I was sort of playing with it, but there still wasn't a way to actually ban a user from their profile.

Here's the WIP I have of that.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 13th, 2013, 06:20 AM
Just quickly, in case anyone's wondering why I need to do this page.

In the SMF days, Profile > Actions > Ban this user would merely redirect to the add ban trigger page, with some details filled in.

This time around, though, we don't have ban triggers as such, consequently we also don't have the old add trigger page, so I have to write a shiny new one. No huge deal, but it's one of the things that's been kicking around for a while that needed to happen.

@Nao, the button with icon is the new input.warn class I made. It's defined in index.member.css and I solved the issue I had by simply reincluding the same declaration for background-position into the declaration (so the new background declaration doesn't override the previously defined background-position)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 14th, 2013, 06:27 AM
Another shot of the infractions system in action. Still WIP.
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on April 14th, 2013, 10:34 AM
The colors... they burn...
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 14th, 2013, 02:26 PM
Yeah, there is that, but I didn't just want to have the wording on the right.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 16th, 2013, 11:11 PM
Less vicious colours, more information, and yay broken CSS (since this is no longer using the .warn class, this is using the input.new class - but just for fun, they're all broken in Chrome because the virtual .button_class is being overridden by the styling on input[type="submit"] definition of padding.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 17th, 2013, 04:04 AM
Nice colours :) Good job
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 17th, 2013, 04:09 AM
Thanks :)

Though there is more to see yet ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 17th, 2013, 04:09 AM
Oh I am sure you are doing great work indeed :)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 17th, 2013, 04:10 AM
You replied while I was attaching another screenshot!
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 17th, 2013, 05:17 AM
That is some awesome stuff. Punishing users will be way more fun :p
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 17th, 2013, 05:20 AM
Oops, it shouldn't be fun :P

I'm just working on adding the rest of the stuff to that popup, there's quite a bit to it in the worst cases.
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on April 17th, 2013, 05:28 AM
Color change! :eheh: Don't know if yellow or blue works better for the revoked status.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 17th, 2013, 05:41 AM
I'm not sure about the colour change, though I did try it. Also, not sure about this presentation but I'm satisfied with it for now.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 17th, 2013, 07:30 AM
Useful and straightforward!
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 18th, 2013, 04:50 AM
And somewhere to revoke them too.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 18th, 2013, 06:43 AM
This is of course an example of a really bad user. Normally you wouldn't get this in a real forum situation, at least I hope not.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 24th, 2013, 10:19 PM
Let's say, purely hypothetically of course, that you could put banned users into a group (and replace their primary group with this new group while banned)

Let's say, also purely hypothetically that you want to add some more formatting options to that group.

All purely hypothetical of course. Except for the attached which is not a mockup but actual proof of implementation. :niark:

/mestrikes another mod off the list that isn't needed any more.
Posted: April 24th, 2013, 10:14 PM

(As in, you can create a Banned group, and use this to format it so you don't need 'Slashout Banned Members' if you want to do that.)
Posted: April 24th, 2013, 10:16 PM

Actually, it's two mods on the list that aren't needed any more. Still hundreds to go though.[1]
 1. Yes, I have a list of every SMF mod, complete with the state of whether Wedge has it built in, whether Wedge should get a similar mod (or whether it's already been made), or not. There are still 297 'Yes', 526 'Maybe', 103 'to be core', 181 'already core'. Though I add my own todo as 'to be core' so it's not entirely accurate.
Title: Re: Miscellaneous/WIP screenshots
Post by: MultiformeIngegno on April 25th, 2013, 01:28 AM
Impressive ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 25th, 2013, 05:36 AM
Another minor enhancement, though this one requires slightly wider changes than what I've done so far in places, so it won't be everywhere at once.

Essentially when you do a search in the admin panel it will now give you the area title that a setting is in, if appropriate. The link still takes you directly to the setting, but this way you can actually find it and have some idea where it is in the scheme of things. This is useful because there are a few settings that have duplicates (legitimately, because they directly have consequences in two separate areas)

I have not shown any in this screenshot but I know of one for certain already and I'm likely to have a few more yet.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 28th, 2013, 06:20 AM
So, here's where you set up that you're giving someone an infraction, but that you're not permitted to create 'ad-hoc' infractions. IOW, you're only able to give out the infractions that the administrator has permitted you to issue, so it's just effectively one big dropdown and the rest is shiny display.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 28th, 2013, 06:21 AM
That is some exciting stuff!
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 28th, 2013, 06:24 AM
:)

It's been one hell of a ride, though, but the end is finally in sight. Just as a heads-up to @Nao, I've made a profile.js file and moved my code into it from this, as well as a couple of other blocks I could 'easily' move into profile.js  It just seemed better than having the template cluttered up with stuff that shouldn't be cluttered up. Right now it's also set directly off the main profile loading but we can always break that down and only load it for the pages we need it on.

I also moved one function out of the register template and into register.js (seeing how it's called on the same page anyway and fixed a bug in it in the process)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on April 30th, 2013, 01:33 AM
Like my thought said, I'm in the phase of procrastinating with infractions because it's been a long, dull ride and winding me up so I add new features to pass the time.

Today's little contribution: expanding ignorable boards to be selectable by the admin.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on April 30th, 2013, 02:23 AM
I like! I spam. I am.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 9th, 2013, 07:38 PM
My afternoon's project. Not finished, of course.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 9th, 2013, 09:36 PM
It all works but I just feel odd about its code :/

Anyway, @Nao or anyone else, any thoughts about presentation?
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 9th, 2013, 11:18 PM
Looks ok to me, but viewing from my phone ATM. Will take a better look when I'm in front of PC later
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 9th, 2013, 11:19 PM
Well, it's also a core feature so when Nao updates the site to current SVN, you'll no doubt get to try it. ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 9th, 2013, 11:37 PM
Sweet. Being able to view and use it will yield better feedback anyway
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 9th, 2013, 11:38 PM
Agile development, yo.
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on May 10th, 2013, 12:24 AM
Quote from Arantor on May 9th, 2013, 09:36 PM
It all works but I just feel odd about its code :/

Anyway, @Nao or anyone else, any thoughts about presentation?
I like it. I like the idea, and I like that it's windowbg stuff, even though it's not in line with the rest of the visuals.
I'd recommend using text links instead of buttons, though -- this would make the box a bit less intrusive, mesays.

Will probably have a play with the source code...
May I ask why you took to add your functions through prototypes, rather than including them Inside the main object, like the rest...? A leftover from the SMF way of doing things? ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 10th, 2013, 12:29 AM
Because I had to do something with it. The original suggest objects were contained inside the wePersonalMessageSend function as properties and thus not accessible outside of that object.

I dunno, it just felt slightly more natural to do it the same way as other stuff does it. *shrug*
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on May 10th, 2013, 12:42 AM
In SMF, all objects had prototypes, even if not used outside of the object. I turned most of them into self-contained this.function déclarations, for these reasons:
- it looks a bit better...
- it compresses better, sometimes much better
- these functions can access their parent's local variables, so no need for this.opt for instance... (dunno why it's still in this one.)

The only drawback is that it's supposed to consume more memory, but there's no point in worrying about that when you only create a couple of these objects per page... ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 10th, 2013, 12:45 AM
I spent an hour futzing with it and farting with variable scope. JS is a tool I can use but it doesn't mean I like it...
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on May 10th, 2013, 12:52 AM
Eheh ;)

So I have your authorization to include these into the object, right..?
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 10th, 2013, 12:53 AM
Quote from Arantor on May 9th, 2013, 11:13 PM
+ Contact list is now shown in the PM area, allowing you to send a PM to/bcc your contacts. As I intimated I'm not overly happy with the JS I've done here, it feels fragile and ugly and yet more organised than before. Feel free to rewrite/refactor/ignite. (PersonalMessage.template.php, PersonalMessage.template.php, pm.js, index.member.css, PersonalMessage language file)
Go nuts ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Nao on May 10th, 2013, 12:53 AM
Will do!
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on May 10th, 2013, 01:40 AM
Collaboration can be nifty to watch!
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 10th, 2013, 03:39 AM
I've always wanted more options for the editor. I like users not having to write mods for something I can reasonably trivially support in the core. This has made the editor code slightly bigger, haven't benchmarked it in terms of size.

I'm planning to offer up the whole editor thing itself being organisable, but just this for now.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 10th, 2013, 03:51 AM
@Nao, it's likely you'll want to tweak the code. I'm not very happy with what I have but it was the only way I could see of getting it from the bbcbox initialisation up through to the bbcbox object and then to the editor object. (This will become clear when I commit it, but if no-one's that bothered I might just skip that bit)
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 10th, 2013, 04:51 AM
Have to say I do like the contact list :cool:
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 16th, 2013, 06:28 AM
It's been a few days since I posted in here with something I'm 'definitely' doing rather than asking input on. (Though this is also a WIP)

So, the plan is to offer a list of who can see and edit a given field rather than the current options. I have a few things to work out in the design but it's getting there ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 21st, 2013, 08:36 PM
So, finally getting round to a few things.

In particular, I'm getting shot of the language 'settings' page (since it only has two settings, one of which was already duplicated)

So, the main language page as shown now lets you select the default, as well as whether users get to play with choosing their own language and on top of that it also sorts out what language choices users can have.

Installing a language pack then becomes the job of dropping files into the languages folder then visiting this page to enable it, and this page to deselect a language pack. (In theory we could just bundle all the translations in a release and just let users enable the ones they want)
Title: Re: Miscellaneous/WIP screenshots
Post by: Farjo on May 22nd, 2013, 03:42 AM
Looks good and very simple to use :cool:

Is the "Enable user-selectable language support" option and the "Available" column mutually exclusive?
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 22nd, 2013, 03:45 AM
In a real sense, yes, they would be but right now the UI doesn't prevent it - though, if the 'user selectable support' option is unticked, the available list is enforced to be the default language (so that one is enforced to be set)
Title: Re: Miscellaneous/WIP screenshots
Post by: Farjo on May 22nd, 2013, 03:56 AM
I wonder if anyone has "user selectable support" switched off? Apart from UKIP  ;) But apart from zenophobia I cannot think of a reason to disable it.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 22nd, 2013, 04:00 AM
I can, actually: install forum, add any language that isn't English, set forum to that language, disable user selection.

You cannot remove English, and if you want a language that isn't English in the forum, that's how it must be done. Not every forum wants every language.

The other thing is that I'm thinking that we might provide all languages with an installation and let users pick what they want.
Title: Re: Miscellaneous/WIP screenshots
Post by: Farjo on May 22nd, 2013, 05:30 AM
"You cannot remove English" Aha I see.

Installing all languages seems like a good idea. It cannot be easy for non-English speakers to be scrabbling around for the instructions, the language file itself and then the admin options. ¿Qué loco!
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 23rd, 2013, 03:02 AM
Another screenshot.

So earlier today I learned that, in fact, newsletters can actually do sending-to-post-count-groups but you have to turn on an unrelated option to make it happen.

So I thought, let's fix up the UI a little, make it adhere to group colouring and stuff like that (since while links to profiles are automatically coloured, instances of group names aren't by magic)... and I thought I'd improve it a little.

The original UI tells you the groups and the number of people in them. I thought this might help. As ever it's a WIP so the extra title that you'd expect on the left will appear but has not done so yet.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 23rd, 2013, 04:08 PM
Oh, yeah, that reminds me. So I set up the facility internally that you could make users re-agree the reg agreement and it would limit them accessing the site. I finally got around to UI for it, though I'm not entirely happy with it.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 23rd, 2013, 04:56 PM
Looks fine to me.

Is it possible however to have one board ignore the can't post/use forum restriction as I really wouldnt want anyone to PM about it.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 23rd, 2013, 05:02 PM
Not without a much larger change that I don't really want to get into.

The PM aspect is purely so people can ask questions about the new agreement without actually agreeing to it. I doubt it will even be an issue most of the time in reality.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 23rd, 2013, 05:15 PM
Quote from Arantor on May 23rd, 2013, 05:02 PM
Not without a much larger change that I don't really want to get into.
I was afraid of that.
Quote
PM aspect is purely so people can ask questions about the new agreement without actually agreeing to it. I doubt it will even be an issue most of the time in reality.
I agree it wouldnt be much. I actually tend to make an announcement when there are changes. The current architecture allows for the user to bitch moan and gripe about the changes publicly rather than sending me a PM. I do like the premise of re-agreeing to the terms, just not so much the PM, but its not like it will change often anyway.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 23rd, 2013, 05:23 PM
Well, this would allow you to announce it, discuss it then implement it.

The PM part isn't exactly advertised. It just says:
Quote
The terms of the agreement have changed since you last agreed to it. In order to continue using this site, you will need to agree to the new terms.
or
Quote
The terms of the agreement have changed since you last agreed to it. You may continue to browse this site but in order to post messages you will need to agree to the new terms.
It doesn't tell the user that PMs are an option, but it is left open in case people do want to discuss changes.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 23rd, 2013, 06:56 PM
Ah and there is the solution. Makes perfect sense just announce the changes a week early, let them go nuts then the changes kick in. /Solved
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 26th, 2013, 10:25 PM
I know it's not a new idea, but I fixed up the old topic maintenance to be a little more useful. (And yes, the checkbox in the category names is indeed a selector for the entire category)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 30th, 2013, 03:49 AM
OH HAI it's been like 3 and a bit days since I posted in this thread.

Latest featurette: a list of all the posts of a user that were reported, from their profile. In my test forum there are 3 open reports - only one of which is a report on one of test6's posts, the other two are that troll Arantor posting nonsense as usual. Anyway, I want to see which posts of test6 were reported, and here we are.

Note that I'm very deliberately and consciously not repeating the entire UI from the moderation centre. It's just a view of the posts, if you want to do something with it, that's what the moderation centre itself is for. This is not about managing a user from their profile but getting a complete picture of what's going on. Besides, the mod centre has more detail for pulling up what the reporters said, what moderators have commented, etc. and to me that's just unnecessary extra fluff.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 30th, 2013, 05:40 AM
And just because I can, I added a new option to the Reattribute Users screen. Thinking about it, there's more that has to be done with this, but this is the start of it.

Yup: in addition to reattributing old posts to a new user, you can now merge two accounts (source is moved to destination and then deleted)
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on May 30th, 2013, 05:46 AM
Slick! Always wanted to merge accounts.
Title: Re: Miscellaneous/WIP screenshots
Post by: spoogs on May 30th, 2013, 05:48 AM
Quote
Note that I'm very deliberately and consciously not repeating the entire UI from the moderation centre.
Makes sense. When the topic link is clicked are you taken the the reported post in the moderation center?
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 30th, 2013, 05:50 AM
If the topic link is clicked, you go to the topic. If the 'View in MC' link is clicked, you get taken to the reported post in the MC including its full details, reports and moderator comments.
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on May 30th, 2013, 06:05 AM
Quote from Arantor on May 30th, 2013, 05:50 AM
If the topic link is clicked, you go to the topic. If the 'View in MC' link is clicked, you get taken to the reported post in the MC including its full details, reports and moderator comments.
Some of us forget about the scroll bar and forget to see the whole image :P Okay maybe that is just me!
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on May 30th, 2013, 06:10 AM
Heh, it's easy done.

I should add, I'm not just getting these things entirely out of my head, I have been doing the rounds of reading requests for other software, and if it seems logical and doable, I'll add it in. The reported-posts-in-profile came from a 2 year old topic on sm.org, the merge came from - hmmm - seeing it discussed on XF as being in 1.2.

The best bit, I don't even see this as bloat even if it's a feature that most people won't ever use. I can think of a bunch of big ticket features that could easily be bloat but are critical for some (I'm thinking arcade and the like)... but tools for the job like this actually seems not-like-bloat to me. So I'm actually really happy about adding stuff like this. Because it's 'bloat' right up until you actually need it.

Of course if anyone has any ideas about similar tools they'd like to see, let me know and if I can make it happen without being crappy, lame or fugly, I'll see what I can do ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on May 30th, 2013, 06:26 AM
Not bloat at all Heck the merge would be useful on wedge.org for those who forgot password setup account and prove to whom ever the other is their account. merge-o-presto problem solved. Micro features are what sets most tools apart.At the end of the day the best tool for the job is the one with the right set of options.
Title: Re: Miscellaneous/WIP screenshots
Post by: Powerbob on May 30th, 2013, 08:14 AM
I really like this Arantor, very useful indeed :cool:
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on June 5th, 2013, 05:25 AM
So yet another feature: the ability to search the language codex currently in the system. (No, that SkinSelector - SkinSelector is not a bug. It's the SkinSelector plugin, showing the SkinSelector language file.)
Posted: June 5th, 2013, 05:24 AM

I'm not entirely happy with the layout but that's pure aesthetics, the actual guts works ;)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor 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.
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on June 9th, 2013, 03:46 AM
What is this broken thing?
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor 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.
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on June 9th, 2013, 03:57 AM
Ah, I like it, I really do! This is much better than all the arrows, and less confusing.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor 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)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on June 9th, 2013, 05:03 AM
*cough*
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on June 9th, 2013, 05:44 AM
Thanks for coughing :P Hey,  what happened to the sneeze??
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor 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
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on June 9th, 2013, 07:54 AM
aww...
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor 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...
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on June 12th, 2013, 03:51 AM
This would all be so much easier if categories were really boards with a different presentation... #justsayin
Title: Re: Miscellaneous/WIP screenshots
Post by: godboko71 on June 12th, 2013, 10:20 AM
Quote from Arantor on June 12th, 2013, 03:51 AM
This would all be so much easier if categories were really boards with a different presentation... #justsayin
IPB or vB used to or still is that way might have been a reason for that.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on June 12th, 2013, 11:20 AM
XenForo does it too... but I'm not entirely sure *why*.
Title: Re: Miscellaneous/WIP screenshots
Post by: Aaron on June 14th, 2013, 12:29 PM
Wow, @Arantor! I am pleasantly surprised that you remembered the idea – and actually made it, too. :)

Agreed on the categories bit. A friend of mine has this RPG forum where boards are archived on a frequent basis (story/game based) and as a result he has about 800+ boards now, having run the site since 2006, I'm sure.

Sidenote: the above was actually one of the main reasons for the inclusion of the max-height attribute on the board list by category in the admin centre. Not the ideal solution, but 2.0 RC stage was too late to change the interface drastically, as you can probably imagine.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on June 14th, 2013, 04:32 PM
Well, I'm using a third party module for the actual nested-sortable behaviour and making that play nice has been interesting.

Making categories into physical boards has some interesting consequences. Firstly it means you'd be able to toggle visibility of an entire category quite easily (though of course, view/enter per board still applies), secondly it would mean ensuring we have proper capabilities for handling multiple board types.

But it would also complicate the matters around {query_see_board} which we're still using and it is still partly a bottleneck in things.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 02:11 AM
I've been slacking with Wedge stuff for various reasons. But here's what I'm doing this evening. It's broken, sure, but it's what I'm doing anyway.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 03:21 AM
That's looking a bit better.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 03:37 AM
So I have a bit more done on it, giving all the navigation that is needed. (first screenshot)

The only problem is that in other languages, the longer terminology makes it wrap - see second screenshot. Personally I'm not *that* bothered but I thought I'd outline it anyway just in case anyone was curious what it looked like in that situation (and might have other ideas)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 04:03 AM
Oh, and by the way, now that that screenshot covers all the navigation items on the menu, guess what! The 'My Messages' menu item is now GONE.

<insert obligatory "Aaaand it's GONE" Joker quote>
Title: Re: Miscellaneous/WIP screenshots
Post by: live627 on August 23rd, 2013, 05:20 AM
Quote from Arantor on August 23rd, 2013, 04:03 AM
<insert obligatory "Aaaand it's GONE" Joker quote>
(http://makeameme.org/media/created/aaaaaannnndddd-its-gone.jpg)
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 05:22 AM
Something like that, yes :D

Now I just have to make it actually display unread messages and also do the preview thing.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 03:39 PM
And it's getting closer.
Title: Re: Miscellaneous/WIP screenshots
Post by: Arantor on August 23rd, 2013, 07:12 PM
OK, so now I've implemented that, I feel like taking on the next aspect of doing this, but I'm afraid that the extra code might give @Nao a sort of digital heart attack...

See, the next thing I want to add is another dropdown like those, but in front of the notifications area, which has the user's name and maybe avatar (in tiny form) and the popup includes their avatar and various links to the profile stuff. Means we'll be able to reorganise the profile better and do all kinds of funky with it. Especially if I'll eventually be able to do modal popups with reqwin ;)

But I don't really want to write a third copy of all the code (which will be different *again*) :(