vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   how do you bring back my admin username (https://vborg.vbsupport.ru/showthread.php?t=159304)

nirav 10-02-2007 02:49 PM

how do you bring back my admin username
 
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 03:46 PM

Quote:

Originally Posted by nirav (Post 1351512)
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 06:21 PM

And to keep this from happening in the future, set your admin user to undeletable in config.php

EnIgMa1234 10-02-2007 06:31 PM

Or upload tools.php and run it

Marco van Herwaarden 10-03-2007 05:19 AM

Quote:

Originally Posted by baby41 (Post 1351549)
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 03:33 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1351938)
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 03:38 PM

Quote:

Originally Posted by baby41 (Post 1352220)
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 03: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 04:33 PM

Quote:

Originally Posted by baby41 (Post 1352220)
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 06:16 PM

Quote:

Originally Posted by nirav (Post 1352275)
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?


All times are GMT. The time now is 08:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01684 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete