Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Your One Click Thread Ratings Details »
[AJAX] Your One Click Thread Ratings
Mod Version: 0.1.1, by fci (Member) fci is offline
Developer Last Online: Aug 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (15 votes - 4.40 average) Installs: 49
Released: 11 Jan 2007 Last Update: 12 Jan 2007 Downloads: 362
Not Supported Template Edits Additional Files Is in Beta Stage  

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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. ( http://www.vbulletin.org/forum/showthread.php?t=106853 )
- 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 asthetically 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 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)"

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	oneclickrating_before.png
Views:	1151
Size:	15.7 KB
ID:	58817   Click image for larger version

Name:	oneclickrating_after.png
Views:	677
Size:	13.2 KB
ID:	58818  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #76  
Old 09 Feb 2007, 11:00
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
@Digitalus

Your suggestion can't work because you say:

"if rating is on" do nothing

But the table you create at the bottom is only for the rating itself, the problem with

<span id="oneclick_threadrating_response"></span>
<span id="oneclick_threadrating_current"></span>

displaying the text on the forum background without the div/table is not solved

But thanks for trying

Last edited by StarBuG; 09 Feb 2007 at 11:07.
Reply With Quote
  #77  
Old 11 Feb 2007, 16:49
Jay... Jay... is offline
 
Join Date: Jan 2006
any update on a re-design of this? Just like i have requested on the first page of the thread. Thanks
Reply With Quote
  #78  
Old 21 Feb 2007, 18:39
Jay... Jay... is offline
 
Join Date: Jan 2006
anyone?
Reply With Quote
  #79  
Old 15 Mar 2007, 16:25
Jay... Jay... is offline
 
Join Date: Jan 2006
bump it
Reply With Quote
  #80  
Old 15 Mar 2007, 19:07
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Can anyone incorporate thread rating with this Ajax Star rating located here

http://www.masugadesign.com/the-lab/...ar-rating-bar/

this looks awesome.
Reply With Quote
  #81  
Old 21 Mar 2007, 14:32
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
For those looking for a clone of the vB.org thread ratings, replace your SHOWTHREAD template with the contents of the attached file.

The modification in the original post is not necessary for the vB.org thead rating style, so you may uninstall it and delete clientscript/vbulletin_ajax_oneclick_threadrate.js if using the attached template.
Attached Files
File Type: txt vborg_threadrating_SHOWTHREAD.txt (32.9 KB, 39 views)

Last edited by magnus; 21 Mar 2007 at 20:54.
Reply With Quote
  #82  
Old 21 Mar 2007, 17:57
Jay... Jay... is offline
 
Join Date: Jan 2006
Originally Posted by magnus View Post
For those looking for a clone of the vB.org thread ratings, replace your SHOWTHREAD template with the contents of the attached file.

The modification in the original post is not necessary for the vB.org thead rating style, so you may uninstall it and delete clientscript/vbulletin_ajax_oneclick_threadrate.js if using the attached template.
cheers mate! you are a legend!
Reply With Quote
  #83  
Old 26 Mar 2007, 08:10
DPSR's Avatar
DPSR DPSR is offline
 
Join Date: Aug 2006
If you are using this mod like me, try this one:
(rating result aligned to center and in the style)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add this to CSS style:

Change it the way you want

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: jpg 1.jpg (22.7 KB, 73 views)
File Type: jpg 2.jpg (22.6 KB, 59 views)

Last edited by DPSR; 26 Mar 2007 at 09:07.
Reply With Quote
  #84  
Old 26 Mar 2007, 14:45
KEKforce KEKforce is offline
 
Join Date: Feb 2007
Works very good DPSR! THANKS!!
Reply With Quote
  #85  
Old 27 Mar 2007, 03:52
DPSR's Avatar
DPSR DPSR is offline
 
Join Date: Aug 2006
Originally Posted by KEKforce View Post
Works very good DPSR! THANKS!!
No problem, glad you like it
Reply With Quote
  #86  
Old 28 May 2007, 01:24
rokked rokked is offline
 
Join Date: Apr 2007
installed, you can see it at http://forums.rokked.com, i moved the hidden form elements above the inlinemod.php form and removed the noscript tags. so im screwing people that dont have js enabled. oh well.

seems to be working fine on 3.6.7
Reply With Quote
  #87  
Old 26 Sep 2007, 20:13
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
Hi,,
Can you make it as the one in this mod forum above each mod:
Help others by rating [AJAX] Your One Click Thread Ratings.
Excellent Good Average Bad Terrible
We need it as a one xml product not template changes, since we have more than one style installed.

Thanks for your great job.
Reply With Quote
  #88  
Old 26 Sep 2007, 20:42
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
it would be nice if you make images(stars) instead of the numbers
with an nice onmouse event
Reply With Quote
  #89  
Old 27 Sep 2007, 14:44
satforce satforce is offline
 
Join Date: Sep 2006
Very good job ..
I install it and it works fine ..
Just one question please !! How can I change stars to number of votes like vb.org ...

Please answer me !!
Reply With Quote
  #90  
Old 29 Sep 2007, 01:14
satforce satforce is offline
 
Join Date: Sep 2006
Please answer !!!
__________________
Maxiseo
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:55.

Layout Options | Width: Wide Color: