Quote:
Originally Posted by viper357
Does anybody know how to allow moderators to delete thanks from a post? The link is visible to them and when they click it to delete the thanks it is removed, but when the page is refreshed the thanks comes back? Currently it only works for Admins. Thanks.
|
I found this code in the /includes/functions_post_thanks.php file and changed the 6 to a 5, it half worked because admin can no longer delete the thanks, but it's still the same for supermods, when the page is refreshed the thanks comes back, I'm lost as to what else I can do to allow mods to delete the thanks. Can anyone help?
Code:
if ($vbulletin->userinfo['usergroupid'] == '6')