The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do i change user my admin userID from 103 to 1 (default)
Could someone show me how to change my admin userID from 103 to 1 or 0(whichever is default). Appreciate it lots.
LN |
#2
|
||||
|
||||
You can't - really -
What you can do is change the password and name of account number #1 and take it over from whoever has it - but if you do that all posts made under that account will be attributed to you. The only other way to do it is to start anew. |
#3
|
||||
|
||||
well, the ID #1 use to be my userid but when I convert to vbulletin, i deleted it by mistake and now my userid is 103 and there's no body that has userid 1 either. And my forums right now is growing kinda big so start anew is not an posible option for me. Do you guy have anymore idea like run a query or something to change it.
|
#4
|
||||
|
||||
a dirty way:
create a new Admin user from within your acp then with phpmyadmin or another sql surface [sql]UPDATE user SET userid = 1 WHERE userid = newuserid UPDATE userfield SET userid = 1 WHERE userid = newuserid UPDATE usertextfield SET userid = 1 WHERE userid = newuserid[/sql] that way you got a new admin user with the userid 1. after that, just use the build in user merge system to merge your already existing account into the new user with the id 1 |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
I'm curious.... why the concern about what the user ID is? Do you have hacks or something hard-coded based upon the user ID or something?
|
#7
|
||||
|
||||
it may just look better, and for fast testing purposes it's often easier to use easy rememberable userids
|
#8
|
||||
|
||||
Quote:
Code:
UPDATE user SET userid = 1 WHERE userid = newuserid ; UPDATE userfield SET userid = 1 WHERE userid = newuserid ; UPDATE usertextfield SET userid = 1 WHERE userid = newuserid ; |
#9
|
||||
|
||||
UserID 1 is just the installers USERID this does not mean they are the default admin in all times
|
#10
|
|||
|
|||
Quote:
did you replaced newyserid with id you want ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|