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

Accidentally removed my website admin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 03-24-2014 , 15:29   Accidentally removed my website admin
Reply With Quote #1

Soo, I accidentally removed my web privileges and have no idea how to add them back? wut do?

Thanks everyone.
__________________
cw main:

cw speedruns:
vodka00 is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 03-24-2014 , 15:58   Re: Accidentally removed my website admin
Reply With Quote #2

1.4.11 or 2.0?
Rytis is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 03-24-2014 , 21:14   Re: Accidentally removed my website admin
Reply With Quote #3

1.4
__________________
cw main:

cw speedruns:
vodka00 is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 03-25-2014 , 11:44   Re: Accidentally removed my website admin
Reply With Quote #4

Code:
UPDATE `sb_admins` SET `extraflags` = '16777216' WHERE `sb_admins`.`aid` = 1;
Run that SQL Code via PHPMyAdmin (or console), while the database where SourceBans is installed is selected. Also the aid is your User-ID (when you installing SourceBans, your ID is 1)


EDIT:
Code:
UPDATE `YOURDATABASE`.`sb_admins` SET `extraflags` = '16777216' WHERE `sb_admins`.`aid` = 1;
That will also work

Last edited by Rytis; 03-25-2014 at 11:53.
Rytis is offline
Reply



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 23:41.


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