Version: 2.6.2, by Scandal
Developer Last Online: Nov 2023
Category: Mini Mods -
Version: 4.x.x
Rating:
Released: 03-14-2012
Last Update: 03-20-2012
Installs: 289
DB Changes Uses Plugins Auto-Templates
Additional Files
No support by the author.
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:
Upload the file "recent_thanks.php" to your forum directory.
Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
(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:
Upload the new file recent_thanks.php
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).
I wonder if someone can help me please? The notifications just stopped working, I have been using it for years already with no problems. I re-installed it and it did not fix the problem. I have this installed: post_thanks_7_84.zip Thanks.
Hello.
Our forum likenotice stopped, how we can get fixed that?
...vB 4.2.4b3 running on php5.6.29 and mysqlnd 5.0.11-dev - 20120503;
...updated Abe1-hack from 7.82 to 7.88
...fresh Installed Recent Thanks hack Ver. 2.6.2.
The product is correctly enabled in admincp but i am not able to "save" the flag on preferences panel page.
eg. I add the flag, save, but if i re-open the preferences panel page the flag is again in Off state.
And No I can't receive any notification.
Thank you so much for any help.
***solved*** Hack uninstalled and re-installed now it works.... mysteries of faith lol!
This plugin is broken in PHP7+ (vbulletin 4.2.5 and higher)
profile.php?do=editoptions
Returns with:
Code:
Call to undefined function mysql_num_rows() on line 2 in /var/www/forums/profile.php(2086) : eval()'d code
#0 /var/www/forums/profile.php(2086): eval()
#1 {main}
To fix, change the mysql_ call to mysqli_. This can be found in Plugin Manager -> Recent Thanks - UserCP Field Part2
Change
Code:
$isthere = mysql_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));
To
Code:
$isthere = mysqli_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));
This plugin is broken in PHP7+ (vbulletin 4.2.5 and higher)
profile.php?do=editoptions
Returns with:
Code:
Call to undefined function mysql_num_rows() on line 2 in /var/www/forums/profile.php(2086) : eval()'d code
#0 /var/www/forums/profile.php(2086): eval()
#1 {main}
To fix, change the mysql_ call to mysqli_. This can be found in Plugin Manager -> Recent Thanks - UserCP Field Part2
Change
Code:
$isthere = mysql_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));
To
Code:
$isthere = mysqli_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));