____     ___                   __  _         
/ ____ / ____ ______ _ ___ _/ /_(____ ___
_/ // _ \/ _/ _ \/ __/ ' / _ `/ __/ / _ \/ _ \
/___/_//_/_/ \___/_/ /_/_/_\_,_/\__/_/\___/_//_/







Your One Click Thread Ratings
Description:
Make it easy for people to rate threads with one click.

Refer to the before and after images attached to this post for a visual.

Install instructions:

1. Download the attached zip file

2. Upload vbulletin_ajax_oneclick_threadrate.js to /yourforum/clientscript/

3. Modify the SHOWTHREAD template by placing the following code(or identical code contained in the attached zip file) after the $poll variable which is around the 14th line:




Technical comments:
Uses AJAX but will fall back to submitting the form first, or if that fails it will use <noscript> tags to display submit buttons. The fallback methods are not thoroughly tested so, if you are able, please test them and report any problems you have.

Template comments:
Be careful about moving the HTML block around because it will fail if it becomes nested inside of another form.

Recommendations after installing:
- in vBulletin Options > Poll and Thread Rating Options, set "Allow Thread Rating Vote Changes" to No
- in vBulletin Options > Poll and Thread Rating Options, set "Required Thread Rating Votes to Show Rating" to 1 (this will hopefully encourage the use of thread ratings)
- install the Thread-Ratings on Search mod which was written for 3.5.x but is compatible with 3.6.x. 
- modify the threadrate_add phrase, In Languages & Phrases under "Search in Phrases," do a search for 'Your vote on this thread has been added' and modify it to say something more friendly/humorous

Are you a designer?
maybe you can make the HTML chunk more aesthetically pleasing with images or CSS

changelog:
0.1 - initial release
0.1.1 - define JS threadid which may or may not be defined later in the page


Read this before posting
If you want to tell me what error(s) you receive, please do the following:
1. Make sure you DO NOT put the HTML chunk inside of another form it will not work at all if you do this. Please make sure it is is after the $poll variable.
2. If you think the error is JS related and you are using Firefox, click Tools > Console then the Errors tab, clear it out first, then try doing the thread rating, Right-click and copy the errors related that show for your forum.
3. You did not upload the JavaScript file to the proper location

READ THIS: Set "Check Thread Rating" to Yes in vBulletin Options under "Thread Display 
Options (showthread)"

   ____                     ______      __    
/ _____________ ___ ___ / __/ / ___ / /____
_\ \/ __/ __/ -_/ -_/ _ \_\ \/ _ / _ / __(_-<
/___/\__/_/ \__/\__/_//_/___/_//_\___\__/___/



  ___                                 __
/ _ \___ ____ ____ _____ _______/ /
/ ___/ _ `(_-<(_-| |/|/ / _ \/ __/ _ /
/_/ \_,_/___/___|__,__/\___/_/ \_,_/
password:-www.newadvanceit.blogspot.com

   ___                  __            ___            __   _      __     
/ _ \___ _ _____ / ___ ___ ____/ (____ ___ _ / / (____ / /_____
/ // / _ | |/|/ / _ \/ / _ / _ `/ _ / / _ / _ `/ / /__/ / _ \/ '_(_-<
/____/\___|__,__/_//_/_/\___\_,_/\_,_/_/_//_\_, / /____/_/_//_/_/\_/___/

 Click Here To Download From Mediafire


Post a Comment

 
Top