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

This modification is in the archives.
vB Version: 3.5.4 Rating: (15 votes - 4.93 average) Installs: 631
Released: 18 Jul 2005 Last Update: 19 Jun 2006 Downloads: 771
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

Post Thank You Hack 4.5




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 granted 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: 4
  • Files to upload: 1
  • Time to install: 5 minutes max
Updates:

Version 2.0 GOLD (10/02/05):
  • GOLD Release of this hack for vBulletin version 3.5
Version 2.1 (10/23/05):
  • [BUG FIX] When merging/splitting threads
  • [BUG FIX] When a user deletes his thanks (now removes post/rep count if option(s) on)
  • [ADD PHRASE] post_thanks_user_says
  • [ADD PHRASE] post_thanks_time_post
  • [ADD PHRASE] post_thanks_times_post
  • [ADD PHRASE] post_thanks_times_posts
  • [DELETED PHRASE] post_thanks_thanks_amount
Version 2.2 (10/23/05):
  • [ADDED] Re-counters. Found under Maintenance->Update Counters in your ACP.
Version 2.3 (11/05/05):
  • [ADDED] Cache Templates
Version 2.4 (11/07/05):
  • [ADDED] Setting to disallow users from deleting their own thanks.
Version 2.5 (11/09/05):
  • [FIXED] All number outputs run through your vb setting of number format. (e.g. 1234 will now show as 1,234)
Version 2.6 (12/04/05):
  • [FIXED] Number outputs for numbers between 1,000 and 1,999
  • [FIXED] Showing of the thanks button on deleted threads pages.

Version 2.7 (12/18/05):
  • [ADDED] Made the Thanks button a template
  • [ADDED] Made a template group for this hacks templates
  • [FIXED] One template edit. Find correction in zip file.
  • [CHANGED] Made a pop-up now when you click Thanks instead of refreshing the page.
  • [FIXED] Made the line when you give reputation points for thanks, a phrase.
  • [ADDED] Paypal link so you can make a donation for this hack.

Version 2.8 (2/5/06):
  • [FIXED] Removed one query thanks to AnhTuanCool (Abe clicks 'thanks')
  • [ADDED] Option to allow users to thank their own post
  • [ADDED] Option to allow a pop=up or refresh after a user clicks thanks

Version 2.9 (2/8/06):
  • [FIXED] Fixed allot of things in regard to deleting thanks using the "remove all thanks" and "Remove your thanks".

Version 3.0 (2/10/06):
  • [FIXED] Fixed one more thing in regard to "remove all thanks".
  • [FIXED] Re-wrote the thanks actions so it they useless queried when you give or remove thanks.

Version 3.1 (2/11/06):
  • [FIXED] Fixed bug with reputation.

Version 3.2 (2/13/06):
  • [FIXED] Fixed another bug with reputation.
  • [FIXED] Sped up the one query used to retrieve the thanks.

Version 3.3 (2/14/06):
  • [FIXED] Fixed bug with removing own thanks.

Version 3.4 (3/17/06):
  • [FIXED] Fixed a few bugs.

Version 4.0 (4/17/06):
  • [ADDED] AJAX technology so your users don't have to refresh the page they are viewing!

Version 4.1 (4/18/06):
  • [FIXED] Crashing of 'quick reply' when using Firefox.

Version 4.2 (4/23/06):
  • [FIXED] If you have vboption 'Add Template Name in HTML Comments' set to 'Yes', button was not showing.
  • [FIXED] Uncached template when viewing a PM
  • [FIXED] Getting sent to index page when clicking thanks on some forums.
  • [FIXED] Link to member's profile from the thank box.
  • [FIXED] The post thank count not updating. (Recommend you recount thanks. (ACP->Maintenance->Update Counters)

Version 4.3 (5/4/06):
  • [FIXED] Optimized a lot of the templates.
  • [ADDED] Easy integration with my Post Groan Hack.

Version 4.4 (5/7/06):
  • [FIXED] Bug with AJAX if you had the date showing.

Version 4.5 (6/19/06):
  • [FIXED] Bug with AJAX if you had hacks that added things to your output.

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' (admin view)
  4. Showing post after 'thanks' with legacy posts (admin view)
  5. Stats in members profile and link
  6. Link in Search drop down menu
  7. Hacks settings

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Download Now

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

Addons

Screenshots

Click image for larger version

Name:	1.jpg
Views:	3767
Size:	21.9 KB
ID:	35082   Click image for larger version

Name:	2.jpg
Views:	3053
Size:	32.0 KB
ID:	35083   Click image for larger version

Name:	3.jpg
Views:	2869
Size:	29.6 KB
ID:	35084   Click image for larger version

Name:	4.jpg
Views:	3147
Size:	30.7 KB
ID:	35085  

Click image for larger version

Name:	5.jpg
Views:	1606
Size:	7.5 KB
ID:	35086   Click image for larger version

Name:	6.jpg
Views:	1356
Size:	5.9 KB
ID:	35087   Click image for larger version

Name:	7.JPG
Views:	1964
Size:	133.1 KB
ID:	35088  

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 2395 02 Nov 2020 14:08
Show Thread Enhancements [AJAX] Post Thank You Hack Abe1 vBulletin 3.6 Add-ons 2155 17 Aug 2015 19:50
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 06:09

  #796  
Old 28 May 2006, 15:45
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Abe1 hi, it's not a BUG but.....
When using this hack you can:
1. Click "Add reputation"
2. and then click Thanks button.
BUT:
1. when you already clicked Thanks button
2. You can't add reputation.
May be add option "Check if already added reputation" ?

And another sugestion.....
Some users are "maniaks" and click thanks button for peoples who helped them once time in many different posts.
It it possable to link with a $vbulletin->options['reputationrepeat'] for chek?

Regards,
Dmitriy
Reply With Quote
  #797  
Old 28 May 2006, 16:13
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by D.Ilyin
Abe1 hi, it's not a BUG but.....
When using this hack you can:
1. Click "Add reputation"
2. and then click Thanks button.
BUT:
1. when you already clicked Thanks button
2. You can't add reputation.
May be add option "Check if already added reputation" ?

And another sugestion.....
Some users are "maniaks" and click thanks button for peoples who helped them once time in many different posts.
It it possable to link with a $vbulletin->options['reputationrepeat'] for chek?

Regards,
Dmitriy
Please explain the first request a little better.

As for the second, what would that help? You can give rep points only once per post for using the thanks button.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #798  
Old 28 May 2006, 20:29
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Originally Posted by Abe1
Please explain the first request a little better.

As for the second, what would that help? You can give rep points only once per post for using the thanks button.
about first.... well.....My users can add reputation and then click Thanks button (it add reputation too) for a one post.... But when we try to click Thanks and after add reputation (with own forum functions) they get error:
"You have already add reputation bla-bla-bla"
Can you add checking for "smart" users that they can't add reputation and then click Thanks?

About second...... for now i do not know how say it with different words
My English has very low level.
Reply With Quote
  #799  
Old 28 May 2006, 21:40
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by D.Ilyin
about first.... well.....My users can add reputation and then click Thanks button (it add reputation too) for a one post.... But when we try to click Thanks and after add reputation (with own forum functions) they get error:
"You have already add reputation bla-bla-bla"
Can you add checking for "smart" users that they can't add reputation and then click Thanks?

About second...... for now i do not know how say it with different words
My English has very low level.
I understand now. I will add it to the list.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #800  
Old 29 May 2006, 05:00
HuangA's Avatar
HuangA HuangA is offline
 
Join Date: Jun 2004
Real name: Andy Huang
Originally Posted by Milad
I hope that, and you agree with me that if I add it, spiders wouldn't click it. don't you?
I do believe so. Spiders -- espeically google -- are taught to not follow the rel="nofollow" links. I really don't see why its following it other than a cached version of the link. Double check your html on the frontend as whatever Google's access level is (AKA, guest, logout; unless you've applied other hacks) and view the source to see if things are coming up correctly, and if it does, then ignore it for a few days and see if things change for the better.
Reply With Quote
  #801  
Old 30 May 2006, 15:52
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
Is there a way I can make an option in a member's user cp to choose whether to view the 'thanks' added to a post or not? Some of my members on slower connections are telling me on a post with a lot of thanks, it is slowing their page load down. So I'd like to give them the option to not view the thanks area.
Thanks!
jilly
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #802  
Old 30 May 2006, 16:53
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by jilly
Is there a way I can make an option in a member's user cp to choose whether to view the 'thanks' added to a post or not? Some of my members on slower connections are telling me on a post with a lot of thanks, it is slowing their page load down. So I'd like to give them the option to not view the thanks area.
Thanks!
jilly
You can do it yourself.

1) Make a new profile option with a yes or no option.

2) open the post_thanks_postbit and put if tags around the whole thing.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #803  
Old 31 May 2006, 02:24
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
Originally Posted by Abe1
You can do it yourself.

1) Make a new profile option with a yes or no option.

2) open the post_thanks_postbit and put if tags around the whole thing.
Okay cool - I understand most, but I dont know exactly how to word the if statement - can you tell me what the if statement should be?
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #804  
Old 31 May 2006, 02:39
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by jilly
Okay cool - I understand most, but I dont know exactly how to word the if statement - can you tell me what the if statement should be?
something like this.

<if condition="$bbuserinfo[userfieldxx]">
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #805  
Old 31 May 2006, 02:53
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
Okay I did that, but I set the profile field to be a single selection radio button, with a yes or no option to show 'thanks' on posts - and it works, but both options hide the thanks - when I set it to 'no', meaning to not show the thanks, it does not show them, then when I set it to 'yes' which means it should show the thanks, it still does not show them.

I guess I need some sort of==yes sort of thing in there - I just dont know enough about php to figure it out myself yet - thank you so much for helping me with this!
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #806  
Old 31 May 2006, 03:02
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by jilly
Okay I did that, but I set the profile field to be a single selection radio button, with a yes or no option to show 'thanks' on posts - and it works, but both options hide the thanks - when I set it to 'no', meaning to not show the thanks, it does not show them, then when I set it to 'yes' which means it should show the thanks, it still does not show them.

I guess I need some sort of==yes sort of thing in there - I just dont know enough about php to figure it out myself yet - thank you so much for helping me with this!
No, you dont need the equalls. If the option is set to know, it should equal zero which will make the if not show.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #807  
Old 31 May 2006, 04:32
putergirl putergirl is offline
 
Join Date: May 2006
Real name: Jane Doe (thanks Zack)
hello, I'm sorry to bother you with this, but I can't find MEMBERINFO in the styles to make the last change to this hack. Can someone please tell me where it is? Thanks.
Reply With Quote
  #808  
Old 31 May 2006, 04:56
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
oh i see - i need to make the option a one choice thing, not radio button - just one checkbox that can be cheked on or off - goin gto try that noe


putergirl, look in your main style, > edit templates > look for a list called Member Info Templates - expand that - MEMBERINFO should be the first option when in that group
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #809  
Old 31 May 2006, 22:36
putergirl putergirl is offline
 
Join Date: May 2006
Real name: Jane Doe (thanks Zack)
jilly thank you! I found it!
Reply With Quote
  #810  
Old 01 Jun 2006, 17:05
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
Okay Abe1, what am I doing wrong? It still does not show the thanks either way, if the option is set to yes or no - here's what I have set up:
Attached Images
File Type: jpg 1.jpg (30.5 KB, 21 views)
File Type: jpg 2.jpg (101.4 KB, 17 views)
File Type: jpg 3.jpg (10.5 KB, 14 views)
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
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 14:21.

Layout Options | Width: Wide Color: