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
  #1142  
Old 06-04-2012, 03:13 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bfdzio View Post
Ted S...do you have any idea on how I might do this (the second quote)? I got it working thanks to your help but just saw this post was bumped and recalled I never did figure out how to make it preview the posts.

I can probably handle the design part of it but is that a specific code I am looking for or anything?
You'll need to alter the script's query to join the post table, get the body message, potentially parse it through the editor if you allow styling and that's about it.

SELECT <existing stuff>,post.message

JOIN post ON helpfulpost.postid = post.postID
Reply With Quote
  #1143  
Old 06-04-2012, 07:30 PM
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Posts: 465
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
And your settings for the mod....?
I am using the default settings. Everything is fine, if the mod is disabled.
Reply With Quote
  #1144  
Old 06-04-2012, 08:34 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by socialteenz View Post
I am using the default settings. Everything is fine, if the mod is disabled.
Modify the plugin hook forumdisplay_query_threadid to

Code:
if($foruminfo['helpfulanswerbits'] AND $foruminfo['helpfulanswerorderbits']){
                    $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "helpfulpost AS helpfulpost ON(thread.threadid = helpfulpost.threadid)";
                }
And let me know if that fixes it
Reply With Quote
  #1145  
Old 06-05-2012, 03:39 AM
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Posts: 465
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Modify the plugin hook forumdisplay_query_threadid to

Code:
if($foruminfo['helpfulanswerbits'] AND $foruminfo['helpfulanswerorderbits']){
                    $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "helpfulpost AS helpfulpost ON(thread.threadid = helpfulpost.threadid)";
                }
And let me know if that fixes it

Still no luck Ted!
Reply With Quote
  #1146  
Old 06-05-2012, 03:49 AM
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Posts: 465
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: I modified forumdisplay_query hook with your code.

That seems to fix my problem.
Reply With Quote
  #1147  
Old 06-05-2012, 06:38 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by socialteenz View Post
Update: I modified forumdisplay_query hook with your code.

That seems to fix my problem.
Great. We'll roll that into the next official release.
Reply With Quote
Благодарность от:
socialteenz
  #1148  
Old 06-12-2012, 07:44 PM
Eole Eole is offline
 
Join Date: May 2012
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
That's certainly not something that should be happening... It sounds like something is going wrong with your mySQL records...

Take a look at the table helpfulpost and a post that shows up multiple times. There should be just one entry per postid.

I.E. SELECT COUNT(*) FROM helpfulpost WHERE postid = '12345';
Hello TedS,

in the helpfulpost table, every postid has a single line, no duplicate in database. But there are always here in the forum pages. the threadid has 5 line in helpfulpost table (5 distinct postid) that seems correct, but I have exactly 5 duplicate threads on the thread page of the forum.

Regards.
Reply With Quote
  #1149  
Old 06-12-2012, 09:42 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eole View Post
Hello TedS,

in the helpfulpost table, every postid has a single line, no duplicate in database. But there are always here in the forum pages. the threadid has 5 line in helpfulpost table (5 distinct postid) that seems correct, but I have exactly 5 duplicate threads on the thread page of the forum.

Regards.
And when you disable just this mod that goes away, correct?
Reply With Quote
  #1150  
Old 06-25-2012, 07:24 PM
penmai.com penmai.com is offline
 
Join Date: Feb 2010
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help me, how to make only certain usergroup can vote it, for example only moderator and supermod can vote it.
Reply With Quote
  #1151  
Old 06-25-2012, 07:33 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by penmai.com View Post
please help me, how to make only certain usergroup can vote it, for example only moderator and supermod can vote it.
That's not something built in but you can hack the mod to do it through both the XML and php file.
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:08 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.06827 seconds
  • Memory Usage 2,363KB
  • 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
  • (2)bbcode_code
  • (8)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
  • (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