Block button?

Author
Discussion

sjc

Original Poster:

14,712 posts

283 months

Sunday 2nd February
quotequote all
Hi PH,
Please can we look again at having the facility of a “block” button ? So many idiots on PH nowadays that simply spoil threads for others,act like internet hard men,or muck up threads by their own egos.
At the moment the only option I can see is to personally ignore a thread that you may have been enjoying or contributing to.
It might even make the mods jobs easier as a bonus.

Dave.

7,629 posts

266 months

sjc

Original Poster:

14,712 posts

283 months

Sunday 2nd February
quotequote all
Thanks for that … but I think that’s way above my capabilities to implement that !

B'stard Child

30,096 posts

259 months

Tuesday 4th February
quotequote all
sjc said:
Thanks for that … but I think that’s way above my capabilities to implement that !
I'm a bit of a luddite with this sort of thing and I managed it the one time I tested it to see if it worked - I promptly then deleted it and never used it since - I was merely providing a process for those that did want a block facility

Mannginger

9,727 posts

270 months

Wednesday 19th February
quotequote all
Adding my support for the OP, although I'll give the above option a go

Riley Blue

22,129 posts

239 months

Friday 7th March
quotequote all
I might try it too after reading two more interesting threads this morning derailed by the same person irked

dickymint

26,846 posts

271 months

Friday 7th March
quotequote all
Riley Blue said:
I might try it too after reading two more interesting threads this morning derailed by the same person irked
The problem is you're still going to see (and probably read) anything the 'blocked' person has been quoted on.

sjc

Original Poster:

14,712 posts

283 months

Friday 7th March
quotequote all
dickymint said:
Riley Blue said:
I might try it too after reading two more interesting threads this morning derailed by the same person irked
The problem is you're still going to see (and probably read) anything the 'blocked' person has been quoted on.
Still a whole lot better than the current set up though.

jagnet

4,235 posts

215 months

Friday 7th March
quotequote all
If anyone fancies Beta testing, I just whizzed up a no-frills Chrome extension to hide user posts and their quoted posts. It'll also reset the alternating post backgrounds.

click and 'save link as': (link removed) and then unzip it.



Edit: now available on the Chrome Web Store and Mozilla Add Ons

PistonHeads User Blocker extension for Firefox:

addons.mozilla.org/en-GB/firefox/addon/pistonheads-user-blocker/

PistonHeads User Blocker extension for Chrome:

chromewebstore.google.com/detail/beokeoaalfeldpddmgnhpajdmfmleggk




Refresh the Pistonheads page.

You can right-click a user name next to their post and then Block User



Or click on your browser extensions -> PistonHeads User Blocker -> input a name manually. You can also unblock users that way.




Edited by jagnet on Wednesday 12th March 08:29

dickymint

26,846 posts

271 months

Saturday 8th March
quotequote all
jagnet said:
If anyone fancies Beta testing, I just whizzed up a no-frills Chrome extension to hide user posts and their quoted posts. It'll also reset the alternating post backgrounds.

Right click and 'save link as': https://phables.co.uk/assets/phables-blocker.1.1.0... and then unzip it.

  1. paste chrome://extensions/ in your Chrome address bar
  2. make sure Developer mode is turned on (top right)
  3. Click Load unpacked (top left), browse to the now unzipped 'phables-blocker' folder and Select folder
That should now be installed.

Refresh the Pistonheads page.

You can right-click a user name next to their post and then Block User



Or click on your browser extensions -> PistonHeads User Blocker -> input a name manually. You can also unblock users that way.

Nice work Jag clap I don’t need it but will certainly give it a test.

grumbledoak

32,071 posts

246 months

Saturday 8th March
quotequote all
Can't post JavaScript, you will have to type it in carefully. Soz. This is ash73's original TamperMonkey script that removes posts and quoted posts. Edit the obvious list to remove your chosen trolls.


jagnet

4,235 posts

215 months

Saturday 8th March
quotequote all

Update



I've tried to make the Chrome extension above a bit more resilient by working off Member IDs as well as usernames, so if a blocked member changes their name it'll still work.

However, quoted posts don't reference the Member ID, so if they change their username, any quoted posts will temporarily show until you get to a page with an unquoted post where it can update their username. There's not really any way around that.

This is a breaking change as I've altered the stored object structure, so anybody that's already added the extension, sorry but you'll have to remove and then re-add it. And put any usernames back in.

Link to .zip removed

As a very minor change, instead of just hiding the post, it now removes the post from the page DOM. That makes things a little more efficient when subsequently finding any quoted posts and re-ordering the alternating background colours.

Update: 09/03



To avoid annoying PH, if a blocked post contains an advert then it moves the ad container to the previous visible post so that it doesn't act as an ad blocker.

The extension has now been submitted to the Chrome Webstore for review, which can take a while. In the meantime I've updated the zip file URLs to the latest version if anyone wants to use it.

Edited by jagnet on Sunday 9th March 05:33


Edited by jagnet on Wednesday 12th March 08:28

jagnet

4,235 posts

215 months

Monday 10th March
quotequote all
PistonHeads User Blocker extension for Firefox is now available:

addons.mozilla.org/en-GB/firefox/addon/pistonheads-user-blocker/

Edited by jagnet on Monday 10th March 19:17

fly by wire

3,747 posts

138 months

Monday 10th March
quotequote all
jagnet said:
PistonHeads User Blocker extension for Firefox is now available:

addons.mozilla.org/en-GB/firefox/addon/pistonheads-user-blocker/

Edited by jagnet on Monday 10th March 19:17
Thank you for your excellent work.

Only one user I wanted to block, done.

jagnet

4,235 posts

215 months

Monday 10th March
quotequote all
fly by wire said:
Thank you for your excellent work.

Only one user I wanted to block, done.
thumbup no worries

CoolHands

20,398 posts

208 months

Monday 10th March
quotequote all
grumbledoak said:
Can't post JavaScript, you will have to type it in carefully. Soz. This is ash73's original TamperMonkey script that removes posts and quoted posts. Edit the obvious list to remove your chosen trolls.

That script is terrible










You missed off evanivitch biglaugh

dickymint

26,846 posts

271 months

Monday 10th March
quotequote all
jagnet said:
fly by wire said:
Thank you for your excellent work.

Only one user I wanted to block, done.
thumbup no worries
Too late you're the "one user" hehe

jagnet

4,235 posts

215 months

Monday 10th March
quotequote all
dickymint said:
jagnet said:
fly by wire said:
Thank you for your excellent work.

Only one user I wanted to block, done.
thumbup no worries
Too late you're the "one user" hehe
biglaugh

LunarOne

6,143 posts

150 months

Monday 10th March
quotequote all
I don't see how this solves a problem. The blockee could post comments that change the course of a thread and you'd never understand what you'd missed. It's like watching a film, but blocking all scenes featuring an actor you don't like. Is the film going to make as much sense? Or any sense at all?

If you could make a script that launches you into a parallel universe without a particular user so that he can't contribute to PH at all, that would be a more workable if tricky solution. But if they can get Doom running on a pregnancy test, then anything may be possible...

grumbledoak

32,071 posts

246 months

Tuesday 11th March
quotequote all
CoolHands said:
You missed off evanivitch biglaugh
biggrin