forge wrote:So many people request moderation, or an ignore user button, or some kind of solution to the sometimes imbalanced signal to noise ratio and somebody just sent me this method for blocking particular users on the forum so you can, in effect, moderate for yourself
it may not be the most straightforward solution, but it apparently works
How to Remove All Posts From a Forum Troll
Body:
The following is not the most elegant solution, but it does the trick.
1. Install Firefox (
http://www.firefox.com) and Greasemonkey (a plug-in that allows for scripts in Firefox (
https://addons.mozilla.org/en-US/firefox/addon/748)
2. Once installed in Firefox and restarted, in the Tools menu, Choose Greasemonkey, then New User Script
3. In the dialog box, Name your script (such as Troll Killer), leave all the other boxes blank except for Includes, where you should put the following, and then hit Ok:
http://*viewtopic.php*
(This line basically makes the script work on all phpbb pages, such as the Ableton Forum.)
4. You might get a dialog box to associate your script with a program...browse to any text editor to associate your scripts to the text editor. An example is C:\WINDOWS\NOTEPAD.EXE
5. In the window that opens up with your blank script, select all and delete.
6. The copy and paste with the following script, and change the word TROLL (it occurs twice) to whatever is the username on the forum that you wish to ignore:
// ==UserScript==
// @name Troll Killer
// @include *viewtopic.php*
// @description Hides all of TROLL's posts
// @exclude
// ==/UserScript==
(function() {
var results = document.evaluate("//span[@class='name']
/parent::td/parent::tr", document, null, XPathResult.ANY_TYPE, null);
var resultNodes = [];
while (aResult = results.iterateNext()) {
resultNodes.push(aResult);
}
for (var i in resultNodes) {
var nextRow = resultNodes.nextSibling;
while (nextRow.nodeType != 1)
nextRow = nextRow.nextSibling;
nextRow.style.display = 'none';
resultNodes.style.display = 'none';
}
})();
7. Save the file using the text editor's Save function.
8. For each troll use you want to block, just create a new script with a new name per the process above, and edit the TROLL's name.
9. Ignorance is bliss.