Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
[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
  #312  
Old 02-26-2009, 03:14 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by popowich View Post
Is there a way to allow guests to rate posts?

I'd even be OK with a cookie check that only lets them rate up to 10 posts before registering.

My forum is mostly visitor traffic reading how-to information.

It would be great if this worked like a visit to Microsoft support sites and you get to rate the thread.

The simple thumbs up or down is fine, I just want guests to be able to rate the posts too.

Thank you for this product.

-Raymond
Sorry but guest ranking isn't possible with the feature currently but it wouldn't be that hard to make it work. Just remove the few places that check if someone is a user and you're all set (ok ok so that's not super easy either).
Reply With Quote
  #313  
Old 02-26-2009, 03:31 AM
Regs Regs is offline
 
Join Date: Oct 2001
Location: Vancouver BC
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
That's a good spot or you can use it lower after the thank you hack. It just depends on where you want things to show.
Awesome mod Ted S!

The same issue appears for people with the blog mod installed (blog this post icon). Perhaps there is a better way to do the automatic template edits/insertions to take this into account?

Cheers,

Regs.
Reply With Quote
  #314  
Old 02-26-2009, 04:07 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately automated is automated... there's one variable and a lot of plugins use it. I've done my best to try and make this addon execute after others but I can't make things automated without hooking in at the same place...

Thus the option exists for a manual override.
Reply With Quote
  #315  
Old 02-26-2009, 04:01 PM
Regs Regs is offline
 
Join Date: Oct 2001
Location: Vancouver BC
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Ted, wasn't aware of the one variable thing.

Cheers,

Regs.
Reply With Quote
  #316  
Old 02-27-2009, 08:06 AM
dooch dooch is offline
 
Join Date: Dec 2005
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting a mysql error on product import

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

				REPLACE INTO setting
					(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
				VALUES
					(
					'helpans_manual',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					10,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_hidefirst',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					15,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_neg',
					'helpfulanswers',
					'1',
					'1',
					'boolean',
					'yesno',
					20,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_banned',
					'helpfulanswers',
					'',
					'',
					'text',
					'',
					30,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_top',
					'helpfulanswers',
					'1',
					'1',
					'boolean',
					'yesno',
					40,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_self',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					45,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_min',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					50,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_minnum',
					'helpfulanswers',
					'10',
					'10',
					'text',
					'',
					55,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_limit',
					'helpfulanswers',
					'',
					'',
					'text',
					'',
					60,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_stats_votes',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					70,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_stats_ranks',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					80,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_stats_ten',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					85,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_gettop',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					90,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_rank_ten',
					'helpfulanswers',
					'0',
					'0',
					'boolean',
					'yesno',
					100,
					0,
					1,
					'',
					0,
					'helpful_answers'
	),
	(
					'helpans_report',
					'helpfulanswers',
					'1',
					'1',
					'boolean',
					'yesno',
					200,
					0,
					1,
					'',
					0,
					'helpful_answers'
	);

MySQL Error   : Data truncated for column 'datatype' at row 4
Error Number  : 1265
Request Date  : Friday, February 27th 2009 @ 10:02:24 AM
Error Date    : Friday, February 27th 2009 @ 10:02:25 AM
Script        : http://www.****.com/admincp/plugin.php?do=productimport
Referrer      : http://www.****.com/admincp/plugin.php?do=productadd
IP Address    : ****
Username      : ****
Classname     : vB_Database
MySQL Version : 5.0.51a-community-nt
EDIT - I think the error is at my end of things... ;(
Reply With Quote
  #317  
Old 02-27-2009, 09:12 AM
dooch dooch is offline
 
Join Date: Dec 2005
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Identify the top rated post.

Step 1 - Enable the top rated post feature from your Helpful Answers Settings.
Step 2 - Add the code:

Code:
<if condition="$threadinfo[toppost] == $post[postid]">This is the top rated post!</code>
To your postbit or postbig_legacy template

This can be changed around to add colors, an icon or anything else you want.

================================================== ==========================
This is the bit im most interested in. Unfortunatley I cant get this code to work, even if I alter it to this... any ideas?

Code:
<if condition="$threadinfo[toppost] == $post[postid]">This is the top rated post!</if>
Reply With Quote
  #318  
Old 02-27-2009, 12:21 PM
star88 star88 is offline
 
Join Date: May 2008
Location: France
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dooch View Post
This is the bit im most interested in. Unfortunatley I cant get this code to work, even if I alter it to this... any ideas?

Code:
<if condition="$threadinfo[toppost] == $post[postid]">This is the top rated post!</if>
I enabled the top rated post feature from Helpful Answers settings. I added <if condition="$threadinfo[toppost] == $post[postid]">This is the top rated post!</if> in the postbit template. Unfortunatly, it does not work.
Reply With Quote
  #319  
Old 02-27-2009, 03:45 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on the top post right now and will get back with some answers on how to use it and examples in a minute.
Reply With Quote
  #320  
Old 02-27-2009, 04:02 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The correct variable for this feature is $thread[toppost] not $threadinfo. My appologies for the mistake.

I will be posting a code snippit to allow you to highlight the top post in a few minutes...
Reply With Quote
  #321  
Old 02-27-2009, 04:26 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instructions for how to highlight the top rated post have been added to my examples post.

I hope to offer this as an automated feature in the future.
Reply With Quote
Reply

Thread Tools

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 02:56 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.10001 seconds
  • Memory Usage 2,366KB
  • 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
  • (4)bbcode_code
  • (4)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
  • (4)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