Back to vBulletin 4.x Add-ons

[AJAX] Post Thank You Hack
Mod Version: 7.82, by Abe1

vB Version: 4.0.x Rating: (349 votes - 4.74 average) Installs: 3538
Released: 30 Dec 2009 Last Update: 02 Nov 2016 Downloads: 30203
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

Spoiler (click to open)


first off thanks goes out to channelfuse
for getting post_thanks search to work again..
found here http://www.vbulletin.org/forum/showpost.php?p=2196762&postcount=1534


then I believe Phaedrus put all the fixes I and others posted all together
http://www.vbulletin.org/forum/showpost.php?p=2181392&postcount=1433

Rob F posted the fix for the postbit alignment issue here
http://www.vbulletin.org/forum/showpost.php?p=1993250&postcount=607

thanks to findingpeace for posting this fix..

someone with a space in their username thanks a post breaks the line seems to break
can view here http://i.imgur.com/9JAsNaF.png

a few members have brought this issue up

Quote by findingpeace
Fixed (for anyone else curious) -

Open up functions_post_thanks.php

Find

Code:
$virg
And add a space to both of the first two instances. Should end up looking like this:

Code:
if ($cmpt<$number_rows)
			{
				$virg=", ";
			}
			else
			{
				$virg=" ";
			}
I will be updating the archive here asap..

fixes I posted can be found here

http://www.vbulletin.org/forum/showthread.php?p=2045040#post2045040
http://www.vbulletin.org/forum/showthread.php?p=2111408#post2111408
http://www.vbulletin.org/forum/showpost.php?p=2098820&postcount=1048
http://www.vbulletin.org/forum/showthread.php?p=2130566#post2130566

http://www.vbulletin.org/forum/showpost.php?p=2305578&postcount=2327

newer post for Move Post thanks button
http://www.vbulletin.org/forum/showpost.php?p=2306955&postcount=2357

move this hook so the thanks button will be in the correct place (optional)
http://www.vbulletin.org/forum/showpost.php?p=2248039&postcount=1842

If your using
eTiKeT™ 2011 Posbit_legacy - Postbit Details

+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++

You may need to remove extra &nbsp; if you originally added spaces via the post_thanks_box_bit template (like I did). This was hacky, and much better to do through the functions file. Usernames will break as expected now.


you will need to replace your "post_thanks_postbit_info" template with this
over write the template completely so it will match the rest of the postbit details

Code:
<vb:if condition="$post['userid']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
    {vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        {vb:rawphrase post_thanks_time_post}
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
        {vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
    <vb:else />
   <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">     
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
    </vb:if>
</vb:if>
Baja Version min max edit http://www.vbulletin.org/forum/showthread.php?p=2130566#post2130566
http://www.vbulletin.org/forum/showthread.php?p=2129541#post2129541
please note you will need to change this in the xml file to upload to the newest versions of vb

ForceHSS also put one together, but I never went over it to see if all the fixes where implemented

FReeSTER pointed this out.. great template edit

Great Article
BirdOPrey5 Great Post Thanks Articles
How to turn the "Post Thank You" hack into a "Likes" system similar to vBulletin.org

This is a Must Have if you have a hug box of thanks under your posted.
big thanks to demonfatal Great addon for Post Thanks
[vB4.0.X] Show/Hide list of the thanked
Thanks for sharing that Great addition to this mod..

###########################################
###########################################
###########################################

Great Addon's for Post thanks

Badshah93 vFCoders - Hide Hack

Scandal Recent Thanks for [AJAX] Post Thank You Hack

plugin for Recent Thanks for [AJAX] Post Thank You Hack
http://www.vbulletin.org/forum/showpost.php?p=2311620&postcount=22 http://www.vbulletin.org/forum/showpost.php?p=2311620&postcount=22%22

postbit change for Recent Thanks for [AJAX] Post Thank You Hack
Quote by Furcal15
I did some modification to this....If anyone is interested....In the user info panel, it shows "Thanked XX times in XXX post", well that phrase is now a link and it takes you to http://yoursite.com/recent_thanks.php

See demo here: http://baseballnation.net/showthread.php?4843-Want-to-see-who-thanked-your-post&p=57431&viewfull=1#post57431

Edit Templates > Post_Thanks_Postbit_Info and replace EVERYTHING will the following code:

Code:
<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="/recent_thanks.php">{vb:rawphrase post_thanks_time_post}</a></dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</a></dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</a></dd>
    </vb:if>
</vb:if>

###########################################
###########################################
###########################################

you may find a tweak or 2 to help you with most issues. Search for my posts in this mod
http://www.vbulletin.org/forum/search.php?searchthreadid=231666&userid=2771&do=finduser

this is a list of all the help / support given here (thanks goes out to everyone that is helping to keep this great mod alive..)

Regards
Hippy

Close
.

AND / OR

ForceHSS has one in this post

Spoiler (click to open)


Version 7.84 (21/06/12 by Forcehss)
Version 7.85 added (22/02/15 by Forcehss)
Attached Files
File Type: zip post_thanks_7_84.zip (26.0 KB, 705 views)
File Type: zip post_thanks_7_84_with search fix.zip (26.3 KB, 1725 views)
File Type: zip post_thanks_7_85 For 4.2.0 - 4.2.3 vb version.zip (59.3 KB, 263 views)

Close
.

AND/OR

Seven Skins has one in this post

Spoiler (click to open)


This hack belongs to Abe1, all credit goes to him.

1 - Added search function fix provided by "channelfuse" in http://www.vbulletin.org/forum/showpost.php?p=2196762&postcount=1534
2 - Redone postbit userinfo layout.
3 - Added "post_thanks_postbit_colors" class so you can make display of thanks in postbit stand out. This class can be edited by editing "post_thanks_javascript" template of every style.
4 - Added collapse and scroll feature to postbit box.
5 - Added hide postbit box from guests.
6 - Hide thank you button from guest posts.

Install instruction are in the install package.

PS. Please note like the original hack this is NOT supported.

.
Attached Thumbnails
Click image for larger version
Name:	001361.png
Views:	222
Size:	17.4 KB
ID:	155437   Click image for larger version
Name:	001354.png
Views:	216
Size:	11.8 KB
ID:	155438   Click image for larger version
Name:	001355.png
Views:	212
Size:	22.3 KB
ID:	155439   Click image for larger version
Name:	001356.png
Views:	195
Size:	13.8 KB
ID:	155440  

Click image for larger version
Name:	001357.png
Views:	175
Size:	30.2 KB
ID:	155441   Click image for larger version
Name:	001353.png
Views:	153
Size:	19.9 KB
ID:	155442  
Attached Files
File Type: zip post_thanks_7_88_for_vB_423_with_collapse_scroll_postbit_fix_and_added_features.zip (21.1 KB, 120 views)

Close
.

- 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

File Type: %1$s post_thanks_ version_7.83+integrated-postbit_box-collapse.zip (30.1 KB, 368 downloads)
File Type: %1$s post_thanks_ version_7.84+with_and-without-integrated_postbit_box_collapse.zip (35.5 KB, 318 downloads)
File Type: %1$s post_thanks_7_84_with search fix.zip (26.3 KB, 240 downloads)
File Type: %1$s post_thanks_7_85 For 4.2.0 - 4.2.3 vb version.zip (59.3 KB, 406 downloads)
File Type: %1$s post_thanks_7_85 For 4.2.0 - 4.2.3 vb version updated.zip (59.3 KB, 366 downloads)
File Type: %1$s post_thanks_7_86 For 4.2.0 - 4.2.3 vb version_with_thanks_postbit_fix.zip (59.3 KB, 1779 downloads)
File Type: %1$s post_thanks_7_88_for_vB_423_with_collapse_scroll_postbit_fix_and_added_features.zip (21.1 KB, 1060 downloads)

Addons

Supporters / CoAuthors

  • Abe1

Similar Mods

Show Thread Enhancements [AJAX] Post Thank You Hack vBulletin 3.8 Add-ons
Show Thread Enhancements [AJAX] Post Thank You Hack vBulletin 3.6 Add-ons
[AJAX] Post Thank You Hack vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024