![]() |
Quote:
Code:
if ($vbulletin->userinfo['usergroupid'] == '6') |
Change that for this
PHP Code:
|
Quote:
Ian |
Is there a mod or a template edit that will notify you of a new thank you received (where the private message link is in the navbar) and when you click that "Thanks Received" link it will list the thread/post thanked and how many thanks you received?
That would be a really cool addition. |
|
Fixed my problem with who had thanked not showing up
Had to Change Postid from INT to BIGINT in the post_thanks table :) So uninstall then re install change INT to BIGINT off you go Giz |
Works well, thank you. INSTALLED!
|
Im getting the following error every time the thanks button is clicked.
Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 55 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 107 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 111 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 119 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 130 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 134 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 142 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 211 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/init.php on line 389 Deprecated: Assigning the return value of new by reference is deprecated in /Server info hidden/vb/includes/class_core.php on line 2552 what could be causing this problem? |
You need to turn off the errors in your php, you're using a version of php that has deprocated coding conventions, they're just warnings, turn the errors off and you'll be fine.
|
Your using old version of the mod with a newer version of php.
|
Gotcha, thanks for the help.
|
Would someone be able to tell me if I can create a new post thanks table and how?
I installed this mod (7.7 on 3.8.0) briefly, but rec'd user permission errors, so uninstalled/reinstalled xml w/overwrite in the product manager. But that caused fatal errors showing that no post thanks table exists. Should I have uninstalled/reinstalled from the server level also? Should I try to uninstall/reinstall xml in product manager again? Which file creates the table, and will it create another one with another install? No backup available, and have since upgraded the forum to 3.8.5 after breaking this mod. :D Thanks so much for any help!!! |
Firstly uninstall everything including any files you uploaded, drop any post_thanks tables fromyour database.
Re-upload any files via ftp in ascii mode, re-import the xml, if you have a large board this is going to take some time and may make your board unresponsive, if you find that it crashes during installation you'll have to get your hosts to "up" the wait_timeout (this is the wait time that your server allows for scripts to complete), then do all the above again. |
Hey guys. Could anybody show me how to get count of thanks on the specific post with php script?
|
We're having problems with the Thanks button now showing up for some users for some reason... and they're not above the daily thanks limit. Anyone experiencing the same?
|
Has anyone tested on VB 4.2.1?
|
Quote:
|
You'd do it in your php.ini
|
I LOVE this mod, however, I wish it was LIKE instead of THANKS. I see there is a version for GROAN, no chance there is a LIKE version I'm not seeing is there?
|
Howto change this into "LIKES" - https://vborg.vbsupport.ru/showthread.php?t=266358
|
how do i move where the thanks count is located in the postbit?
|
you'd have to change the hook location in the mod's plugin, it will be set to show after $posts.
|
Quote:
|
error post thanks :
PHP Code:
|
Quote:
http://www.urduhiurdu.com/forum/showthread.php?p=12500 |
Is there any way to recount the thanks after merging two users?
|
PHP Code:
pliz hellp for mi |
Quote:
Quote:
|
Quote:
|
I just installed this hack and this appears at the top of my forum home page:
Code:
hanks_post_count'] && ($remove_users_thanks_count == true || $vbulletin->options['post_thanks_delete_remove_thanks_count'])) { $set_user_gave .= ', posts = posts - 1'; } $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_gave WHERE userid = '$userid' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_got WHERE userid = '$postinfo[userid]' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "post SET $set_post WHERE postid = '$postinfo[postid]' "); ($hook = vBulletinHook::fetch_hook('post_thanks_function_delete_thanks_end')) ? eval($hook) : false; return true; } function post_thanks_in_array($number = 0, $array = 0) { $array_split = explode("|", $array); foreach ($array_split AS $array_number) { if ($number == $array_number) { return true; } } return false; } function post_thanks_check_security($securitytoken = '') { global $vbulletin; if ($securitytoken !== $vbulletin->userinfo['securitytoken']) { } } ?> |
How did you install it? as for the php errors it depends whether you have a dedicated box or not.
|
I tried to follow these instructions when installing it:
Quote:
I don't know what a dedicated box is. My host put me on a shared server, if that is what you are talking about. |
Ok for the php errors you'd have to get your hosts to disable php errors. The reason i asked how you added the mod is because it's very odd to have the entire plugin shown in your forum header, it looks like the whole php output.
Can we have a url to check..etc |
Is it odd that the code I posted in post #2314 didn't include the letter "T" for the word "Thanks"? Could that be part of the problem?
Does it look like I installed something in the wrong folder? The code that I posted in 2314 only displays when I enable the hack. I have it disabled now. |
i'd need to be able to see where the hack is installed ....etc to be able to answer properly or it could be that another mod is interfering with it, however it rarely gets it to dump the entire plugin to the page.
PM me admincp login details with permissions to administer plugins if you want me to take a look. |
MY MISTAKE (unless something has changed).
The code I posted in post #2314 only shows up on the show thread page. Does that happen to give you more clues? |
No it still points to either a corrupt file or another mod conflicting!
|
I deleted the product then I deleted the files via ftp. Then I reuploaded the files then I imported the product again.
Now I don't have the code in the header INSTEAD I am now getting about 40 of these errors via email every minute: Quote:
Any idea why I am getting an error about the table not existing? thanks. |
I'm still getting the 'table not existing' emails so I will delete the files and see if that helps.
|
Hmmmm, I did offer you help!!
|
All times are GMT. The time now is 03:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|