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/Designer) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (336 votes - 4.74 average) Installs: 3356
Released: 30 Dec 2009 Last Update: 03 Jan 2010 Downloads: 26138
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 and Hippy have both 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.


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
[AJAX] Post Thank You Hack Abe1 vBulletin 3.8 Add-ons 2343 28 Aug 2014 09:05
[AJAX] Post Thank You Hack Abe1 vBulletin 3.6 Add-ons 2140 30 May 2014 14:21
[AJAX] Post Thank You Hack Abe1 vBulletin 3.5 Add-ons 998 23 Dec 2012 06:24

  #766  
Old 05 Apr 2010, 14:22
robbiefritz robbiefritz is offline
 
Join Date: Oct 2008
Real name: Robert
Originally Posted by grc View Post
Hopefully, we'll get a complete upgraded version of this mod someday soon, but till then I'll mention that I stumbled upon a workaround, sort of, that fills in the missing thanks search capability. Come to think of it, I may be the only person who didn't know this!

Anyway, if you turn on the vB reputation system and have the Thanks mod set up to give a reputation point for thanks, users can click on "Settings" and see which of their posts have been "thanked."

The reputation system defaults to showing only the five most recent reputation boosts they've received but you can increase that to whatever number you want.

Our users have been disappointed that they can't find their "thanks" and this workaround restores that to some limited functionality.
Many thanks for this. Our members have been asking about this since we upgraded to 4.0
Reply With Quote
  #767  
Old 05 Apr 2010, 14:54
Vaira Vaira is offline
 
Join Date: Nov 2009
Hi again.

It seems that one question is still unanswered and asked by others as well.

How can I make the font of the entire users (and date) that have thanked, listed at the box below of the post, smaller?
I have tried to analyse it with firebug, but wasn't able to manage it by myself.

If I could make it smaller to gain space would be nice.

Anybody?

Thanks in advance.
Reply With Quote
  #768  
Old 05 Apr 2010, 14:58
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Originally Posted by Vaira View Post
Hi again.

It seems that one question is still unanswered and asked by others as well.

How can I make the font of the entire users (and date) that have thanked, listed at the box below of the post, smaller?
I have tried to analyse it with firebug, but wasn't able to manage it by myself.

If I could make it smaller to gain space would be nice.

Anybody?

Thanks in advance.
This solution by grc worked well for me: http://www.vbulletin.org/forum/showp...&postcount=560
Reply With Quote
  #769  
Old 05 Apr 2010, 15:42
Gursimran Gursimran is offline
 
Join Date: Jun 2008
Thanks djbaxter for the file
Reply With Quote
  #770  
Old 05 Apr 2010, 19:52
Vaira Vaira is offline
 
Join Date: Nov 2009
Originally Posted by War.Frog View Post
This solution by grc worked well for me: http://www.vbulletin.org/forum/showp...&postcount=560
Yes, sure it affects the: "The Following X Users Say Thank You to YZ For This Useful Post:" line only. (As described by grc.)

My question was about the font size of all listed users that have thanked! (All user names and dates in the box.)

Still unresolved?

Any solution?

Thanks.

Last edited by Vaira : 05 Apr 2010 at 19:58.
Reply With Quote
  #771  
Old 05 Apr 2010, 20:10
grc grc is offline
 
Join Date: Oct 2005
Originally Posted by Vaira View Post
Yes, sure it affects the: "The Following X Users Say Thank You to YZ For This Useful Post:" line only. (As described by grc.)

My question was about the font size of all listed users that have thanked! (All user names and dates in the box.)

Still unresolved?

Any solution?

Thanks.
When I made the edits I described it also changed the font size of the users who are listed on my forum. Are you perhaps talking about the horizontal screen real estate taken up by the usernames plus the dates? You might consider just turning off the dates. So far as our forum users are concerned I don't think the date is all that important. In fact, I doubt they even know that that option is available since I've never activated it.
Reply With Quote
  #772  
Old 05 Apr 2010, 22:52
TheGorf TheGorf is offline
 
Join Date: Oct 2006
I am repeatedly getting this error in my forums:


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

I see quite clearly where it is coming from. Line 278 of post_thanks.php is the file that has that SQL query and is part of the IF block that has the do=findthanks. However this script also generates the error for do=findthanks_user_gave as well. If I go look in the vB database there is no "search" table. Anyone have any idea why this is?

*edit*
Ok I see that this is a common error in this hack and that the best solution appears to be this:
http://www.vbulletin.org/forum/showp...&postcount=396

However, why am I commenting out dozens of lines of code? Is this actually broken then? Abe1 would you care to comment on this?

Last edited by TheGorf : 06 Apr 2010 at 01:15.
Reply With Quote
  #773  
Old 06 Apr 2010, 02:57
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Originally Posted by TheGorf View Post
However, why am I commenting out dozens of lines of code? Is this actually broken then? Abe1 would you care to comment on this?
Abe1 has gone MIA I'm afraid.
Reply With Quote
  #774  
Old 06 Apr 2010, 03:06
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by TheGorf View Post
However, why am I commenting out dozens of lines of code? Is this actually broken then? Abe1 would you care to comment on this?
You are commenting out the lines that are involved in the search function, which has never worked for 4.02.

See http://www.vbulletin.org/forum/showp...&postcount=760
Reply With Quote
  #775  
Old 06 Apr 2010, 10:13
Vaira Vaira is offline
 
Join Date: Nov 2009
Originally Posted by grc View Post
When I made the edits I described it also changed the font size of the users who are listed on my forum. Are you perhaps talking about the horizontal screen real estate taken up by the usernames plus the dates? You might consider just turning off the dates. So far as our forum users are concerned I don't think the date is all that important. In fact, I doubt they even know that that option is available since I've never activated it.
Thanks. I have turned off the date. Anyway I would like to know how to make the font size of the listed user smaller......your 'hack' affects definetively the headline, not what's listed in the box!
Reply With Quote
  #776  
Old 06 Apr 2010, 13:57
grc grc is offline
 
Join Date: Oct 2005
Originally Posted by Vaira View Post
Thanks. I have turned off the date. Anyway I would like to know how to make the font size of the listed user smaller......your 'hack' affects definetively the headline, not what's listed in the box!
I guess I changed the font of the user's name elsewhere, possibly not related to this hack of the thanks mod. I was thinking the usernames were changed when I did the hack. I reversed it on my forum and I see that the usernames stayed the same, smaller size.

Frankly, I can't remember how I did it but I think its somewhere in the Style Variable Editor. Sorry for the misdirection.
Reply With Quote
  #777  
Old 06 Apr 2010, 18:13
TheGorf TheGorf is offline
 
Join Date: Oct 2006
So now I find that with this mod, a user deleting their own thanks gets a permission denied error, but the thanks still gets deleted.

The block of code is on about line 116 and starts:


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

So I altered the logic in that block and removed the bang from infront of delete_thanks() and it works fine now. Another bug in this hack... *sigh*

Oh and while we are on the subject, is anyone else having problems with this hack using AJAX? No matter what options I select adding or removing a Thanks causes a full page refresh.

Last edited by TheGorf : 06 Apr 2010 at 18:20.
Reply With Quote
  #778  
Old 06 Apr 2010, 19:56
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Can´t reproduce these issues..
Reply With Quote
  #779  
Old 07 Apr 2010, 07:25
Antonio Pereira Antonio Pereira is offline
 
Join Date: Sep 2007
Inside a Thread if a try Inline Mod (Select All) only select a first post.

Anyone can reproduce this bug?

Best Regards
Reply With Quote
  #780  
Old 08 Apr 2010, 00:26
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Real name: Maxim
Mostly for developer.
Some improvements with js for OOP: one namespace, autoset events, less size.
Would be even better if the hack work with xml
Attached Files
File Type: zip post_thanks_7_82_improvements.zip (7.0 KB, 34 views)
__________________
SamForum.ws - Key to your programme!
All my mods

Last edited by mad@Max : 08 Apr 2010 at 21:04.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
BliNeR-KeY
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:01.

Layout Options | Width: Wide Color: