Miscellaneous/WIP screenshots

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Miscellaneous/WIP screenshots
« 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.

 show_posts_likes_privacy.png - 10.96 kB, 461x286, viewed 297 times.

 ignore_this_user.png - 11.68 kB, 383x226, viewed 291 times.

When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Road Rash Jr.

  • Posts: 76
Re: Miscellaneous/WIP screenshots
« Reply #1, 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?
Stick a FORK in it, it's done.
(Error 69) No Seniors Porn Found Here

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Miscellaneous/WIP screenshots
« Reply #2, 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.
Re: Miscellaneous/WIP screenshots
« Reply #3, 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)

 phpinfo1.png - 64.63 kB, 953x998, viewed 276 times.

 phpinfo2.png - 91.1 kB, 988x1007, viewed 280 times.


live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,668
Re: Miscellaneous/WIP screenshots
« Reply #4, on March 20th, 2013, 06:58 AM »
* live627 likes 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.
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Miscellaneous/WIP screenshots
« Reply #5, 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 >_<
Re: Miscellaneous/WIP screenshots
« Reply #6, 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.

 phpinfo3.png - 78.17 kB, 977x976, viewed 243 times.

Re: Miscellaneous/WIP screenshots
« Reply #7, 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.

 installer_langselect.png - 42.11 kB, 967x690, viewed 246 times.

Re: Miscellaneous/WIP screenshots
« Reply #8, 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.

 piepolls_wip1.png - 61.15 kB, 958x1022, viewed 217 times.

Re: Miscellaneous/WIP screenshots
« Reply #9, 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)

 piepolls_wip2.png - 27.69 kB, 938x546, viewed 219 times.


Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Miscellaneous/WIP screenshots
« Reply #10, 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.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,064
Re: Miscellaneous/WIP screenshots
« Reply #11, 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 ;)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Miscellaneous/WIP screenshots
« Reply #12, 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.

Nao

  • Dadman with a boy
  • Posts: 16,064
Re: Miscellaneous/WIP screenshots
« Reply #13, 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.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Miscellaneous/WIP screenshots
« Reply #14, 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)