Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Post Thank You Hack Details »
[AJAX] Post Thank You Hack
Mod Version: 7.7, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (411 votes - 4.81 average) Installs: 4911
Released: 20 Dec 2007 Last Update: 28 Jul 2008 Downloads: 29562
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

vB 4.0 version of this hack here: http://www.vbulletin.org/forum/showthread.php?t=231666

Post Thank You Hack 7.7


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: (If installed on vb 3.7)
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 7
  • Time to install: 1 minute max

Updates:

Version 7.0 (12/20/07):
  • Release of this hack for vBulletin version 3.7
  • This version works on all vBulletin versions from 3.6.0 and up

Version 7.1 (12/24/07):
  • Fixed up the vb3.7 profile block code including fixing showing your info and not the member you are looking at.

Version 7.2 (01/24/08):
  • Updated files: post_thanks.php, functions_post_thanks.php
  • Updated templates: post_thanks_memberinfo_block, post_thanks_member_info
  • New option: Remove User's Thanks Count When Deleting Post
  • New phrase: post_thanks_search_user_gave
  • FIX User reputation level now updates. (Thanks to liwo for this one.)
  • NEW Added option to view all posts a user has thanked.
  • FIX Fixed Special Action - Delete All of a Users Thanks
  • FIX Should have fixed some 'foreach()' errors.

Version 7.3 (03/15/08):
  • Updated file: functions_post_thanks.php
  • Updated template: post_thanks_memberinfo_block
  • Deleted template: post_thanks_memberinfo_css
  • New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
  • New option: Ban User from Getting Thanks
  • New option: Max Thanks a User can Give Per Day
  • FIX Fixed repeating bug on vb 3.6.7 forums.
  • CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)

Version 7.4 (03/21/08):
  • FIX: Fixed Profile Stats for vb3.7.0 RC1 users.

Version 7.5 (05/12/08):
  • Updated files: post_thanks.js, post_thanks.php, functions_post_thanks.php
  • Updated template: post_thanks_button
  • Added securty token check for all thanks added. This will prevent a user from giving out a link or somehow making an image that will get him a lot of thanks.
  • Should have fixed some 'foreach()' errors.
  • Fixed Delete All of a Users Thanks bug
  • vBulletin 3.7.x compatible only

Version 7.6 (06/02/08):
  • FIX: Fixed Security Check for vb 3.7.1
  • Updated files: functions_post_thanks.php

Version 7.7 (07/28/08):
  • FIX: Fixed problem with giving thanks using Blazer (palmOS browser).
  • Updated file: post_thanks.js
  • Updated templates: post_thanks_button, post_thanks_postbit, post_thanks_postbit_legacy
  • New option: Show Stats in Postbit?
  • New option: Show Stats in Profile?

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Pictures:
  1. Showing the 'thanks' button and stats in Postbit
  2. Showing post after 'thanks' (user view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in members profile and link
  5. Link in Search drop down menu
  6. Hacks settings

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.jpg
Views:	11417
Size:	16.8 KB
ID:	77303   Click image for larger version

Name:	2.jpg
Views:	9160
Size:	29.4 KB
ID:	77304   Click image for larger version

Name:	4.jpg
Views:	11508
Size:	27.1 KB
ID:	77305   Click image for larger version

Name:	5.jpg
Views:	11555
Size:	38.1 KB
ID:	77306  

Click image for larger version

Name:	6.jpg
Views:	3670
Size:	5.9 KB
ID:	77307   Click image for larger version

Name:	7.jpg
Views:	6317
Size:	128.0 KB
ID:	77308  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements [AJAX] Post Thank You Hack Abe1 vBulletin 3.6 Add-ons 2155 17 Aug 2015 18:50
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 05:09
[AJAX] Post Thank You Hack Abe1 vBulletin 3.5 Add-ons 998 23 Dec 2012 06:24

  #2146  
Old 15 Sep 2011, 22:04
BonsaiNut BonsaiNut is offline
 
Join Date: Oct 2006
Originally Posted by Simon Lloyd View Post
The image will look like this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just to prove whether it's that change it for the full url so
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And see if that makes a difference
Ok just to be 100% certain that I am doing this correctly...

I went into the Post Thank You Hack Templates
I opened the template for post_thanks_button
The original code looked like:
<img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />
I edited to this:
<img src="http://www.bonsainut.com/forums/images/bonsainut/buttons/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />

It still does not work I checked the above hard-coded directory, and the button IS in that directory. Thank you for your help!

[EDIT]

Ok... interestingly I was playing around with postbit and postbit_legacy, and by moving code around I could get the button to display... but still no functionality. I would click on the button, but the display would not change to show "thanks"...

Last edited by BonsaiNut; 16 Sep 2011 at 01:08.
Reply With Quote
  #2147  
Old 16 Sep 2011, 10:47
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Have you got all ajax enabled on your site? AdminCp>vBulletin Options>General Settings>Disable Ajax Features>Enable All Ajax features

Remember that this mod does conflict with other mods that use ajax!
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #2148  
Old 16 Sep 2011, 14:06
BonsaiNut BonsaiNut is offline
 
Join Date: Oct 2006
Originally Posted by Simon Lloyd View Post
Have you got all ajax enabled on your site? AdminCp>vBulletin Options>General Settings>Disable Ajax Features>Enable All Ajax features

Remember that this mod does conflict with other mods that use ajax!
Yes, I do have Ajax enabled.

I assume the conflict I am having is with my custom design. In retrospect, I wish I had run with something a little more generic. I think I am going to upgrade my site to 4.0, and at that point use very limited customization...
Reply With Quote
  #2149  
Old 16 Sep 2011, 15:38
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Well i don't know that vb4 is the way to go, ideally you should find out why iy's not working with yours as it could spell trouble later for other mods...etc
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #2150  
Old 29 Sep 2011, 17:59
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
still doesn't have the option to delete all thanks a single user received?
__________________



vBulletin 4.2.5 | PHP 7.0 | MariaDB 10.2
Reply With Quote
  #2151  
Old 10 Oct 2011, 09:21
jl255 jl255 is offline
 
Join Date: May 2007
should i expect importing of the XML file to take a long time for a large board with more than 1M posts? It takes 60s to process then goes to a blank blue page in my admincp.
Reply With Quote
  #2152  
Old 10 Oct 2011, 09:28
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
The bigger the board the longer it takes, you may have to turn your board off while installing it.
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #2153  
Old 10 Oct 2011, 09:45
jl255 jl255 is offline
 
Join Date: May 2007
tks but it just seems to stop upon reaching the blank blue screen in my admincp. If it is still processing, i shld at least still see the processing icon on my browser right?
Reply With Quote
  #2154  
Old 10 Oct 2011, 10:01
jl255 jl255 is offline
 
Join Date: May 2007
also, are you saying that the mod is manually inserting the thank you bit in every existing thread during installation?
Reply With Quote
  #2155  
Old 10 Oct 2011, 11:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The mod needs to alter your user and post table... that means it needs to edit a million+ entries on your database at least.

It might be timing out.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #2156  
Old 10 Oct 2011, 12:15
jl255 jl255 is offline
 
Join Date: May 2007
So what can I do abt the timeout?
Reply With Quote
  #2157  
Old 10 Oct 2011, 13:00
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Are you on shared hosting? Maybe talk to your host to see if you can extend the timeout period.

Another option would be to shut off your forum and try during a time of day when the server has the least traffic, might work.

Final option might be to add the fields via phpmyadmin directly (or at last check to see if they were correctly made).
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #2158  
Old 10 Oct 2011, 20:33
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
Guys, please help!!
Sometimes, some users gave double votes
For example:

I update the counters "Update Post Thanks Post Amount" but nothing change...

Any solution?
Reply With Quote
  #2159  
Old 11 Oct 2011, 16:31
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by philos2 View Post
Guys, please help!!
Sometimes, some users gave double votes
For example:

I update the counters "Update Post Thanks Post Amount" but nothing change...

Any solution?
I got your PM but I don't really have any reason why this would be happening.

Are you comfortable using phpmyadmin?

I would browse your post_thanks table...

Look for all entries for the postid of the post you posted a picture of...

See how many entries there are... are there 2 or 3? If 3 what username isn't showing up? It might be an invalid character in a username or something, don't know.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #2160  
Old 11 Oct 2011, 18:40
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
I'm not comfortable using phpmyadmin, but..

... let's take the following post as example (postid= 35936)


On the table post_thanks I find on "postid":

.. but when I click every pencil of "35936", I go to a page with the same content:


What's wrong on my steps?

EDIT: I run the query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and the results...



Also, a user here has the same problem (post).
What to do? There are duplicate entries :/

Last edited by Scandal; 11 Oct 2011 at 19:13.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:53.

Layout Options | Width: Wide Color: