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

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

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 01-15-2010 Last Update: 08-11-2012 Installs: 592
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Helpful Answers has been used to record over 6 MILLION times on more than 2,000 forums. If you're not using HA your users are looking for it!

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
to rate individual posts as either helpful or not allowing future visitors to understand the value of each post.

Designed to be flexible, HA has over 30 configurable settings:
  • Use image or text ratings AJAX or traditional links.
  • Offer yes/no or scaled 1-10 point ranking.
  • Turn off negative ratings for a positive only system.
  • Decide which forums are open for helpful answer ratings.
  • Audit the system and identify top users and potential abusers.
  • Ban specific members from using the system.
  • Customize the message shown after a post is rated.
  • Show a page with the top helpful posts.
  • Show rating stats on a user's profile.
  • Hide posts that rate "too low"
  • Template driven so you can customize it all for 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 [Must Read]:


Step 1: Upload the addon files found in the upload/ folder to your forum directory
Step 2: Install the plugin through your vB Administration area
Step 3: Configure settings & enable the mod in individual forums


You must configure settings & enable forums before voting will show up.

Anonymous Stats Tracking (optional):

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. You can disable this through the admin.


Mod Philosophy -- Drive Your Own Success:

All of my mods are inspired by my work in digital marketing and are designed to drive registrations, interaction or other engagement activities the core platform does not address.

Each is designed to fit a general need by providing a starting point but it's on you to decide how to make things work to their best possible outcome. Feel free to suggest what you'd like to see next but don't wait to have what everyone else has; figure out what your forum needs and customize away.

Download Now

File Type: zip Helpful Answers vb - 2.4.2.zip (42.0 KB, 999 views)

Screenshots

File Type: jpg 1-16-2010 1-11-43 PM.jpg (41.6 KB, 0 views)
File Type: gif admin-stats1.gif (15.5 KB, 0 views)
File Type: gif admin-stats2.gif (11.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
10 благодарности(ей) от:
Baja, Eole, piratarg, PoorGuysGarage, tbworld, TheLastSuperman, thompson, U-Fig

Comments
  #862  
Old 03-23-2011, 03:45 PM
Tom Kagan Tom Kagan is offline
 
Join Date: Jan 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice product - well coded. Kudos!

A couple of nitpicks:
  • Still some usage of '&' in some urls instead of '&'
  • No need for './' when specifying href in anchor elements
  • Hardcoded 'images/buttons' instead of using {vb:stylevar imgdir_button}
  • Hardcoded <img> elements in .xml file lines 934-946 instead of in template
  • Still using vb3.x syntax to specify stylevar color on <hr> which obviously doesn't work on vb4.x
  • Still using vb3.x post url syntax 'showthread.php?p=<post#>#post<post#> to jump to post from stat screen instead of vb4.x canonical syntax 'showthread.php?t=<thread#>&viewfull=1&p=<post#>#p ost<post#>'
  • Erroneous double call to $templater->render() in helpfulanswers.php lines 510 & 532
  • Not really a need for a 2nd code path in helpfulanswers.php for 'guestrate' param. The 'rate' param path could just check if user is logged in.
  • vb parameter 'sessionurl' and/or 'sessionurl_q' should be used in all cases
  • Urls to posts should be run through the 'Friendly Urls' munger.
  • Soft deleted posts should not show up in helpfulanswers statistics; user totals updated accordingly.
  • Hard deleted posts should have helpfulanswer ratings on post also deleted
  • Option 'Enable Single Post Voting' would probably be more useful per forum instead of global
  • A minimum rep amount might be nice when using user's rep power or percentage
  • 'Least Helpful Answers' stats/marking would be nice instead of just ignoring them.
  • When you get it working, anonymous reporting should use class_vurl instead of curl
  • Admincp deleting post ratings does not update helpfulpost
  • Admincp option 'Enable Single Post Voting' is missing descriptive phrase due to phrase name misspelling
  • Admincp phrases should be in own group instead of spread to various preexisting groups. There also appears to be some redundancies.
  • Admincp 'Rating History and Editing' & 'Bulk Forum Enabler' should instead be in maintenance block
  • Admincp needs way to repair/recalculate user totals due to system error/User merging/deleting etc.
  • Admincp templates should be in own group instead of 'Help Templates'
  • Using 'onmouseover', 'onmouseout' should be removed in favor of css 'hover'
  • Using 'onclick' for AJAX call should be removed in favor of progressive enhancement style javascript. If done, <script> element could be moved to just before </body>

If the above were implemented along with some of your enhancements already planned, this hack would go from 'great' to 'near perfect'.
Reply With Quote
Благодарность от:
Ted S
  #863  
Old 03-23-2011, 04:59 PM
tightjeansforum tightjeansforum is offline
 
Join Date: Mar 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and turned on in every forum but I dont see the rep system.
Reply With Quote
  #864  
Old 03-26-2011, 01:57 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ayam View Post
i don't want to mess up anything with the coding or the forum so better to play safe, waiting for ur update

1 more question, is it normal when someone rating a post, they will be brought back to the 1st post?
Are you not using ajax on your site?
Reply With Quote
  #865  
Old 03-26-2011, 01:58 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tom Kagan View Post
Nice product - well coded. Kudos!

A couple of nitpicks:
  • Still some usage of '&' in some urls instead of '&amp;'
  • No need for './' when specifying href in anchor elements
  • Hardcoded 'images/buttons' instead of using {vb:stylevar imgdir_button}
  • Hardcoded <img> elements in .xml file lines 934-946 instead of in template
  • Still using vb3.x syntax to specify stylevar color on <hr> which obviously doesn't work on vb4.x
  • Still using vb3.x post url syntax 'showthread.php?p=<post#>#post<post#> to jump to post from stat screen instead of vb4.x canonical syntax 'showthread.php?t=<thread#>&viewfull=1&p=<post#>#p ost<post#>'
  • Erroneous double call to $templater->render() in helpfulanswers.php lines 510 & 532
  • Not really a need for a 2nd code path in helpfulanswers.php for 'guestrate' param. The 'rate' param path could just check if user is logged in.
  • vb parameter 'sessionurl' and/or 'sessionurl_q' should be used in all cases
  • Urls to posts should be run through the 'Friendly Urls' munger.
  • Soft deleted posts should not show up in helpfulanswers statistics; user totals updated accordingly.
  • Hard deleted posts should have helpfulanswer ratings on post also deleted
  • Option 'Enable Single Post Voting' would probably be more useful per forum instead of global
  • A minimum rep amount might be nice when using user's rep power or percentage
  • 'Least Helpful Answers' stats/marking would be nice instead of just ignoring them.
  • When you get it working, anonymous reporting should use class_vurl instead of curl
  • Admincp deleting post ratings does not update helpfulpost
  • Admincp option 'Enable Single Post Voting' is missing descriptive phrase due to phrase name misspelling
  • Admincp phrases should be in own group instead of spread to various preexisting groups. There also appears to be some redundancies.
  • Admincp 'Rating History and Editing' & 'Bulk Forum Enabler' should instead be in maintenance block
  • Admincp needs way to repair/recalculate user totals due to system error/User merging/deleting etc.
  • Admincp templates should be in own group instead of 'Help Templates'
  • Using 'onmouseover', 'onmouseout' should be removed in favor of css 'hover'
  • Using 'onclick' for AJAX call should be removed in favor of progressive enhancement style javascript. If done, <script> element could be moved to just before </body>
If the above were implemented along with some of your enhancements already planned, this hack would go from 'great' to 'near perfect'.
That's one heck of a list. Thanks.
Reply With Quote
  #866  
Old 03-27-2011, 01:23 AM
Tom Kagan Tom Kagan is offline
 
Join Date: Jan 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
That's one heck of a list. Thanks.
You are welcome. I help out a friend who runs a large site on a shoestring. I take my code audits seriously. Especially considering some of the other hacks I've looked at, I was impressed by this hack's attention to detail, so I felt a similar level would be in order when making comments.
Reply With Quote
  #867  
Old 04-06-2011, 06:45 PM
anht1706@hotmai anht1706@hotmai is offline
 
Join Date: Nov 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to change the word " found this post helpful", which file should I edit? Thanks
Reply With Quote
  #868  
Old 04-10-2011, 07:56 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anht1706@hotmai View Post
I want to change the word " found this post helpful", which file should I edit? Thanks
Search your phrase manager and translate the bit.
Reply With Quote
  #869  
Old 04-10-2011, 08:22 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ted, is there a way to move the "See the top rated post in this thread" to the thread tools bar? And print in the thread list, just beside a thread tittle, the number of ratings that was given to it?
Reply With Quote
  #870  
Old 04-13-2011, 05:27 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kingMOB View Post
Hi Ted, is there a way to move the "See the top rated post in this thread" to the thread tools bar? And print in the thread list, just beside a thread tittle, the number of ratings that was given to it?
You would have to change the hook location in the xml file at this time but it would be fairly simple to do.
Reply With Quote
  #871  
Old 04-20-2011, 05:56 AM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, could you help me adding some space between this and the forum postbit border please?

currently its touching it.



edit: would also be nice if you introduced some new and more professional looking thumbs icons
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 09:53 PM.


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.09771 seconds
  • Memory Usage 2,369KB
  • Queries Executed 29 (?)
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
  • (5)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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