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] Post Thank You Hack Details »»
[AJAX] Post Thank You Hack
Version: 7.82, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 12-29-2009 Last Update: 11-01-2016 Installs: 3537
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Post Thank You Hack

STAFF EDIT:
Note - The mod author has been unreachable for some time, but the vbulletin.org community has stepped up to provide a number of individual fixes over the years. ForceHSS, Hippy, and Seven Skins have all combined many of these fixes into product files.

ALL CREDIT STILL GOES TO ABE1 And this is still 'his' mod. Please still mark the mod as installed if you use any version of it.

That said so you don't need to apply a dozen + small fixes yourself you should consider downloading one of the updated packages below:

Hippy has one in this post.

AND / OR

ForceHSS has one in this post.

AND/OR

Seven Skins has one in this post.


- Original File Specs: post_thanks_7_82.zip (26.4 KB, 24844 downloads) - Original file removed, replaced with patched files including search fix (some admins noticed hackers attempting to use outdated code to exploit search in attempt to gain administrator password or similar).
- There are five total patched versions available, some with and without the search fix - I've replaced the main file with the patched versions... please be sure to download and install the correct version, the main mod post contains links to additional information and patched files!
- If Abe1 returns he can request these packages be removed.


About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.

There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.

Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around.

Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.

What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.

By giving your users the extra feature, you forum will look allot nice and organized. It is a guaranteed liking by ALL the members of your forum.


Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Uses AJAX technology so your users don't have to refresh when they thank.
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thanks into one small box
  • Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Option to not allow users to thank their own post
  • Guests don't see 'thanks' button
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in profile
  • Search for a users thanked posts
  • Search for all thanked posts
  • Administrator can remove all Thanks from a single post
  • Users can remove their own Thanks
  • Turn on and off hack totally
  • Turn on and off hack for only some forums
  • Option to turn off hack for all but the first post of a thread
  • Option to turn off hack for all but the first post of a thread in specific forums
  • Option to turn off hack view of date for specific or all forums
  • Option to add to post count when someone clicks 'thanks'.
  • Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Uses Phrases
  • Cache Templates
  • Guaranteed to be liked by ALL users on your forum!
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 8
  • Time to install: 1 minute max
Updates:


Version 7.80 (12/30/09):
  • Release of this hack for vBulletin version 4.0

Version 7.81 (01/02/10):
  • Fixed some install and uninstall database errors.
  • Made styling for postbit legacy a little better.
  • Fixed the "separator" issue.
  • Javascript file updated.

Version 7.82 (01/03/10):
  • Fixed info alignment issues in the postbit for custom edited phrases.
NOTE: *** Offer for paid services removed ***

Download Now

File Type: zip post_thanks_ version_7.83+integrated-postbit_box-collapse.zip (30.1 KB, 356 views)
File Type: zip post_thanks_ version_7.84+with_and-without-integrated_postbit_box_collapse.zip (35.5 KB, 310 views)
File Type: zip post_thanks_7_84_with search fix.zip (26.3 KB, 235 views)
File Type: zip post_thanks_7_85 For 4.2.0 - 4.2.3 vb version.zip (59.3 KB, 399 views)
File Type: zip post_thanks_7_85 For 4.2.0 - 4.2.3 vb version updated.zip (59.3 KB, 357 views)
File Type: zip post_thanks_7_86 For 4.2.0 - 4.2.3 vb version_with_thanks_postbit_fix.zip (59.3 KB, 1756 views)
File Type: zip post_thanks_7_88_for_vB_423_with_collapse_scroll_postbit_fix_and_added_features.zip (21.1 KB, 1032 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
92 благодарности(ей) от:
armagan, Baja, BasicGreatGuy, BCP Hung, Beckenbauer, BlueCheri, BoRoU, Bubble #5, Bucky Katt, CAG CheechDogg, CharlesEdwards, ChriDevelop, Crow, D4rk_Sh00t3r, dandanch, deltahawk5, dlewisr, drchinh, DS MrSinister, ELROBLE, elsa23, elwizard, eTiKeT?, fai99al99, Fennec, ggrimes620, goxy63, Hippy, jamyk, Jass!, john7911, jowshany, Juggernaut, JustAskJulie, kamurj, klyde, lange, lehoang101101, Life Revived, lims, LordOfWAR_PC, Luvilla, M Shaker, Mandushi, mapleleaffans, MegaManSec, michal72, mikadit, MistyMeanor, mjfan227, mmcguire, mobile4persian, mohammadxxx, Monyet_sby, nacaruncr, OMAN_LOVER, O_Dog, Peafor, phiber, pjkcards, Popa Andrei, Pottsy, Protonus, rafiul, RetroDreams, RichieBoy67, Rickpwns, Rodrigo., Roidon, Rubio, Sarah EI, sarvarjafari, sivaganeshk, Skaut, Skedoozy, socceronly, socialteenz, Stefan118, Teascu Dorin, TheSSDReview, TorrentMan, webriz.com, Whity

Comments
  #2822  
Old 08-06-2012, 09:43 AM
oldz442 oldz442 is offline
 
Join Date: May 2012
Location: Canada
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to simply the like display with a simple post counter beside the Like button. You press the Like button, the counter increments, the Like button is no longer clickable, and hopefully no text/imgs shift at all or too much. Is that possible w/o having to refresh the page?

I did manage to set it up (using vb 4.2.0) like this site with the horizontal blue bar. Works fine, except that relative and absolute settings are being a pain in postbit_legacy template and postbody section... mainly that is pushes the sig and last edited line up too much once there is a Like - I can set margin-bottom:60px or so on postbody, but does not look right with no sig or last edited line.
Reply With Quote
  #2823  
Old 08-08-2012, 08:13 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
As English is not your first language I will help you as you might not understand what the first says so click the link in my sig so get the updated one it also tells you this in the first post or as some call it the op
Thanks ForceHSS... very nice...
Reply With Quote
  #2824  
Old 08-09-2012, 07:03 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave

PHP Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

            
REPLACE INTO vbsearch (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
            
VALUES (2'192.109.140.134'1'Disco_Dave''''post.dateline''DESC'0.017431'54231,54219,54172,54098,54084,54083,53994,53915,53767,53718,53597,53548,53339,53319,53193,53169,52896,52503,52497,52485,52459,52453,52385,52144,51968,51939,51630,51620,51612,51610,51569,51542,51304,51160,51159,37103,37053,37000,36962,36912,36902,36861,35942,35817,35526,35515,35368,34461,34162,33611,33608,33501,33313,33133,33105,32888,32425,31765,31721,31348,31096,31092,30836,30830,30816,30743,30724,30162,30160,30126,30125,30095,30085,29910,29668,29626,29465,29403,29364,29319,29221,29218,29217,29025,29003,28998,28959,28821,28730,28591,27530,26800,25993,25858,25769,23399,23330,22925,22737,22380,21937,21729,21413,21388,21320,21300,20813,20542,20512,20220,20169,20055,20019,19994,19763,19367,19232,19176,19151,19112,19104,18168,17921,17650,17551,17425,17424,16637,16409,16370,16136,15310,15140,14339,14330,13424,13408,13107,13081,11795,11749,11743,11421,10670,10200,10094,9768,9128,9119,9118,9111,9057,8994,8598,8565,8483,8173,7792,7138,6985,6925,6445,6440,5876,5808,5315,5312,5290,5158,4699,4529,4134,4075,3923,3891,3853,3431,3120,2829,2749,2273,2241,1548,1426,356,353,351,350'1344499191'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}''28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error   Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number  : 1146
Request Date  : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date    : Thursday, August 9th 2012 @ 02:59:51 AM
Script        : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer      : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address    : xxxxxxxxxxxxx
Username      : Disco_Dave 
Reply With Quote
  #2825  
Old 08-09-2012, 01:21 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tricksodave View Post
@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave

PHP Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

            
REPLACE INTO vbsearch (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
            
VALUES (2'192.109.140.134'1'Disco_Dave''''post.dateline''DESC'0.017431'54231,54219,54172,54098,54084,54083,53994,53915,53767,53718,53597,53548,53339,53319,53193,53169,52896,52503,52497,52485,52459,52453,52385,52144,51968,51939,51630,51620,51612,51610,51569,51542,51304,51160,51159,37103,37053,37000,36962,36912,36902,36861,35942,35817,35526,35515,35368,34461,34162,33611,33608,33501,33313,33133,33105,32888,32425,31765,31721,31348,31096,31092,30836,30830,30816,30743,30724,30162,30160,30126,30125,30095,30085,29910,29668,29626,29465,29403,29364,29319,29221,29218,29217,29025,29003,28998,28959,28821,28730,28591,27530,26800,25993,25858,25769,23399,23330,22925,22737,22380,21937,21729,21413,21388,21320,21300,20813,20542,20512,20220,20169,20055,20019,19994,19763,19367,19232,19176,19151,19112,19104,18168,17921,17650,17551,17425,17424,16637,16409,16370,16136,15310,15140,14339,14330,13424,13408,13107,13081,11795,11749,11743,11421,10670,10200,10094,9768,9128,9119,9118,9111,9057,8994,8598,8565,8483,8173,7792,7138,6985,6925,6445,6440,5876,5808,5315,5312,5290,5158,4699,4529,4134,4075,3923,3891,3853,3431,3120,2829,2749,2273,2241,1548,1426,356,353,351,350'1344499191'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}''28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error   Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number  : 1146
Request Date  : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date    : Thursday, August 9th 2012 @ 02:59:51 AM
Script        : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer      : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address    : xxxxxxxxxxxxx
Username      : Disco_Dave 
Use the one in my sig with search fix
Reply With Quote
Благодарность от:
Disco_Dave
  #2826  
Old 08-09-2012, 01:40 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ForceHSS
Reply With Quote
  #2827  
Old 08-09-2012, 01:57 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome if you need any more help pm me or check Skype
Reply With Quote
  #2828  
Old 08-09-2012, 04:18 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Use the one in my sig with search fix
Actually, of the 3 choices in your sig, none mentions a search fix. I think what you mean is "Use the one in my sig because it contains the search fix.".
Reply With Quote
  #2829  
Old 08-10-2012, 11:03 AM
treefrog treefrog is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all
Reply With Quote
  #2830  
Old 08-10-2012, 11:15 AM
Adam H Adam H is offline
 
Join Date: Apr 2008
Location: UK
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by treefrog View Post
Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all
See this post, although if you only want the terms to be changed to like instead of Thanks just change the phrases as described at the top of the post. If you want the whole style to be changed so it looks like the screen shot then follow all the instructions :

https://vborg.vbsupport.ru/showthread.php?t=266358
Reply With Quote
  #2831  
Old 08-10-2012, 11:27 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BirdOPrey5 made one.
You'll find a short cut here and anything else you may need





https://vborg.vbsupport.ru/showpost....postcount=1943
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 01:19 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.12198 seconds
  • Memory Usage 2,458KB
  • 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_php
  • (4)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
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (84)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
  • (7)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