Locked Out of vBulletin

Discussion in 'Forum Management' started by KMRock, Nov 14, 2010.

  1. #1
    Locked Out of vBulletin​


    I accidentally deleted my admin account for my vBulletin forum when editing some things. I need to find away to create a new one or change the privileges of another one using the database files rather than the admin cp that I dont have access too. Thanks :)
     
    KMRock, Nov 14, 2010 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    It's been quite a while since I've dealt with vBulletin but can't you just create an admin account directly from the database backend?
     
    mcfox, Nov 14, 2010 IP
  3. johnnyboy1988

    johnnyboy1988 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Create a new account, then open up PHPMyAdmin and move your new username to administrators usergroup and voila everything is fine, you could do something using ur config.php file.
     
    johnnyboy1988, Nov 14, 2010 IP
  4. KMRock

    KMRock Peon

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Okay, so it is done via phpmyadmin? And I just edit the specific user in the PHPMyAdmin? I'm pretty new at this kind of thing, any help?
     
    KMRock, Nov 14, 2010 IP
  5. johnnyboy1988

    johnnyboy1988 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Simply create a new account, for example test and then go to PHPMyAdmin to find that user (under user tree), when you find your test user then edit its profile i mean put him in administrators group like in image under:

    [​IMG]
     
    johnnyboy1988, Nov 14, 2010 IP
  6. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
  7. scylla

    scylla Notable Member

    Messages:
    1,025
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    225
    #7
    This is such an easy fix and you don't have to touch phpmyadmin

    Just open config.php & edit the following

    //	****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
    	//	The users specified here will be allowed to view the admin log in the control panel.
    	//	Users must be specified by *ID number* here. To obtain a user's ID number,
    	//	view their profile via the control panel. If this is a new installation, leave
    	//	the first user created will have a user ID of 1. Seperate each userid with a comma.
    $config['SpecialUsers']['canviewadminlog'] = '1';
    
    	//	****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
    	//	The users specified here will be allowed to remove ("prune") entries from the admin
    	//	log. See the above entry for more information on the format.
    $config['SpecialUsers']['canpruneadminlog'] = '1';
    
    	//	****** USERS WITH QUERY RUNNING PERMISSIONS ******
    	//	The users specified here will be allowed to run queries from the control panel.
    	//	See the above entries for more information on the format.
    	//	Please note that the ability to run queries is quite powerful. You may wish
    	//	to remove all user IDs from this list for security reasons.
    $config['SpecialUsers']['canrunqueries'] = '';
    
    	//	****** UNDELETABLE / UNALTERABLE USERS ******
    	//	The users specified here will not be deletable or alterable from the control panel by any users.
    	//	To specify more than one user, separate userids with commas.
    $config['SpecialUsers']['undeletableusers'] = '1';
    
    	//	****** SUPER ADMINISTRATORS ******
    	//	The users specified below will have permission to access the administrator permissions
    	//	page, which controls the permissions of other administrators
    $config['SpecialUsers']['superadministrators'] = '1';
    PHP:
     
    scylla, Dec 12, 2010 IP