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.82, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (349 votes - 4.75 average) Installs: 3527
Released: 30 Dec 2009 Last Update: 02 Nov 2016 Downloads: 29638
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

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

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

Addons

Supporters / CoAuthors

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.8 Add-ons 2386 27 Aug 2019 06:19
Show Thread Enhancements [AJAX] Post Thank You Hack Abe1 vBulletin 3.6 Add-ons 2155 17 Aug 2015 18:50
[AJAX] Post Thank You Hack Abe1 vBulletin 3.5 Add-ons 998 23 Dec 2012 06:24

  #3766  
Old 02 Sep 2019, 21:57
lange lange is offline
 
Join Date: Apr 2003
Languages & Phrases > Search in Phrases > post_thanks_thanks > $vbphrase[post_thanks_thanks]

Translation in your language

@++
Reply With Quote
  #3767  
Old 02 Sep 2019, 22:21
gnrx gnrx is offline
 
Join Date: Apr 2009
Originally Posted by lange View Post
Languages & Phrases > Search in Phrases > post_thanks_thanks > $vbphrase[post_thanks_thanks]

Translation in your language

@++
I don't use this mod since few months ago, but when I was used, I translate the phrases just on you indicate.
Reply With Quote
  #3768  
Old 03 Sep 2019, 11:00
matheus21 matheus21 is offline
 
Join Date: Sep 2014
thanks given e thanks received

Originally Posted by gnrx View Post
I don't use this mod since few months ago, but when I was used, I translate the phrases just on you indicate.

BUT IT HAS TWO PHRASES THAT IS

thanks given e thanks received
Reply With Quote
  #3769  
Old 03 Sep 2019, 11:10
gnrx gnrx is offline
 
Join Date: Apr 2009
Originally Posted by matheus21 View Post
BUT IT HAS TWO PHRASES THAT IS

thanks given e thanks received
You can create the phrases and insert in template.
Reply With Quote
  #3770  
Old 03 Sep 2019, 11:25
shka shka is offline
 
Join Date: Mar 2016
Originally Posted by matheus21 View Post
BUT IT HAS TWO PHRASES THAT IS

thanks given e thanks received
No. The mod has more than two phrases. These two "thanks given" and "thanks received" have nothing to do with the "Thanks" you've showed in your screen shot. Like I wrote these phrases are used only by tooltip für blue and green arrow.

I don't know why you are not searching for the phrases. Don't use your translation for search, search for english original phrase. If you don't have an existing translation in your language you can't find the phrase

In search form uses as search text "post_thanks" and below the option "in phrase name and phrase text". Then you'll get a list of phrases for this mod and see a phrase called "post_thanks_thanks" (with or without a translation). This phrase (and only this phrase) is used for both marked Thanks.

And there put your translation in.

----------------------------------------------
Addition:
If you are interested in different text phrases in shown position - (not a portugese Thanks twice) - then you can't do it only with phrase translation cause on both positions the same phase is used. Then you have to change the template for this.

1. Search for template (sorry, I have only german version), then double click on marked template.
2. Change marked phrases (first to post_thanks_given, last three to post_thanks_received) and save.
Attached Images
File Type: png thanks1.PNG (19.7 KB, 8 views)
File Type: png thanks2.PNG (10.7 KB, 6 views)
File Type: jpg thanks3.jpg (82.9 KB, 7 views)

Last edited by shka; 03 Sep 2019 at 11:52. Reason: Add some ideas
Reply With Quote
  #3771  
Old 03 Sep 2019, 20:40
matheus21 matheus21 is offline
 
Join Date: Sep 2014
help

Originally Posted by shka View Post
No. The mod has more than two phrases. These two "thanks given" and "thanks received" have nothing to do with the "Thanks" you've showed in your screen shot. Like I wrote these phrases are used only by tooltip für blue and green arrow.

I don't know why you are not searching for the phrases. Don't use your translation for search, search for english original phrase. If you don't have an existing translation in your language you can't find the phrase

In search form uses as search text "post_thanks" and below the option "in phrase name and phrase text". Then you'll get a list of phrases for this mod and see a phrase called "post_thanks_thanks" (with or without a translation). This phrase (and only this phrase) is used for both marked Thanks.

And there put your translation in.

----------------------------------------------
Addition:
If you are interested in different text phrases in shown position - (not a portugese Thanks twice) - then you can't do it only with phrase translation cause on both positions the same phase is used. Then you have to change the template for this.

1. Search for template (sorry, I have only german version), then double click on marked template.
2. Change marked phrases (first to post_thanks_given, last three to post_thanks_received) and save.



I tried to edit but the name does not appear?

the names will disappear
Attached Images
File Type: png thacks.PNG (76.6 KB, 13 views)
Reply With Quote
  #3772  
Old 03 Sep 2019, 20:54
shka shka is offline
 
Join Date: Mar 2016
You don't have to replace the phrase name (this is a placeholder for the language specific phrase text) with your translation. You have to replace it with another phrase name.

I wrote - replace first "post_thanks_thanks" with "post_thanks_given", not with cuba libre or any other.
Attached Images
File Type: png award4.PNG (26.1 KB, 8 views)

Last edited by shka; 03 Sep 2019 at 21:00.
Reply With Quote
  #3773  
Old 03 Sep 2019, 21:17
matheus21 matheus21 is offline
 
Join Date: Sep 2014
thancks

Originally Posted by shka View Post
You don't have to replace the phrase name (this is a placeholder for the language specific phrase text) with your translation. You have to replace it with another phrase name.

I wrote - replace first "post_thanks_thanks" with "post_thanks_given", not with cuba libre or any other.

thank you very much now it's beautiful
Reply With Quote
  #3774  
Old 12 Sep 2019, 00:11
BasilFawlty BasilFawlty is offline
 
Join Date: Jul 2012
I know this hack isn't supported any longer, but I'm hoping someone might know a fix for a problem that cropped up when I updated to a newer PHP (v 7.1). I'm told on the main vBulletin forum that PHP 7.1 is the latest version of PHPP that vB 4.2.5 will work with. So, I recently moved from PHP5.7 to 7.1. So far the basic forum seems to function fine, but I did run into an issue with this hack (which I really like). When someone clicks the "Thanks" icon in a post, it now throws the following error:


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

I backed off to PHP 7.0 and the error goes away. I tried looking at the differences between 7.0 and 7.1 in the PHP manual, but didn't see anything that jumped out as something that might cause this.

The code at or around like 182 in the script is:


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

Any ideas how I might modify this script to work with PHP 7.1? Thanks in advance.
Reply With Quote
  #3775  
Old 12 Sep 2019, 00:16
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
Just insert

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

before line 182.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3776  
Old 13 Sep 2019, 15:23
BasilFawlty BasilFawlty is offline
 
Join Date: Jul 2012
Thank you! I added that just before the "if statement" on line 180 and that solved the problem! Thanks you thank you thank you!
Reply With Quote
  #3777  
Old 05 Oct 2019, 02:28
BasilFawlty BasilFawlty is offline
 
Join Date: Jul 2012
Originally Posted by Dave View Post
Just insert

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

before line 182.
Thanks! That did fix the error problem, but another weird issue persists. When I "Thank" someone in a post, at first I see the names of myself and any others who have added thanks to that post. But if I leave at the forum in question, then come back and look at that same post, the names are no longer listed.

Any ideas or help would be appreciated.

See this for example of issue: https://youtu.be/krg5TExY79Q
Reply With Quote
  #3778  
Old 05 Oct 2019, 20:34
shka shka is offline
 
Join Date: Mar 2016
Originally Posted by BasilFawlty View Post
Thank you! I added that just before the "if statement" on line 180 and that solved the problem! Thanks you thank you thank you!
Before if statement on line 180 is wrong position. Dave wrote "before line 182".

So correct is

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

But what is your used mod version? On top in version 7.88 this backward incompatibility was removed (running here with vB4.2.5 and php7.1.32)

Last edited by shka; 05 Oct 2019 at 20:49.
Reply With Quote
  #3779  
Old 06 Oct 2019, 00:35
BasilFawlty BasilFawlty is offline
 
Join Date: Jul 2012
Thank's shka (and Dave). I had misplaced the statement and put it to early. I have placed it exactly before line 182 and now it seems to be working with PHP 7.1. A million thanks to you both.
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 13:01.

Layout Options | Width: Wide Color: