Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #21  
Old 26th December 2020, 11:23
fr31w1ld fr31w1ld is offline
Senior Member
 
Join Date: Nov 2020
Posts: 16
Default
how can i create a second sysop? until now it has only been an admin
Reply With Quote
  #22  
Old 26th December 2020, 11:27
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
you need to go directly into the database and change the class number to your highest class
you cannot promote or demote a class equal to yours
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #23  
Old 26th December 2020, 11:40
fr31w1ld fr31w1ld is offline
Senior Member
 
Join Date: Nov 2020
Posts: 16
Default
thank you I changed that. the second sysop stays at its rank for a short time and is then power user


if I change it again in the database, when I click on staff panel, I get this error:
Incorrect access
Silly Rabbit - Trix are for kids .. You dont have the correct credentials to be here!
Reply With Quote
  #24  
Old 26th December 2020, 12:12
Asterix Asterix is offline
Senior Member
 
Join Date: Mar 2011
P2P
Posts: 20
Default
check staff_settings.php and staff_settings2.php. you need to add username credentials on that pages.
Reply With Quote
  #25  
Old 26th December 2020, 12:56
fr31w1ld fr31w1ld is offline
Senior Member
 
Join Date: Nov 2020
Posts: 16
Default
that's how it is set for me. is that not right?

staff_settings.php
**/
$INSTALLER09['allowed_staff']['id'] = array(1,2,3,4);
?>


staff_settings2.php
$INSTALLER09['staff']['allowed'] = array( 'user1' => 1,
'user2' => 2,
'user3' => 3,
'user4' => 4
);
Reply With Quote
  #26  
Old 26th December 2020, 13:12
Asterix Asterix is offline
Senior Member
 
Join Date: Mar 2011
P2P
Posts: 20
Default
correct is :
staff_settings2.php
$INSTALLER09['staff']['allowed'] = array( 'user1' => 1,
'user2' => 1,
'user3' => 1,
'user4' => 1
);

Verify also on database table users override_class value need to be higher than class value. default override_class value is 255
Reply With Quote
  #27  
Old 26th December 2020, 13:20
fr31w1ld fr31w1ld is offline
Senior Member
 
Join Date: Nov 2020
Posts: 16
Default
I've changed that, when I click on the staff panel I get this
message: Incorrect access
Silly Rabbit - Trix are for kids .. You dont have the correct credentials to be here!

and then I'm back to power
Reply With Quote
  #28  
Old 26th December 2020, 13:28
Asterix Asterix is offline
Senior Member
 
Join Date: Mar 2011
P2P
Posts: 20
Default
try to change all again and restart browser. when u promote a user to staf it need to be logged out.
Reply With Quote
  #29  
Old 26th December 2020, 13:33
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
well wasn't your user already in the allowed staff list ids and names? it should be
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #30  
Old 26th December 2020, 16:35
thartley55 thartley55 is offline
Senior Member
 
Join Date: Mar 2012
P2P
Posts: 204
Default
Quote:
Originally Posted by fr31w1ld View Post
that's how it is set for me. is that not right?

staff_settings.php
**/
$INSTALLER09['allowed_staff']['id'] = array(1,2,3,4); <--- These should match the userid of the person(s) being added to staff
?>


staff_settings2.php
$INSTALLER09['staff']['allowed'] = array( 'user1' => 1,'user2' => 2,'user3' => 3,'user4' => 4 <--- These should reflect the precise name(s) of the person(s) added to staff, and the number(s) here should ALL be the number 1
);
See annotations above. Also note that it would always be a good idea to clear/flush memcache/memcached after any staff changes.
Reply With Quote
Reply

Thread Tools

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 +2. The time now is 19:49. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.