Forums: Depot:

 

Greasemonkey script - Ignore Users for V2 Twelvestone

first
 

OvineWorrier Greasemonkey script - Ignore Users for V2 Twelvestone

*Edit 09/20/07 - updated link and some instructions

Firefox & Greasemonkey only, I'm afraid.

Anyways, I decided to work out what all this Greasemonkey noise was all about and thought I'd try out my hacking on the Twelvestone Forums. After checking it was okay with the Stinkfister, I decided to make anything I made available to the rest of you.

After a weekend of playing, here's the first script.... the Twelvestone User Ignorer Widget (catchy, isn't it?).

Requirements

Firefox 1.0.5+
Greasemonkey 0.5.3
Should work on Win, Linux, Mac versions of Firefox - any problems, gimme a shout.

This will hide posts by users you specify. If you're nosey, you can click on the username area to toggle the post visibility.

For those that don't know what Greasemonkey is, go here (greasemonkey project page).



For those that do, and are interested in trying this out, follow these steps:

1. Open the greasemonkey script in your browser (open in a new tab)

http://www.croftboy.com/12stone/TwelvestoneIgnoreList.user.js


2. Greasemonkey extension will detect the script and ask if you wish to install.

3. Once Greasemonkey's told you that the script is installed and you've made sure Greasemonkey is active (bottom right of your browser window, smiling monkey = active. sad grey monkey = inactive. click to toggle) go to the Twelvestone site.

4. To avoid this script running on every page, I've limited it to only run in threads - ie. twelvestone.com/forum_view/ - so you'll need to be in a thread

5. Click on "Tools" and you'll notice that there's an option called "User Script Commands". Mouseover it and click on "12stone - Edit Ignore List"

6. A dialog box appears. Enter the usernames of those you want to ignore. Make sure you add a semi-colon ( ; ) after the name.

Note that the script is case insensitive so don't worry about getting your capitals right but make sure you include any spaces the username has. For example:

OvineWorrier; - correct
ovineworrier; - correct
OVINEWORRIER; - correct
RickFlair; - wrong
Rick Flair; - correct

7. Once you're done, click "OK" to save your list.

8. If you're in a thread containing users you wish to ignore, refresh your page (F5). Otherwise, every subsequent thread you surf will now hide the users you specify.

9. Users that match your ignore List have their posts hidden but their user/post information showing. The script appends "- click to show/hide post" to their username text. If you click on the screenname (or depending on your stylesheet, the brown or grey bar at the top of each post), the post will display. Click again and it will hide.

10. You are able to quote posts as well (as long as you're on the last page, of course)

Hopefully, I've explained it well enough. If not, let me know how much I suck at writing instructions.

Some things to consider:

I've done my best to make sure that this script does not interfere with any of the main Forum javascript. Any problems, reply here or fire me a swear-filled PM.

This script has been tested and works with default and custom CSS stylesheets available in the Control Panel.

Feedback/Crit is welcome - those of you who know how to program Javascript can freely laugh at my amateurish code.

And here endeth the essay. smile

Bleat for me, baby...
quote
 

ShEx

that's awesome! ThumbsUp


*ignores Ovine, finally*

 

tenPlus

sounds like you not only have put a lot of time dev'ing the script but on the above explanation to go with it ThumbsUp

 

OvineWorrier

Cheers, you two (although as Shex has me on ignore, I can now say what I want about him)

*spreads malicious gossip*

Am glad my instructions weren't total gibberish! big grin

How is it usability-wise?

Bleat for me, baby...
quote
 

Anti-Deity

Nice one. With the classic.css, if you have multiple blocked posts in a row, it incrementally adds a tab to the post until you reach a nonblocked post. The tabbing then starts back at the normal spot.


Every post now checked with M$ Word.
quote
 

OvineWorrier

thread revivaliz0r!

Works as advertised. Follow instructions in first post if seeing naughty posts ruins your day.

(it's in the Depot forum because this used to be for Beta related posts.)

Bleat for me, baby...
quote
 
first
 

Forums: Depot: Greasemonkey script - Ignore Users for V2 Twelvestone

 
New Post
 
You must be logged in to post