Get started with PHP-Fusion

Start a New Thread

Users Participated

  • alcazar
    Post made: 1
  • DubSev
    Post made: 1
  • dusk
    Post made: 1
  • keras89
    Post made: 3

  1. PHP-Fusion Support Forums
  2. PHP-Fusion 6 Support
  3. Official Core Support

How to edit superadmin?

Forum Locked - v6 no longer supported

5 Replies 1,307 Views Last Updated on 7 years ago

keras89


Newbie

#1

Posted 7 years ago

Sorry, if i've post in wrong place.

How can I enable the options for superadmin. For example, user admin>admin, I can remove or edit admin account but not super admin account because there are no options for superadmin. I have to do this to downgrade superadmin who is lazy to maintain the site.

Posts: 4

Joined: 14/01/2008

dusk


Member

#2

Posted 7 years ago

You could remove the user's account in the mysql-database using phpmyadmin. THere's also a column for user rights but I don't know the values...


GRTZ

Posts: 71

Joined: 12/06/2007

keras89


Newbie

#3

Posted 7 years ago

How? and what's the value? Honestly I dont know about database.

Posts: 4

Joined: 14/01/2008

DubSev


Senior Member

#4

Posted 7 years ago

Preview this in custom page

Code Gist: Download source  
<?php
$result=dbquery("UPDATE ".$db_prefix."users SET user_level='101' WHERE user_id='[color=#cc0000][b]USER_ID_HERE[/b][/color]' LIMIT 1");
echo '<BR>Bye bye lazy #$@!';
?>


......................................
let's go f***ing mental! la la la la...

Posts: 285

Joined: 12/01/2007

keras89


Newbie

#5

Posted 7 years ago

thanks a lot. Very helpful

Posts: 4

Joined: 14/01/2008

alcazar


Senior Member

#6

Posted 7 years ago

Note that only the God_Admin (User with ID 1) can set and remove iSUPERADMIN via "ACP->User Admin -> Administrators".
Alcazar
nach Diktat spazierengegangen

Posts: 247

Joined: 13/11/2006

Jump to Forum:
10 users are online
0 member and 10 guests