Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   No login after installation U232 V5 (http://www.bvlist.com/showthread.php?t=12319)

fr31w1ld 26th December 2020 11:23

how can i create a second sysop? until now it has only been an admin

DND 26th December 2020 11:27

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

fr31w1ld 26th December 2020 11:40

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!

Asterix 26th December 2020 12:12

check staff_settings.php and staff_settings2.php. you need to add username credentials on that pages.

fr31w1ld 26th December 2020 12:56

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
);

Asterix 26th December 2020 13:12

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

fr31w1ld 26th December 2020 13:20

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

Asterix 26th December 2020 13:28

try to change all again and restart browser. when u promote a user to staf it need to be logged out.

DND 26th December 2020 13:33

well wasn't your user already in the allowed staff list ids and names? it should be

thartley55 26th December 2020 16:35

Quote:

Originally Posted by fr31w1ld (Post 55202)
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.


All times are GMT +2. The time now is 22:19.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.