Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2007, 03:49 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 ?
Reply With Quote
  #2  
Old 10-02-2007, 04:46 PM
baby41 baby41 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nirav View Post
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.
Reply With Quote
  #3  
Old 10-02-2007, 07:21 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And to keep this from happening in the future, set your admin user to undeletable in config.php
Reply With Quote
  #4  
Old 10-02-2007, 07:31 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or upload tools.php and run it
Reply With Quote
  #5  
Old 10-03-2007, 06:19 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baby41 View Post
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
Reply With Quote
  #6  
Old 10-03-2007, 04:33 PM
baby41 baby41 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
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.
Reply With Quote
  #7  
Old 10-03-2007, 04:38 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baby41 View Post
Hi Marco van Herwaarden can you tell me why you do not recommend what I have said,regards.
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.
Reply With Quote
  #8  
Old 10-03-2007, 04:57 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #9  
Old 10-03-2007, 05:33 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baby41 View Post
Hi Marco van Herwaarden can you tell me why you do not recommend what I have said,regards.
It does not create all the other user and admin database entries that are required (across many tables).
Reply With Quote
  #10  
Old 10-03-2007, 07:16 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nirav View Post
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:17 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.04761 seconds
  • Memory Usage 2,258KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete