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

Reply
 
Thread Tools
[AJAX] Helpful Threads - Thread Rating System Details »»
[AJAX] Helpful Threads - Thread Rating System
Version: 1.0.2, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.4 Rating:
Released: 08-28-2009 Last Update: 08-28-2009 Installs: 33
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

After releasing Helpful Answers, a post rating system, many users commented that they wanted a more interactive way to rank and then sort threads. Helpful Threads is an AJAX based system that does exactly that letting users rate individual threads and then lets you sort by those ratings. The addon also switches from a positive / negative rating to a point system with one admin option.

Designed for maximum flexibility:

This addon is built to be flexible and offers several customization options including:
  • The ability to decide which forums are open for helpful answer ratings.
  • The ability to customize the AJAX message shown after a post is rated.
  • The ability to set a minimum post count for users to avoid abuse.
  • The ability to use a rating system and assign points.
  • The ability to customize how threads are ranked.
  • The ability to auto reset votes for thread rankings.
  • Template driven display that can easily be customized to your forum.
Load & Scale:
This addon is designed to work with small to large sites and does not alter any existing tables.

Modification Installation:
This addon requires uploading multiple files, installing a vBulletin product and enabling the feature in any forums you wish. One template modification is 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 made the template change.

Coming Soon:
Like with Helpful Answers, the initial release is intended to get people exposed to this tool. Coming down the road I will be adding in more complex ranking options, the ability to report on threads, better AJAX support and much more.

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:
- 08/29/2009 - Release of 1.0.2 stable

Other Versions:
This addon will work with 3.7 and is supported in the same thread.

Download Now

File Type: zip Helpful Threads 1.0.2.zip (15.3 KB, 229 views)

Screenshots

File Type: jpg advanced-install.jpg (16.3 KB, 0 views)
File Type: jpg default-install.jpg (9.0 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 08-29-2009, 05:56 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Holding for template install
Reply With Quote
  #3  
Old 08-29-2009, 05:58 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This addon requires a mandatory template change as follows:

Open the template THREADBIT and find:

Code:
<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
And replace with:
Code:
$helpful_threads


-----------------------------------------------------

As an alternative you can add a new cell to your forum display page to improve how voting shows. This is shown in the screen shots in the main post.

Step 1: Open the template THREADBIT and remove

Code:
<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
Step 2: In THREADBIT find <if condition="$show['threadmoved']">

Step 3: BEFORE this code add:

Code:
<td>$helpful_threads</td>
Step 4: Open the template FORUMDISPLAY and find:

Code:
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Step 5: BEFORE this add:

Code:
<td class="thead" width="150" align="center">Ranking</td>
Reply With Quote
  #4  
Old 08-29-2009, 09:42 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Step 3) Enable the system in any of your forums by visiting the forum options and scrolling to the end of the page. "

This option does not appear in my forum options for either mod; Helpful Threads or Helpful Answers.

Any idea why?

Also I get a blank grey color space in forumdisplay, and only the thumbs section in threads.
Attached Images
File Type: jpg tmp1.jpg (118.1 KB, 0 views)
File Type: jpg tmp2.jpg (87.2 KB, 0 views)
Reply With Quote
  #5  
Old 08-29-2009, 09:50 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also got the follow error after doing to bulk forum enabler.

PHP Code:
helpfulthreads_vote.yesnohelpfulthreads_vote.helpfulthreadid 
                                FROM board_helpfulthread
                                LEFT JOIN board_helpfulthreads_vote 
as helpfulthreads_vote ON (helpfulthreads_vote.threadid helpfulthread.threadid AND helpfulthreads_vote.userid 4202)
                                
WHERE helpfulthread.threadid 5;

MySQL Error   Unknown column 'helpfulthread.goodrank' in 'field list'
Error Number  1054
Request Date  
SaturdayAugust 29th 2009 07:43:34 PM
Error Date    
SaturdayAugust 29th 2009 07:43:34 PM
Script        
http://*****/forums/showthread.php?t=5
Referrer      http://****/forums/staging-lanes/
IP Address    
Username      
Classname     vB_Database
MySQL Version 
5.0.45 
Reply With Quote
  #6  
Old 08-29-2009, 09:52 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disable the addon to avoid errors.

I will review and see what could have caused this bug.
Reply With Quote
  #7  
Old 08-29-2009, 11:34 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, another great add-on by you. not sure if I will need this yet, but I will keep this in mind if I do.
Reply With Quote
  #8  
Old 08-29-2009, 11:37 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Disable the addon to avoid errors.

I will review and see what could have caused this bug.
Thanks and I appreciate your hard work and efforts.
Reply With Quote
  #9  
Old 08-31-2009, 11:46 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psychobike View Post
"Step 3) Enable the system in any of your forums by visiting the forum options and scrolling to the end of the page. "

This option does not appear in my forum options for either mod; Helpful Threads or Helpful Answers.

Any idea why?

Also I get a blank grey color space in forumdisplay, and only the thumbs section in threads.
I have the same problem.
Reply With Quote
  #10  
Old 08-31-2009, 02:47 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
I have the same problem.
Have you:

1. Enabled the option in a forum?
2. Added the necessary template code?
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 04:33 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.04488 seconds
  • Memory Usage 2,342KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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