Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Helpful Answers - Post Rating System (plus many sub-features) Details »»
[AJAX] Helpful Answers - Post Rating System (plus many sub-features)
Version: 2.0.6, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.1 Rating:
Released: 02-02-2009 Last Update: 05-12-2011 Installs: 460
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Note: While this modification is updated for compatibility, I am only developing features for the 4.x version. I understand many sites continue to use 3.8 for a variety of reasons but dual developing takes time away from adding anything new. I encourage you to develop out your own change and share them back as no modification is ideal for every forum out of the box.

Every day your users contribute hundreds if not thousands of posts making it hard for new members and guests to separate out the best answers from those that are less helpful. The Helpful Answers System offers your members a quick way (AJAX) to rate individual posts as either helpful or not allowing future visitors to understand the benefits of each post.

Designed for maximum flexibility:


This addon is built to be flexible and offers several customization options including:
  • The ability to show a user's vote stats in posts
  • The ability to use image or text ratings.
  • The ability to offer yes/no or scaled 1-10 point ranking.
  • The ability to turn off negative ratings for a positive only system.
  • The ability to decide which forums are open for helpful answer ratings.
  • The ability to audit the system and identify top users and potential abusers.
  • The ability to ban specific members from using the system.
  • The ability to customize the AJAX message shown after a post is rated.
  • The ability to edit all text and messages through phrases.
  • The ability to show a page with the top helpful posts.
  • The ability to show rating stats on a user's profile.
  • Integration with the reputation system for ratings.
  • Template driven display that can easily be customized to your forum.
For advanced users template conditionals and variables let you further extend the functionality to color highlight good or bad posts, include ratings in user?s profiles and much more.

Load & Scale:
This addon is designed to work with small to large sites and is currently being used by sites with more than 2 million posts. If you have questions about integrating with your big board please contact me.

Modification Installation:
This addon requires uploading multiple files, installing a vBulletin product and enabling the feature in any forums you wish. No template modifications are required. Please see the included install file for detailed instructions.

If you are not seeing the rating bar double check that you have enabled the feature in the forum you are in and insure the Manual Template override option is not enabled.

Rating Review & Deletion:
To identify and remove abuse a reporting system is included with this addon and can be found in your vBulletin ACP under the Helpful Answers tab. Through this panel you will be able to view a user's overall rating history and individual ratings and can remove either if necessary. Users can also be explicitly banned from the system.

Reputation System Integration:
Helpful Answers can be extended to directly tie into your reputation system giving users positive or negative points based on the ratings of their posts. There are numerous options on how to handle ratings that can be found in a separate Helpful Answers Reputation part of your vBulletin Settings page.

External Integration:
vB Plaza Modification - http://www.vbplaza.com/forum/showthread.php?p=6359
vB Experience - https://vborg.vbsupport.ru/showthread.php?t=199556

Anonymous Stats Tracking (optional):
vBulletin forums reach millions of consumers around the world yet little is known about their habits and opinions. This addon was released to the public out of requests but also to further the research of forum user's behaviors and actions through collecting the most basic data on thousands of sites.

By default this addon will pass basic rating data (positive or negative) to a 3rd party site for statistical purposes. Only the most basic data is captured (the vote and your site name) and no user information or specific forum details are logged, not even an IP address.

While you may disable this feature through the administrative options I ask that you consider leaving it in place to help this research effort and insure the continued support of the addon.

The tracking feature uses the php library cURL on a 5 second timeout. If cURL is not installed this option is automatically disabled.

Updates:
- 5/13/2011 - Release of 2.0.6 minor bug fix
- 08/31/2009 - Release of 2.0.0
- 08/07/2009 - Release of 1.9.5 stable

Other Versions:
This addon will work with 3.7 but to avoid issues with different code versions please see the 3.7 version thread here.

Before you download this modification please remember this is a free tool provided as a courtesy to you and support responses are subject to the availability of the author and other members. If you are looking for a professionally supported system this is not the solution for you.

Download Now

File Type: zip Helpful Answers 1.9.5.zip (36.5 KB, 398 views)
File Type: zip Helpful Answers 2.0.6.zip (39.4 KB, 617 views)

Screenshots

File Type: gif admin-stats1.gif (15.5 KB, 0 views)
File Type: gif admin-stats2.gif (11.3 KB, 0 views)
File Type: gif admin-stats3.gif (6.1 KB, 0 views)
File Type: gif topanswers.gif (19.6 KB, 0 views)
File Type: jpg settings.jpg (102.6 KB, 0 views)
File Type: gif rating-methods.gif (48.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
BGObsession, hsoen, JohorBahru, Simon Lloyd

Comments
  #1262  
Old 12-08-2009, 04:54 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by haothiencz View Post
Is there any way to make it intergate with vbcredits?

User can get more credit when receives good rate and losse credit with bad vote?

Thank you in advanced.
There is no integration mod with vB Credits that I have seen to this point.
Reply With Quote
  #1263  
Old 12-11-2009, 05:01 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some questions/suggestions.
1) I think it would be useful to allow people to switch the 'helpful answer' functionality on for a particular thread when they create a it. I think this is preferable to allowing people to vote into threads which are not appropriate for voting. E.g. 'You'll never guess who I bumped into on holiday'. It would be a tickbox in the new thread page. Is this doable?

2) Would it be possible to allow people to vote for one post in a thread only? I.e. if they vote for a new post, their previous vote for a different post is removed? That way, if a better answer is posted and people vote for it, the older, less useful post will lose votes and hopefully fall more rapidly below the new post in popularity.

3) Displaying the most helpful answer. How difficult would it be to, if there is a helpful answer voted, display a line under the first post (a bit like the 'Thank you' line in the Post Thank You mod) which shows there is a 'most helpful answer'. The line has the usual category open/collapse button. The button is collapsed by default. When someone clicks the open button, the post is displayed like when you expand/contract a category. So you show the thread like we're used to seeing threads, but if people want to see the most helpful answer, they just click the open button in the line under the first post.

Any of these ideas sound any good?
Reply With Quote
  #1264  
Old 12-12-2009, 05:45 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball View Post
Some questions/suggestions.
1) I think it would be useful to allow people to switch the 'helpful answer' functionality on for a particular thread when they create a it. I think this is preferable to allowing people to vote into threads which are not appropriate for voting. E.g. 'You'll never guess who I bumped into on holiday'. It would be a tickbox in the new thread page. Is this doable?
Possible, sure. It's just not designed to to that.

Quote:
2) Would it be possible to allow people to vote for one post in a thread only? I.e. if they vote for a new post, their previous vote for a different post is removed? That way, if a better answer is posted and people vote for it, the older, less useful post will lose votes and hopefully fall more rapidly below the new post in popularity.
Yes it would be. This requires one additional SQL check on voting.

Quote:
3) Displaying the most helpful answer. How difficult would it be to, if there is a helpful answer voted, display a line under the first post (a bit like the 'Thank you' line in the Post Thank You mod) which shows there is a 'most helpful answer'. The line has the usual category open/collapse button. The button is collapsed by default. When someone clicks the open button, the post is displayed like when you expand/contract a category. So you show the thread like we're used to seeing threads, but if people want to see the most helpful answer, they just click the open button in the line under the first post.
The first part is simple enough and already offered. Getting the post to show up directly is tricky since you have to query and build it which seems redundant. Why not just link to it directly and avoid the server load?

Interesting stuff that I'll definitely consider after building the 4.0 version.
Reply With Quote
  #1265  
Old 12-12-2009, 08:50 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
The first part is simple enough and already offered. Getting the post to show up directly is tricky since you have to query and build it which seems redundant. Why not just link to it directly and avoid the server load?
Server load will be something to consider. If the answer is on the same page, will the user just be scrolled down to it using a # link? That would be the most efficient.
Otherwise, providing a link to the best answer means people will click the link to open a new page. And that had got to use more server resources than the additional query to present the answer under the first post?
Quote:
Originally Posted by Ted S View Post
Interesting stuff that I'll definitely consider after building the 4.0 version.
:up:
I'll not be upgrading to 4, by the way. I need my forums to work!
Reply With Quote
  #1266  
Old 12-12-2009, 08:29 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball View Post
Server load will be something to consider. If the answer is on the same page, will the user just be scrolled down to it using a # link? That would be the most efficient.
Otherwise, providing a link to the best answer means people will click the link to open a new page. And that had got to use more server resources than the additional query to present the answer under the first post?
Yes and no. The load for the user who clicks it wil be higher but the overall load will be lower as the script doesn't have to query to get the post for every thread view, just when someone wants to see that answer.

Quote:
Originally Posted by Spinball View Post
I'll not be upgrading to 4, by the way. I need my forums to work!
Well that makes two of us but unfortunately many people will so that's my first goal...
Reply With Quote
  #1267  
Old 12-12-2009, 09:00 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Well that makes two of us but unfortunately many people will so that's my first goal...
LOL I think that when they realise that 4 is so bug-riddled and server hungry, they'll be so desperate to roll back to their previously installed version that installing plugins will be the least of their worries But fair enough.
Reply With Quote
  #1268  
Old 12-13-2009, 06:56 AM
christicehurst christicehurst is offline
 
Join Date: Jan 2008
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking through the list of helpful posters list but it shows up the person who gives it away or not the person who made the helpful post.
Reply With Quote
  #1269  
Old 12-13-2009, 07:25 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by christicehurst View Post
I'm looking through the list of helpful posters list but it shows up the person who gives it away or not the person who made the helpful post.
I'm not following what you mean by the person who gives it away?
Reply With Quote
  #1270  
Old 12-13-2009, 08:03 AM
christicehurst christicehurst is offline
 
Join Date: Jan 2008
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The person who gives it the thumbs up. There's no list of people who receive the thumps up or down. Only a list of the people who voted.
Reply With Quote
  #1271  
Old 12-13-2009, 09:48 AM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, thanks for this great mod!

i'm using it and it works, but i have a problem when i try to open helpfulanswers.php and "Enable Most Helpful Answers" is on.

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

		SELECT post.postid,post.title as posttile,helpfulpost.goodrank,helpfulpost.totalrank,helpfulpost.lastvote,
			thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle ,goodrank as avgrank
			
		FROM vb_helpfulpost as helpfulpost
		INNER JOIN vb_post AS post ON(helpfulpost.postid = post.postid)
		INNER JOIN vb_thread AS thread ON(post.threadid = thread.threadid)
		INNER JOIN vb_forum AS forum ON(thread.forumid = forum.forumid)
		WHERE goodrank > 0
			
			
		ORDER BY avgrank desc
		LIMIT 0, 25;

MySQL Error   : Column 'goodrank' in field list is ambiguous
Error Number  : 1052
Request Date  : Sunday, December 13th 2009 @ 05:44:40 AM
Error Date    : Sunday, December 13th 2009 @ 05:44:40 AM
Script        : http://www.musicadigitale.net/forum/helpfulanswers.php?do=topanswers
Referrer      : 
IP Address    : 151.68.52.235
Username      : Mr Gas
Classname     : vB_Database_MySQLi
MySQL Version : 5.0.87-community
what should i do to fix it?

thanks =)
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.16377 seconds
  • Memory Usage 2,379KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete