vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=280109

Recent Thanks for [AJAX] Post Thank You Hack
by Scandal
15 Mar 2012 19:31

5 Attachment(s)
Info:
  • This mod works with the hack "[AJAX] Post Thank You Hack" as an addon and a) provides a page with the latest X (default: 25) "Thank You" the user has received b) notify the user via vbulletin notification menu (on navbar)
  • Very useful for users who want to keep up with the "Thank You" votes on their posts.
System Requirements:
  • [AJAX] Post Thank You Hack - for vB4
  • vBulletin 4.x
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 1 minute max
How to install:
  1. Upload the file "recent_thanks.php" to your forum directory.
  2. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
  3. (Optional if you enable the notifications) Add the link "http://www.yourforum.com/recent_thanks.php" where you want (for example to navbar).
Notice (not a bug): The system doesn't decrease the notifications' count for new "Thank you" when the admin push the "Remove all" of a post (rare but ok). So the user will notified but he will not see the removed votes on the page.

How to upgrade:
  1. Upload the new file recent_thanks.php
  2. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] with set of "Allow Overwrite" to YES


How to upgrade from vB3 version:
This hack developed from zero for vB4, so if you upgrade your forum from vB3 to vB4 with the vB3 version of this hack on it, you must uninstall first this older version and to do a clean install of this hack (product install and new file upload).

Changelog:
  • v2.5 - First release for vB4
  • v2.6 - updated file, linkable usernames, admincp phrase changed, 1 bug fix
  • V2.6.2 - add: who's online location (thanks to Hippy), 1 css fix

Tested on: vBulletin 4.1.11 - Post Thank You Hack 7.83

-> Don't forget to click INSTALL!

sadiq6210 15 Mar 2012 19:49

Scandal, you are the best ^_^

Thank you very much for your effort to release it
I appreciate you

Installed + Nominated + 5 stars

Hippy 15 Mar 2012 21:16

I like the idead thanks .. will test it out ..

thanks

djbaxter 15 Mar 2012 22:41

In 4.1.1, with the settings as follows:

Quote:

Set to YES if you want to enable the page. = No
Enable notification system? = Yes
If enabled, user will recieve a notification (on vbulletin notification menu) each time a post has new "thanks" votes.
Notifications of a new Thanks do not occur. This feature, which was what I primarily wanted, only works if the "thanks page" option is enabled (which is okay but I don't particularly need it).

Scandal 16 Mar 2012 09:37

Quote:

Originally Posted by djbaxter (Post 2309875)
In 4.1.1, with the settings as follows:
Notifications of a new Thanks do not occur. This feature, which was what I primarily wanted, only works if the "thanks page" option is enabled (which is okay but I don't particularly need it).

It is very necessary to enable the page, because the notifications' counter (Notifications: x) sets to 0 only when the user visit this page! So, if there wasn't this issue, the notifications' counter would be increase without cease. Also, on notifications there is the link to that page when a user has new thanks.
The page is the the main thing of this hack. :up:

Maybe I should set the title of "Set to YES if you want to enable the page" to "Enable the hack?". The page was the first idea of this hack, so after a lot of improvements I don't change the phrase. If I publish any new version, I'll change it, thanks!

sadiq6210 16 Mar 2012 09:53

I suggest to make the username clickable in (from) column :)

djbaxter 16 Mar 2012 13:54

Quote:

Originally Posted by Scandal (Post 2309973)
Maybe I should set the title of "Set to YES if you want to enable the page" to "Enable the hack?".

That would be more clear, yes.

Quote:

Originally Posted by Scandal (Post 2309973)
It is very necessary to enable the page, because the notifications' counter (Notifications: x) sets to 0 only when the user visit this page! So, if there wasn't this issue, the notifications' counter would be increase without cease. Also, on notifications there is the link to that page when a user has new thanks.

So if the member clicks the "new thanks" link on his own notifications, it takes him, to the page listing the last 25 or whatever thanks for the whole forum?

Scandal 16 Mar 2012 14:20

Quote:

Originally Posted by djbaxter (Post 2310021)
So if the member clicks the "new thanks" link on his own notifications, it takes him, to the page listing the last 25 or whatever thanks for the whole forum?

No no, the page doesn't listing the recent thanks for the whole forum. Watch the screenshot: "Latest 25 "Thank you" on your posts"
Every user watch the latest Thanks on him posts. ;)

djbaxter 16 Mar 2012 14:53

Ah... thank you! :)

Scandal 16 Mar 2012 15:00

Quote:

Originally Posted by djbaxter (Post 2310050)
Ah... thank you! :)

v2.6 available! (I change the admincp phrase + 1 bug fix, see below)

Quote:

Originally Posted by Scandal
Notice (bug): Also, if you have enable the "Allow poster to thank themself", the user will receive notification for him votes.

fixed!! ;)

AURFSCAN 16 Mar 2012 15:05

tagged but cant seem to download file.. 'Invalid Attachment specified'

anyone else? or just me?

AURFSCAN 16 Mar 2012 15:08

works ok now.. must have tryed when you were updating file

I'll check it out.. cheers

Gemma 16 Mar 2012 17:52

Nice idea. Thanks :)

temsamane 16 Mar 2012 23:50

i need a mod to show the top of most thanked posts

Hippy 17 Mar 2012 00:33

great addon..
suggestion.. when you pick the number of post thanks to show .. there should be a option to go to the next page on the recent_thanks.php page..

would be great

thanks again..
Regards
Hippy


All times are GMT. The time now is 06:38.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.