HostOnNet Blog

vBulletin 5

Looking for Linux Server Admin or WordPress Expert? We can help.

Config file for vbulltin 5 located at

core/includes/config.php

Making a user Admin

You can create a new user, then edit its usergroupid to 6.

nvb> select userid, username, usergroupid from user where username="hostonnet";
+--------+-----------+-------------+
| userid | username  | usergroupid |
+--------+-----------+-------------+
|     61 | hostonnet |           6 |
+--------+-----------+-------------+
1 row in set (0.00 sec)

nvb> 

Now you need to edit core/includes/config.php and add

$config['SpecialUsers']['superadmins'] = '1,61';

Where 1 is userid of default admin, 61 is userid for the new admin with username “hostonnet” in this case.

Posted in Installation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.