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
  #1112  
Old 04-04-2012, 02:17 PM
bfdzio bfdzio is offline
 
Join Date: Oct 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
You can simply copy that routine and add one addition WHERE statement to the mySQL query along the lines of

createddate >= DATE_SUB(NOW(),INTERVAL 1 day)

Tried several different things and can't get it to work...where excactly? Also it can't find any 'createddate' but at least got rid of the error when I changed it to post dateline..but nothing shows.

$helpfulanswers = $db->query_read_slave("
SELECT post.postid,post.title as posttile,helpfulpost.goodrank,helpfulpost.totalran k,helpfulpost.lastvote,
thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle $helpful_selectby
$hook_query_fields
FROM " . TABLE_PREFIX . "helpfulpost as helpfulpost
INNER JOIN " . TABLE_PREFIX . "post AS post ON(helpfulpost.postid = post.postid)
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON(post.threadid = thread.threadid)
INNER JOIN " . TABLE_PREFIX . "forum AS forum ON(thread.forumid = forum.forumid)
WHERE helpfulpost.goodrank > 0
$conditions
$hook_query_joins
ORDER BY $sqlsort $sortorder
LIMIT " . ($limitlower - 1) . ", $perpage
");
Reply With Quote
  #1113  
Old 04-04-2012, 04:03 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shoot... createddate is the attribute I usually use in mods but in this one it would be

helpfulanswer.lastvote

However I've over simplified as this is a UNIXTIMESTAMP made by vBulletin rather than a datestamp. That means you have to get more complex in the query...

helpfulanswer.lastvote >= UNIX_TIMESTAMP(DATE_SUB(NOW(),INTERVAL 1 day))

Or something like that
Reply With Quote
  #1114  
Old 04-07-2012, 04:19 PM
Shill360 Shill360 is offline
 
Join Date: Feb 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bit of a strange one this.

I am entering {vb:raw post.totalrank} in my postbit_legacy template.

And it is showing the number of thanks under the user avatar. But only on that particular post. Is there anyway to show the total number of thanks on all posts for a user. The old variable on the 3.x version was $post[hatotalrank] which showed the total number of thanks on multiple posts for users.

Am I doing something wrong ?
Reply With Quote
  #1115  
Old 04-08-2012, 12:22 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shill360 View Post
Bit of a strange one this.

I am entering {vb:raw post.totalrank} in my postbit_legacy template.

And it is showing the number of thanks under the user avatar. But only on that particular post. Is there anyway to show the total number of thanks on all posts for a user. The old variable on the 3.x version was $post[hatotalrank] which showed the total number of thanks on multiple posts for users.

Am I doing something wrong ?
post.totalrank is a post variable so it's not strange that it only shows what that post got

If you scroll back to the first page of the mod there's a list of accessible variables with brief descriptions. I don't recall them all off hand but if I had any common sense when making this version it would have been post.hatotalrank
Reply With Quote
  #1116  
Old 04-08-2012, 01:42 PM
bfdzio bfdzio is offline
 
Join Date: Oct 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Shoot... createddate is the attribute I usually use in mods but in this one it would be

helpfulanswer.lastvote

However I've over simplified as this is a UNIXTIMESTAMP made by vBulletin rather than a datestamp. That means you have to get more complex in the query...

helpfulanswer.lastvote >= UNIX_TIMESTAMP(DATE_SUB(NOW(),INTERVAL 1 day))

Or something like that

Got it working, now I just need to make it show a preview of the post (or the whole post).

Probably more work involved in that though.
Reply With Quote
  #1117  
Old 04-16-2012, 02:06 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
I have this installed and all is fine, except that I have just installed Pird of Preys Simple Postbit modification and this mod no longer works in the sections where I have activated Simple Postbits.
Simple Postbits has a box that says Use Postbit Control Hooks, the description is below;

"Choose whether you want to enable the postbit controls template hook. If yes mods that use this hook will be able to place their code in the simple postbit. Enable this if you want a "Like" button or other 3rd party buttons to show."

Does anyone know how I can get Helpful Answers to work again in those sections?
Thanks for any suggestions.
Reply With Quote
  #1118  
Old 04-16-2012, 05:19 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trevor Matthews View Post
Hi
I have this installed and all is fine, except that I have just installed Pird of Preys Simple Postbit modification and this mod no longer works in the sections where I have activated Simple Postbits.
Simple Postbits has a box that says Use Postbit Control Hooks, the description is below;

"Choose whether you want to enable the postbit controls template hook. If yes mods that use this hook will be able to place their code in the simple postbit. Enable this if you want a "Like" button or other 3rd party buttons to show."

Does anyone know how I can get Helpful Answers to work again in those sections?
Thanks for any suggestions.
I can't debug specific cross-mod issues as there's simply too many combinations but I'd suggest trying the manual placement option and adding the template hook yourself. This takes a couple lines of editing but may solve your issue.
Reply With Quote
  #1119  
Old 04-16-2012, 05:28 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks, Pird of Prey is having a look at it for me.
I will report back if I can solve the problem.
Reply With Quote
  #1120  
Old 04-16-2012, 05:37 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trevor Matthews View Post
Ok, thanks, Pird of Prey is having a look at it for me.
I will report back if I can solve the problem.
If they find a conflict please let me know. It's _generally_ not hard to fix those, it's finding them that's a pain.
Reply With Quote
  #1121  
Old 04-16-2012, 05:47 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been sorted, I had to modify the template.
Details are Here, should be sorted in later releases.
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 02:21 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.05633 seconds
  • Memory Usage 2,362KB
  • 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
  • (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
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)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
  • (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_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