WrongPlanet.net
WP Members: > 75,000



Aspie Affection

New Today: 32
New Yesterday: 28

How do you ignore members? 1, 2, 3  Next  
Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion     
Vexcalibur
Proud to be smug as heck
Phoenix


Joined: Jan 18, 2008
Posts: 5383

PostPosted: Tue Jul 05, 2011 11:09 pm    Post subject: How do you ignore members? Reply with quote

Update: lau has a link with instructions to how to ignore members and an updated link to the greasemonkey script.
lau wrote:
http://www.wrongplanet.net/postp688875.html#688875

Unfortunately, as I have been demoted, I cannot change the link there to point to somewhere whence the Greasemonkey script can now be obtained (I changed ISPs).

This is what works, now (sourced from my 24/7 home server Smile)
http://bergbland.info/phpbbuserhide.user.js




I would like to be able to make posts without having to constantly read replies of a certain being who loves to obfuscate his posts and contribute nothing to the discussion but funny-sounding verbose insults. It gets old and to be honest I guess everyone in the forum is tired to read us interact. Is there an ignore button? If there is, it is particularly hard to find in this forums. If there isn't, why not add it?
_________________
.


Last edited by Vexcalibur on Fri Jul 08, 2011 9:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fnord
Enigmatic Threadkilling Metasyntactic Variable
Phoenix


Joined: May 07, 2008
Posts: 18376
Location: Stendec

PostPosted: Tue Jul 05, 2011 11:15 pm    Post subject: Reply with quote

There isn't any such button. However, in the dim and distant past, I read a rumor that someone had discovered a way to "patch" Firefox to blank posts by certain members. I'm sick of certain members' constant trolling, smarmy condescendancy, and faux intellectualism too.
_________________
* Believing in myths allows the comfort of having an opinion without the discomfort of having to think.
* Believing that you're worthless allows the comfort of having something to complain about without the discomfort of having to change.
Back to top
View user's profile Send private message
jrjones9933
Phoenix
Phoenix


Joined: May 14, 2011
Posts: 777
Location: Rrrrr...

PostPosted: Tue Jul 05, 2011 11:23 pm    Post subject: Reply with quote

I think you have to do it the old-fashioned way.
_________________
I've spent most of my money on wine, women, and song, and the rest I spent foolishly.
Back to top
View user's profile Send private message
Fnord
Enigmatic Threadkilling Metasyntactic Variable
Phoenix


Joined: May 07, 2008
Posts: 18376
Location: Stendec

PostPosted: Tue Jul 05, 2011 11:24 pm    Post subject: Reply with quote

jrjones9933 wrote:
I think you have to do it the old-fashioned way.

I'm sorry ... didjoo say sumpin?

Wink
_________________
* Believing in myths allows the comfort of having an opinion without the discomfort of having to think.
* Believing that you're worthless allows the comfort of having something to complain about without the discomfort of having to change.
Back to top
View user's profile Send private message
Vexcalibur
Proud to be smug as heck
Phoenix


Joined: Jan 18, 2008
Posts: 5383

PostPosted: Wed Jul 06, 2011 12:19 am    Post subject: Reply with quote

Fnord, , after typing the OP I noticed "Hell, I am a programmer, I don't need that button".

So, indeed I figured a way. I spent the hour following the making of that post making use of the firefox Greasemonkey plugin. It was fun to re-learn javascript.

Code:

// ==UserScript==
// @name           wp_ignore
// @namespace      wp
// @description    ignore
// @include        http://www.wrongplanet.net/pos*

function ShouldIgnore(name) {
    //Type the user names (case sensitive)
    //reproduce  the following structure for every user  you want to ignore

   if (name == 'looncalf') {
       return true;
   }

   if (name == 'IgnoredName2') {
       return true;
   }

   if (name == 'IgnoredName3') {
       return true;
   }
   return false;
}


var tr = document.getElementsByTagName("tr");

for (i = 0; i < tr.length; i++) {
    var td = tr[i].getElementsByTagName("td");
    if (td.length < 1 ) continue;
    var span = td[0].getElementsByTagName("span");
    if (span.length < 1 ) continue;
    if (span[0].className == "name" ) {
        var b = span[0].getElementsByTagName("b");
        if (b.length < 1 ) continue;
        var a = b[0].getElementsByTagName("a");
        if (a.length < 1 ) continue;
        var text = a[0].firstChild.nodeValue;
        if ( ShouldIgnore(text) ) {
            td[1].innerHTML = '...';
        }
    }
   
}

// ==/UserScript==


It needs the greasemonkey firefox addon. For the yiggles, you can change the innerHTML = "..."; line to make their posts say whatever you want.

When I find more time I think I can make it even hide the contents of quote tags that are marked to come from ignored guys. But I need some sleep first.
_________________
.
Back to top
View user's profile Send private message
Fnord
Enigmatic Threadkilling Metasyntactic Variable
Phoenix


Joined: May 07, 2008
Posts: 18376
Location: Stendec

PostPosted: Wed Jul 06, 2011 9:50 pm    Post subject: Reply with quote

Way to go, Vexie!
_________________
* Believing in myths allows the comfort of having an opinion without the discomfort of having to think.
* Believing that you're worthless allows the comfort of having something to complain about without the discomfort of having to change.
Back to top
View user's profile Send private message
lau
Really nice person to know. :)
Phoenix


Joined: Jun 18, 2006
Age: 64
Posts: 10537
Location: Somerset UK

PostPosted: Thu Jul 07, 2011 2:07 pm    Post subject: Reply with quote

http://www.wrongplanet.net/postp688875.html#688875

Unfortunately, as I have been demoted, I cannot change the link there to point to somewhere whence the Greasemonkey script can now be obtained (I changed ISPs).

This is what works, now (sourced from my 24/7 home server Smile)
http://bergbland.info/phpbbuserhide.user.js
_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer
Back to top
View user's profile Send private message Visit poster's website
MidlifeAspie
Phoenix
Phoenix


Joined: Nov 02, 2010
Posts: 3020

PostPosted: Thu Jul 07, 2011 4:50 pm    Post subject: Reply with quote

I jam my fingers in my ears and shout "LA LA LA LA, I CAN"T HEAR YOU"
Back to top
View user's profile Send private message
Surfman
beyond human
Phoenix


Joined: Aug 02, 2010
Age: 50
Posts: 3938
Location: Homeward bound

PostPosted: Thu Jul 07, 2011 6:12 pm    Post subject: Reply with quote

Angels sometimes appear as demons, and demons sometimes appear as angels

Be careful what you avoid, or that which you desire
Back to top
View user's profile Send private message
Vexcalibur
Proud to be smug as heck
Phoenix


Joined: Jan 18, 2008
Posts: 5383

PostPosted: Thu Jul 07, 2011 8:29 pm    Post subject: Reply with quote

well, before reading lau's link, this is what I was doing the last hour.

Code:

//quotes:
var tab = document.getElementsByTagName("table");
for (i = 0; i < tab.length; i++) {
    var tr = tab[i].getElementsByTagName("tr");
    if (tr.length >= 2) {
        // validate
        var td = tr[0].getElementsByTagName("td");
        if ( td.length > 0 ) {
            var span = td[0].getElementsByTagName("span");
            if (span.length == 0) continue;
            var b = span[0].getElementsByTagName("b");
            if (b.length == 0) continue;
            var text = b[0].firstChild.nodeValue;
            if ( text == null) continue;
            var len  = text.length;
            //     7654321
            // XXXX wrote:
            if ( (len < 7) || ! ShouldIgnore( text.substr(0, len - 7) ) ) {
                continue;
            }
        }
        // kill
        td = tr[1].getElementsByTagName("td")[0];
        if ( td.className == "quote" ) {
            td.innerHTML = "...";
        }
    }
}

Add it to the previous script, and it will also remove quotes from the ignored people.


Edit: wow lau, that's sophisticated.
_________________
.
Back to top
View user's profile Send private message
anna-banana
indifferent peapod
Phoenix


Joined: Aug 31, 2008
Age: 30
Posts: 6740
Location: Europe

PostPosted: Fri Jul 08, 2011 2:40 pm    Post subject: Reply with quote

cheers guys! this thread is so useful, it should be made a sticky ;>
_________________
not a bug - a feature.

Back to top
View user's profile Send private message
Sallamandrina
alles wieder offen
Forum Moderator


Joined: Jan 25, 2009
Posts: 3590

PostPosted: Fri Jul 08, 2011 3:04 pm    Post subject: Reply with quote

anna-banana wrote:
cheers guys! this thread is so useful, it should be made a sticky ;>


Good idea - it is now Smile
_________________
"Selfishness is not living as one wishes to live, it is asking others to live as one wishes to live" (Oscar Wilde)
Back to top
View user's profile Send private message
anna-banana
indifferent peapod
Phoenix


Joined: Aug 31, 2008
Age: 30
Posts: 6740
Location: Europe

PostPosted: Fri Jul 08, 2011 8:39 pm    Post subject: Reply with quote

Sallamandrina wrote:
anna-banana wrote:
cheers guys! this thread is so useful, it should be made a sticky ;>


Good idea - it is now Smile


cheers
_________________
not a bug - a feature.

Back to top
View user's profile Send private message
Vexcalibur
Proud to be smug as heck
Phoenix


Joined: Jan 18, 2008
Posts: 5383

PostPosted: Fri Jul 08, 2011 9:40 pm    Post subject: Reply with quote

Perhaps lau's link should be the sticky, it is more useful for more people.
_________________
.
Back to top
View user's profile Send private message
chrissyrun
True love is rare, don't envy an illusion
Phoenix


Joined: Oct 24, 2010
Age: 20
Posts: 13788
Location: Hell :)

PostPosted: Sun Jul 24, 2011 11:55 pm    Post subject: Reply with quote

Just don't look at their posts, angry sneer, and go on with life. Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion   
1, 2, 3  Next  

 
Read more Articles on Wrong Planet



Wrong Planet is a Registered Trademark.
Copyright 2004-2013, Wrong Planet, LLC and Alex Plank. Alex does public speaking for Autism.

Advertise on Wrong Planet

Alex Hotchalk / Glam 

Alex Plank  Aspie Affection 

Terms of Service - You must read this as a user of Wrong Planet | Privacy Policy

Subscribe: RSS Feed  Wrong Planet News  Wrong Planet Forums




fine art