THT DUYURU

 
 
Web Programming Section where Web programming languages are shared

Seçenekler

Operatıng super admın authorıty of users [mybb]

Znéa - ait Kullanıcı Resmi (Avatar)
Kıdemli Üye
Üyelik tarihi:
07/2011
Mesajlar:
4.463
Konular:
1298
Teşekkür (Etti):
1744
Teşekkür (Aldı):
3847
Ticaret:
(0) %
0
589
01-06-2020 08:49
#1


First, normally no user is granted super admin authorization from the Mybb forum admin panel, and Super Admin authorization is normally only in the admin account created when the forum was first installed. We will give super admin authority to the user we want with this subject by playing in some codes.
First, let's log in to our forum with our admin account. Then, by clicking on the nickname of the member we want to give super admin authority from the Members & Groups section, let us find out the ID number. (The ID number of the relevant member is the number at the end of the URL.) After learning the ID, we can now connect to our site via FTP and perform our operations.
Inc / config from our FTP.


Then find the code below;

code:$config['super_admins'] = '1';


After finding the code, we can make that user a Super Admin by replacing the "1" in the code with the ID of the user we received. For example, the ID of the member that we will set as Super admin is "2". Then we will edit the code as follows;

code:Code:$config['super_admins'] = '2';

Or if we want to grant Super Admin authorization to more than one user, we can separate and save the user IDs with commas;


Code:
$config['super_admins'] = '1,2';




With this process, we have given admin authority to the user we want. Thank you for reading the ******** and wish you good forums ...
















---------------------
Bir Z klasiği..

Bookmarks


« Önceki Konu | Sonraki Konu »
Seçenekler