View Full Version : how do you bring back my admin username
nirav
10-02-2007, 03:49 PM
i have deleted my admin username by accedent now i cant do anything without going in to the admin cp . for that i need my admin username back with the full rights does anyone know how to ?
baby41
10-02-2007, 04:46 PM
i have deleted my admin username by accedent now i cant do anything without going in to the admin cp . for that i need my admin username back with the full rights does anyone know how to ?
If you have access to your server you can go to your database and insert a new username with full rights.
Go to ===> PhpMyAdmin
Go to your Database on a scroll menu at the top on the left hand side
Go to user and then on your right hand side go to userid and click Browse
Now you can insert a new user or edit one allready there to be easy
Do not forget "usergroupid 6", "username", "email", "usertitle" and password leave it blank and go to your forum and request new pass,regards.
Analogpoint
10-02-2007, 07:21 PM
And to keep this from happening in the future, set your admin user to undeletable in config.php
EnIgMa1234
10-02-2007, 07:31 PM
Or upload tools.php and run it
Marco van Herwaarden
10-03-2007, 06:19 AM
If you have access to your server you can go to your database and insert a new username with full rights.
Go to ===> PhpMyAdmin
Go to your Database on a scroll menu at the top on the left hand side
Go to user and then on your right hand side go to userid and click Browse
Now you can insert a new user or edit one allready there to be easy
Do not forget "usergroupid 6", "username", "email", "usertitle" and password leave it blank and go to your forum and request new pass,regards.
I would not recommend following these instructions.
If you have lost your access information for your Admin account and can not reset the password using normal procedures, then please do the following:
- Register a new regular forum account.
- Upload tools.php from the 'do_not_upload' folder of your vBulletin distribution to your admincp directory.
- Now point your browser to tools.php.
- Choose "[Reset Admin Access]" to promote the new user account to admin
- Once your problem is fixed please remove tools.php again from the server.
- Optional: If needed add the userid of the new user to the super administrator list in your config.php
baby41
10-03-2007, 04:33 PM
I would not recommend following these instructions.
If you have lost your access information for your Admin account and can not reset the password using normal procedures, then please do the following:
- Register a new regular forum account.
- Upload tools.php from the 'do_not_upload' folder of your vBulletin distribution to your admincp directory.
- Now point your browser to tools.php.
- Choose "[Reset Admin Access]" to promote the new user account to admin
- Once your problem is fixed please remove tools.php again from the server.
- Optional: If needed add the userid of the new user to the super administrator list in your config.php
Hi Marco van Herwaarden can you tell me why you do not recommend what I have said,regards.:confused:
Analogpoint
10-03-2007, 04:38 PM
Hi Marco van Herwaarden can you tell me why you do not recommend what I have said,regards.:confused:
I'm not Marco, but doing manual queries on your database is more susceptible to errors than using the tools.php script already made available by vB.
nirav
10-03-2007, 04:57 PM
but i have made a new forum now all my things are gone do u know how to bring back my members in my new forum ?
Paul M
10-03-2007, 05:33 PM
Hi Marco van Herwaarden can you tell me why you do not recommend what I have said,regards.:confused:
It does not create all the other user and admin database entries that are required (across many tables).
Analogpoint
10-03-2007, 07:16 PM
huh i asked u that i have started new forum and do u know how to bring back my the members from the old forum to the new forum and if u can can u bring back all the posts too ?
Do you have a backup of your database?
Dismounted
10-04-2007, 04:36 AM
butsome one is hacking my forum and they have installed keylogger so they can see the password and everything and the other thing is where can u get tools.php and how can i delete the keyloger they have installed
--------------- Added at 15:49 ---------------
and now they did something and i cant go in to the forum is saying this Warning: main(/home/httpd/vhosts/tamilsourcex.com/httpdocs/forum/includes/init.php) [function.main]: failed to open stream: No such file or directory in /home/httpd/vhosts/tamilsourcex.com/httpdocs/forum/global.php on line 20
Fatal error: main() [function.require]: Failed opening required '/home/httpd/vhosts/tamilsourcex.com/httpdocs/forum/includes/init.php' (include_path='.:.:/usr/share/pear') in /home/httpd/vhosts/tamilsourcex.com/httpdocs/forum/global.php on line 20
Keyloggers are programs that are run on the computer, not through websites. You should have an anti-virus program installed and updated regularly.
nirav
10-04-2007, 02:43 PM
yes i got the back ups but how do i nsert the back up in my new forum now ?
Analogpoint
10-04-2007, 04:21 PM
yes i got the back ups but how do i nsert the back up in my new forum now ?
Via SSH
http://www.vbulletin.com/docs/html/main/maintenance_ssh_restore
or
Via PhpMyAdmin
http://www.vbulletin.com/docs/html/main/maintenance_phpmyadmin_restore
nexialys
10-05-2007, 10:45 AM
huh i asked u that i have started new forum and do u know how to bring back my the members from the old forum to the new forum and if u can can u bring back all the posts too ?
now that you messed up with everything, i would suggest you require a support ticket here:
http://members.vbulletin.com/membersupport_contactform.php
asking here for support on these topics is more complicated because non-tech users try to help you and will simply mess with your site more...
nirav
10-06-2007, 07:29 AM
no but now i only need help on iserting my back up . im now in the php my admin but i dont know where to go next. can some one please tell me step bu step to insert the backup
Marco van Herwaarden
10-06-2007, 07:31 AM
"insert" is not the correct word when restoring a backup, it will overwrite your current board if you restore a backup.
The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:
Backup:
http://www.vbulletin.com/docs/html/maintenance_ssh_backup
Restore:
http://www.vbulletin.com/docs/html/maintenance_ssh_restore
P.S. If you don't have shell access, some people have also reported success with these scripts:
MySQLDumper:
http://www.mysqldumper.de/en/index.php
MySQLHotxcopy:
http://www.vbulletin.com/forum/showthread.php?t=134821&highlight=mysqlhotcopy
Bigdump:
http://www.ozerov.de/bigdump.php
nirav
10-06-2007, 05:04 PM
yes i got it back thank you very much for ur help guys
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.