Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Ignoring user posts but not his/her threads.

Self-Ejected

Cosmic Misogynerd

Self-Ejected
Patron
Joined
Apr 17, 2013
Messages
1,057
Location
Estados Fallidos Mexicanos
Codex 2013 Divinity: Original Sin
Basically I want to know if there is an option to ignore someone's posts, but keep said ignored user threads visible. This is because I want to put Infinitron on ignore, but if I do that, I will miss the news posts. Is there a way to make this possible?
 

zwanzig_zwoelf

Guest
Grow up and stop using ignore function like a little edgy popamole cunt.
 
Joined
May 10, 2011
Messages
1,059
Try this userscript, I've tested it with Opera and Firefox, and it seems to work.

Code:
// ==UserScript==
// [USER=16824]Name[/USER]        See no evil
// [USER=16824]Name[/USER]space  kkkodex
// @include    *rpgcodex.net/forums/index.php?threads/*
// @version    1.0
// ==/UserScript==
 
document.addEventListener('DOMContentLoaded', function(ev) {
    var ignoreList = [
        'Infinitron',
        'Cosmic Misogynerd'
    ];
    var pattern = new RegExp(ignoreList.join('|'));
 
    var messages = document.getElementsByTagName('li');
 
    for (var i = 0; i < messages.length; ++i) {
        var msg = messages[i];
        if (msg.hasAttribute('class') && msg.getAttribute('class').indexOf('message') != -1) {
            var found = msg.getAttribute('data-author').match(pattern);
            if (found) {
                (function(msg) {
                    this.style.cursor    = 'pointer';
                    this.style.border    = 'solid gray 1px';
                    this.style.background = '#c30';
                    this.style.fontSize  = '20px';
 
                    this.appendChild(document.createTextNode(found[0]));
 
                    this.addEventListener('click', function(ev) {
                        msg.style.display = 'block';
                        this.parentNode.removeChild(this);
                    }, false);
 
                    msg.parentNode.insertBefore(this, msg);
 
                }).apply(document.createElement('div'), [messages[i]]);
 
                msg.style.display = 'none';
            }
        }
    }
}, false);

:avatard:

Edit: dammit @
 

zwanzig_zwoelf

Guest
Why so edgy

Exclamations are useful to present what you think about this or that, but usually misinterpeted as a reaction, resulting in misunderstanding.
In other words, judging by your post, I should be a nervous lad.
 
Self-Ejected

Cosmic Misogynerd

Self-Ejected
Patron
Joined
Apr 17, 2013
Messages
1,057
Location
Estados Fallidos Mexicanos
Codex 2013 Divinity: Original Sin
Try this userscript, I've tested it with Opera and Firefox, and it seems to work.

Code:
// ==UserScript==
// [USER=16824]Name[/USER]        See no evil
// [USER=16824]Name[/USER]space  kkkodex
// @include    *rpgcodex.net/forums/index.php?threads/*
// @version    1.0
// ==/UserScript==
 
document.addEventListener('DOMContentLoaded', function(ev) {
    var ignoreList = [
        'Infinitron',
        'Cosmic Misogynerd'
    ];
    var pattern = new RegExp(ignoreList.join('|'));
 
    var messages = document.getElementsByTagName('li');
 
    for (var i = 0; i < messages.length; ++i) {
        var msg = messages[i];
        if (msg.hasAttribute('class') && msg.getAttribute('class').indexOf('message') != -1) {
            var found = msg.getAttribute('data-author').match(pattern);
            if (found) {
                (function(msg) {
                    this.style.cursor    = 'pointer';
                    this.style.border    = 'solid gray 1px';
                    this.style.background = '#c30';
                    this.style.fontSize  = '20px';
 
                    this.appendChild(document.createTextNode(found[0]));
 
                    this.addEventListener('click', function(ev) {
                        msg.style.display = 'block';
                        this.parentNode.removeChild(this);
                    }, false);
 
                    msg.parentNode.insertBefore(this, msg);
 
                }).apply(document.createElement('div'), [messages[i]]);
 
                msg.style.display = 'none';
            }
        }
    }
}, false);

:avatard:

Edit: dammit @

Thanks, I'm gonna try this.
 

SCO

Arcane
In My Safe Space
Joined
Feb 3, 2009
Messages
16,320
Shadorwun: Hong Kong
Well it really wouldn't, because i'm pretty sure regex control characters are not illegal in usernames.
 

SCO

Arcane
In My Safe Space
Joined
Feb 3, 2009
Messages
16,320
Shadorwun: Hong Kong
That phrase was wrong but i'm sure you know what was meant. Regex as a single string that is parsed and not as a library is a pretty 'wrong' idea in computing i always thought. Convenient, but just asking for trouble. Data and operator separation should be the rule, not the exception.
 

ColCol

Arcane
Joined
Jul 12, 2012
Messages
1,731
Ignoring infinitron? You will rue the day....

melnorme-005.png


Rue The Day.....
 

Infinitron

I post news
Staff Member
Joined
Jan 28, 2011
Messages
97,489
Codex Year of the Donut Serpent in the Staglands Dead State Divinity: Original Sin Project: Eternity Torment: Tides of Numenera Wasteland 2 Shadorwun: Hong Kong Divinity: Original Sin 2 A Beautifully Desolate Campaign Pillars of Eternity 2: Deadfire Pathfinder: Kingmaker Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
The real WTF is RK47's ignore list

RK47 is Ignoring...
# Username Posts
1 Crispy
2 gaudaost
3 Guido Fawkes
4 Infinitron
5 J_C
6 Reapa
7 Vault Dweller

:eek:
 

Linden

Arcane
Joined
Dec 7, 2010
Messages
3,430
Location
dislocated
I used to be against ignoring but then I ignored dnf and now my Codex experience has improved at least 27 %.

:greatjob:
 

Syl

Cipher
Joined
Nov 3, 2011
Messages
744
You can ignore someone with user css.

Code:
li[data-author="Cosmic Misogynerd"] {display:none !important;}
This simple rule hides everything, as if the user never posted.

Code:
li[data-author="Cosmic Misogynerd"] blockquote {display:none !important;}
This one hides only the message and you can click on 'Reply' to read it. :)
 
Self-Ejected

Cosmic Misogynerd

Self-Ejected
Patron
Joined
Apr 17, 2013
Messages
1,057
Location
Estados Fallidos Mexicanos
Codex 2013 Divinity: Original Sin
Well, I'm just going to stick with the ignore. At the end of the day, someone is going to post something newsworthy on one of the forums, and this Palestine children killer is going to copy/paste it to post is as news. So I'm going to read with the original news. :)
 

Absalom

Guest
Well, I'm just going to stick with the ignore. At the end of the day, someone is going to post something newsworthy on one of the forums, and God's Chosen is going to copy/paste it to post is as news. So I'm going to read with the original news. :)
Fixed
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom