View Single Post
Pickles47
Member
Join Date: Jun 2013
Old 08-17-2013 , 07:25   Re: Donor Control
Reply With Quote #32

Quote:
Originally Posted by ozgaming View Post
I believe it worked, but it doesn't assign a server group to them.
Again, not sure but I just saw this line and changed it. Is now correctly adding them to server group.

PHP Code:
86. $sb_sql2 "INSERT INTO `{$SB_DB_NAME}` . `sb_admins_servers_groups` (admin_id,group_id,srv_group_id,server_id) VALUES('{$admin_id}', '4', '8', '-1');"
change to:

PHP Code:
86. $sb_sql2 "INSERT INTO `{$SB_DB_NAME}` . `sb_admins_servers_groups` (admin_id,group_id,srv_group_id,server_id) VALUES('{$admin_id}', '{$group_id}', '{$srv_group_id}', '{$server_id}');"
The whole script below.
Spoiler

Last edited by Pickles47; 08-17-2013 at 07:28.
Pickles47 is offline