Discussion in 'Plugins and Coding' started by Lezappen, Jul 26, 2016.
Mostly for the report section.
I was thinking of it being under the form of a browser script.
This has been suggested many times in the past, I think it could be in the new website.
It depends on which category you want to hide it.
If it's in the player reports then perhaps a (staff only) archived area where locked and dealt with reports would go into there for future reference.
It shouldn't be applied to locked threads in the bug reports or something off-topic that got locked because someone necro-posted as players could view them if they seek some answers in them.
So maybe staff could get access to thread tools and move locked threads manually into the respective areas?
It can also be a script seperate from the website.
Not sure how that works (don't really know about coding) but if there it's easy to do so unlike moving threads to archive then +1
I wrote a greasemonkey script that can hide locked threads on this forum.
Works on my machine certified, but it may break at any time.
After installation this will add a checkbox to that user-menu-thing to toggle the script.
The gui is actually way better than I expected (the presence of the checkbox inside the profile menu, very good idea ! )
I can't wait for september when I can try this out on my machine...
Very cool script...
I don't know what else to say but more thanks ! This will be saving me so much time and make it so much easier to go through reports .
P.S : Is greasemonkey only for firefox on PC ? Or can you have it on chrome too ? On a mac ?
Edit : Another Thank you !
I can't thank you enough XD
On firefox you need the greasemonkey addon, on chrome there is tampermonkey. Those should work on any os. I'm not sure about safari, there seems to ba a plugin for that but I can't test it.
For the hiding part, you can see the code here. The script basically loops through all elements that have the classes 'discussionListItem' and 'locked', and sets their css attribute 'display' to 'none'.
+1 Cred checked code seems safe.
I got the script to work on mozilla firefox, and it really helps
Thank you so much
I would like to precise for those downloading it that the checkbox only appears when you are in the player reports section of the forums.