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.
New option: Remove User's Thanks Count When Deleting Post
New phrase: post_thanks_search_user_gave
FIX User reputation level now updates. (Thanks to liwo for this one.)
NEW Added option to view all posts a user has thanked.
FIX Fixed Special Action - Delete All of a Users Thanks
FIX Should have fixed some 'foreach()' errors.
Version 7.3 (03/15/08):
Updated file: functions_post_thanks.php
Updated template: post_thanks_memberinfo_block
Deleted template: post_thanks_memberinfo_css
New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
New option: Ban User from Getting Thanks
New option: Max Thanks a User can Give Per Day
FIX Fixed repeating bug on vb 3.6.7 forums.
CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)
Added securty token check for all thanks added. This will prevent a user from giving out a link or somehow making an image that will get him a lot of thanks.
Should have fixed some 'foreach()' errors.
Fixed Delete All of a Users Thanks bug
vBulletin 3.7.x compatible only
Version 7.6 (06/02/08):
FIX: Fixed Security Check for vb 3.7.1
Updated files: functions_post_thanks.php
Version 7.7 (07/28/08):
FIX: Fixed problem with giving thanks using Blazer (palmOS browser).
Database error in vBulletin 3.8.11 on PHP 7.1.30 MySQL 5.6.45
Invalid SQL:
SELECT * FROM post_thanks WHERE postid IN (0Array) ORDER BY username ASC;
MySQL Error : Unknown column '0Array' in 'where clause'
Error Number : 1054
Request Date : Sunday, August 25th 2019 @ 11:41:49 PM
Error Date : Sunday, August 25th 2019 @ 11:41:49 PM
Script : http://www.smokstak.com/forum/showth...99237&posted=1
Referrer : https://www.smokstak.com/forum/newre...eply&p=1599222
IP Address : 47.199.66.226
Username : Harry
Classname : vB_Database_MySQLi
MySQL Version : 5.6.45-log
Server : 192.252.219.187
User Agent :
Database error in vBulletin 3.8.11 on PHP 7.1.30 MySQL 5.6.45
Invalid SQL:
SELECT * FROM post_thanks WHERE postid IN (0Array) ORDER BY username ASC;
MySQL Error : Unknown column '0Array' in 'where clause'
Error Number : 1054
Request Date : Sunday, August 25th 2019 @ 11:41:49 PM
Error Date : Sunday, August 25th 2019 @ 11:41:49 PM
Script : http://www.smokstak.com/forum/showth...99237&posted=1
Referrer : https://www.smokstak.com/forum/newre...eply&p=1599222
IP Address : 47.199.66.226
Username : Harry
Classname : vB_Database_MySQLi
MySQL Version : 5.6.45-log
Server : 192.252.219.187
User Agent :
I've switched my PHP from 5.3 to 7.1, after doing so, I've faced an issue:
Code:
Error: [] operator not supported for strings in ..../includes/functions_post_thanks.php on line 180
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 3834
#2 : vbulletin_exception_handler() called in on line
Var Type:
[ NULL ]
Var Data:
null
For ur information I'm running vb 3.8.11, so is there any solution for this issue?