Suggested Feature: Ignore Thread

You need to install the Greasemonkey extension, then save the script to a .js file and open it with Firefox. A prompt should appear, offering you to install it.

Hm... no prompt is appearing for me. :confused:
 
Hmm, then try the following:

In Firefox click Tools -> Greasemonkey -> New User Script

A dialog will appear:

Name: CFCfilter (or whatever you wish to call it)
Namespace: CFC (or whatever. Doesn't matter)
Description: Improved ignore funtion (or whatever. Doesn't matter)
Includes: http://forums.civfanatics.com/* (Replace the url that is in the box by default. This does matter...)
Excludes: Leave blank

Click OK

An editor window should open. Select everything and replace it with the script. Then save.

That's it!
 
That seems to have installed it, but am I supposed to be seeing anything change? I see no way to add anything to the filter list.
 
That seems to have installed it, but am I supposed to be seeing anything change? I see no way to add anything to the filter list.
on the thread list there should appear a 'Ignore' on the right side of every thread...

ignorety8.jpg


or are you useing Till's filter? in which case you can enter the keywords into the script itself, separating them with a pipe:

Code:
//############## EDIT THE VARIABLE BELLOW ############## 
//To match your preferences. It is the filter rule for the script.
//Any regular expression should work.
var filterregex = "[Pp]alin|[Oo]bama|[Mm]c[Cc]ain|[Gg]affe";
 
is it activated? (does it show up with a hook if you right-click on the monkey?) :confused:
 
I'm not sure how I made it work, but I just messed around with it randomly for a bit and now it seems to be working.

Awesome. :) Thank you! :goodjob:
 
you're welcome, although you should thank Till since I just ripped his work off :mwaha:
 
Till told me I should stop thanking him. Till is pretty unusually awesome. Thanks Till! :D
 
Hmm, then try the following:

In Firefox click Tools -> Greasemonkey -> New User Script

A dialog will appear:

Name: CFCfilter (or whatever you wish to call it)
Namespace: CFC (or whatever. Doesn't matter)
Description: Improved ignore funtion (or whatever. Doesn't matter)
Includes: http://forums.civfanatics.com/* (Replace the url that is in the box by default. This does matter...)
Excludes: Leave blank

Click OK

An editor window should open. Select everything and replace it with the script. Then save.

That's it!

i get this error:

Could not launch editor.
[Exception... "Component returned failure code: 0x80520003 (NS_ERROR_FILE_EXECUTION_FAILED) [nsIProcess.run]" nsresult: "0x80520003 (NS_ERROR_FILE_EXECUTION_FAILED)" location: "JS frame :: chrome://greasemonkey/content/utils.js :: launchApplicationWithDoc :: line 188" data: no]

i do exactly everything you say, but i still get that error.
 
i get this error:



i do exactly everything you say, but i still get that error.
I think you haven't had greasemonkey set up with a editor first. so the first dialog asked you for your editor of choice not for the script:

I found this googling for a solution:
The mistake of SkyPing was, I presume, that s/he selected "New User
Script" from the GM menu, instead of directly clicking on a link to a
xxxx.user.js file (a user script).
The entry "New User Script" is for *writing* a user script from
scratch, not for *installing* scripts. The first time you select
"New User Script" after installing GM, it opens an "Open file" dialog
which is actually intended for selecting the executable file of your
editor of choice, for example notepad.exe, gvim.exe, etc. A common
mistake is to download a user script file, click afterwards on "New
User Script", and select the just downloaded file. This effectively
sets the xxxx.user.js file as the executable for the editor, which is
clearly wrong.

If you went through this path, you will have to reset the editor.
Write "about:config" in the address bar of Firefox, then in the input
field at the top write "greasemonkey.editor", click on the displayed
entry with the right mouse button and select "reset". Restart
Firefox. The next time you select "New User Script" you will be
prompted again to enter the executable file or your editor.
Alternatively, if you already know the full path of it, you can set it
from the about:config page by just double-clicking on the
greasemonkey.editor entry.
 
I jsut want to bump this awesome sause and also say i have reinstalled it, an its awesome
 
I merged the two scripts and added a gui. The gui allows easy management of ignored threads and users.

Spoiler screenshot galore :

The new script is controlled over this control panel:
xxxtable.png


Threads can be ignored over the new ignore link (credit to Ovi):

xxxthreadignore.png


Result:

xxxthreadgone.png


The same principle works for users:

xxxingorelink.png


Result:

xxxnofilter.png




The default settings only remove posts and threads by ignored users. It is possible to change this behaviour to also remove quotes.

Either this way:

xxxnoquotes.png


Or this way:
xxxnoposts.png



Link to the script. If greasemonkey is running, it should open a prompt and offer to install the script.

I haven't tested the script extensively, and it is quite possible that there are some bugs left.
 
Last edited:
Doh, it seems that when trying to click ignore thread it is not working for me w/ new script ..

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
 
I have the same browser/Os and it is working for me. Does it fail to work with any thread, or just specific ones (if the later, please pm me the links so that i can check)?
Does anything get added to the thread filter? (Check by clicking "Change Thread filter Settings")
 
Tried again (this is other computer but i assume it works similarly); now I realized that it hides threads when i reload that particular forum, unlike the old one which did hide threads immediately without page refresh. That fooled me .. though i would prefer immediate hiding.
 
Back
Top Bottom