Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
[AJAX] Helpful Answers - Allow users to rate individual posts Details »»
[AJAX] Helpful Answers - Allow users to rate individual posts
Version: 2.0.0, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 02-03-2009 Last Update: 08-31-2009 Installs: 49
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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 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.

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.

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.

History of this addon:

This addon was originally developed for private use in 2006 for a site of mine but after getting several past clients requested requests and messages I decided to package it up for public release.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

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

Quote:
Originally Posted by Quantnet.org View Post
suggestion:
Instead of manually enable forum by forum, consider having the options in setting control to enable a group of forums.
for example:
Enable (Forum ID) : 1,3,4,5
Disable: 2,6,8

I'm not sure that's any more effective. Many sites have 50 or 100 or more forums and getting all their ids would not be fun. perhaps a bulk upload tool would make more sense.
Reply With Quote
  #23  
Old 02-06-2009, 02:01 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
can you explain this a bit more?
Sure
  • Add option to allow this hack to also contribute to the user's reputation. (without comments) This way the user gets credit for posting the thread/post.
  • Add option to contribute to thread rating. "yes" is a 5, "no" is a 1. Thread rating is redundant with this hack, no?
  • Include setting for vbplaza to add points to user when they get a good rating, and subtract when they get a bad rating. (this will be done through reputation if that option is added)
Reply With Quote
  #24  
Old 02-06-2009, 07:40 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.3.4 has been releases which addresses several minor bugs and adds functionality. Here's a complete list of the changes:

- Bug Fix: Templates 'helpful_answers_top' and 'helpful_answers_top_bit' are now cached.
- Bug Fix: English text in topanswers routine now uses phrases
- Bug Fix: Users may not rate their own posts (see new feature)
- New template: 'helpful_answers_error' is used to show ajax errors
- New feature: Admins may require a minimum number of posts before a user can rate posts
- New feature: Admins may now enable self rating to let users rate their own posts
- New feature: User related errors now print back to ajax users (allows user to understand issue)

Updating is recommended but not required.
Reply With Quote
  #25  
Old 02-06-2009, 07:43 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tpearl5 View Post
[*]Add option to allow this hack to also contribute to the user's reputation. (without comments) This way the user gets credit for posting the thread/post.
How about a positive point (or points, you'd set the scale) for each vote they get [negative for a negative vote].

Quote:
Originally Posted by tpearl5 View Post
[*]Add option to contribute to thread rating. "yes" is a 5, "no" is a 1. Thread rating is redundant with this hack, no?
I'm not sure the post should impact the thread rating... you could have a great post with a few bad ratings. We could however do a new column: average post and show the ratings of those?

Quote:
Originally Posted by tpearl5 View Post
[*]Include setting for vbplaza to add points to user when they get a good rating, and subtract when they get a bad rating. (this will be done through reputation if that option is added)
I'm not familiar with this system; is this AND the rep both needed?
Reply With Quote
  #26  
Old 02-06-2009, 09:30 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For my tech support forum this is ideal - many thanks Ted!

I'm testing this at the moment in a private forum - just one small problem though, I can't get the "Did you find this post helpful? Yes | No" box to show up when using the standard postbit template yet it shows just fine with postbit legacy.

In my case, my primary style is uses the standard postbit and I also offer a child style of the primary which uses the postbit legacy template as the default.

I can confirm that the template hook $template_hook[postbit_controls] appears in both templates.

To troubleshoot this, I next added the template code $helpful_answers to the default VB templates and the same thing happened - it showed up when the legacy template is used but not with the standard postbit template.

Any ideas?
Reply With Quote
  #27  
Old 02-06-2009, 10:29 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tried this myself; Try placing the variable before "<!-- message, attachments, sig -->".

If that doesn't work let me know.
Reply With Quote
  #28  
Old 02-06-2009, 10:39 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, sorry - same result - this is very puzzling - can't think of a logical reason for it.
Reply With Quote
  #29  
Old 02-06-2009, 10:43 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting. Can you think of any Addons which may impact the postbit template? If you view source do you see the <hr ...> tag?
Reply With Quote
  #30  
Old 02-06-2009, 10:47 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes - just after the title as per:

Code:
			<!-- icon and title -->
			<div class="smallfont">
				
				<strong>Re: It's really starting to get annoying...</strong>
			</div>
			<hr size="1" style="color:#D1D1E1; background-color:#D1D1E1" />
			<!-- / icon and title -->
I considered another hack being involved - but why would my stock VB templates be affected the same in the same way?

Should I post my posbit template code here?
Reply With Quote
  #31  
Old 02-06-2009, 10:51 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that's good progress. It doesn't sound like another addon conflict as the script is making it to rendering.

It looks like there's no vote to show and for some reason no rights for you to vote on that post. Are you sure the addon is (1) enabled for the forum with the postbit style and (2) not your own post?
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 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04536 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete