I'm numbah 1! (ID Option?)
I'm sure you just edit something in the database or something, but I'm a nub with PHP and such. I just know how to edit premade scripts, not really make stuff x3;
So anyways. I would like to know how to, for every new member, they get an ID number next to their name. So for example, I could be; Bob (#1). Next person who registers will be shown as Bobita (#2), etc. Thank yah~ :3 |
All users already get an ID.
It's stored in the MySQL database in: adopt_users and it's the first row labeled "uid". It automatically increase the uid by 1 when someone joins. |
I think Rozel's wondering if it's possible to display that. xD
|
Well just use concatenation operator to display both the variable username and uid on user profile.
|
<.< I feel terribly dumb not knowing what that means, but I have a small idea of it's definition. I'll look it up xD
|
It means to go to profile.php and where it has this;
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Yay! You made it so much simpler for me. x3~ I thank you dearly.
|
All times are GMT -5. The time now is 03:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.