Raised This Month: $12 Target: $400
 3% 

Feature Request Add admin by sql


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 08-26-2016 , 05:48   Add admin by sql
Reply With Quote #1

Hi, I made small site, who add admins, they give us steamid, name and mail.
I'm sending it to sourcebans database
PHP Code:
INSERT INTO `sb_admins`(`aid`, `user`, `authid`, `password`, `gid`, `email`, `validate`, `extraflags`, `immunity`, `srv_group`, `srv_flags`, `srv_password`, `lastvisit`) VALUES (

and
INSERT INTO `sb_admins_servers_groups` (`admin_id`, `group_id`, `srv_group_id`, `server_id`) 
It adds ok, but admin on the server isn't working.
If I click on sourcebans admin panel edit details and without any change I click only save changes, it added correctly admin to my server.
What must I add to my script?
(yes I'm reloading admins on my server) (sm_rehash)

Last edited by CamerDisco; 08-26-2016 at 06:13.
CamerDisco is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode