View Full Version : can get username from member.php?u=1 ??
Zet_Ahmad
10-13-2010, 01:38 PM
Iam trying to get only the User Name using his ID , is that possible to use member.php?u=1 ?
or there is a best way for that ??
please if can you help, because iam new in programming and iam trying to learn some thing new :D
Zet_Ahmad
10-14-2010, 02:37 PM
Any idea ???
Zet_Ahmad
10-17-2010, 06:42 PM
I don't know why there is some body to help T_T .......
sheppardzwc
10-17-2010, 10:21 PM
If you take a look in the member.php page, the $userinfo variable should work for you. When the page gets the user's userid from ?u=1, it gets all the data is commonly needs and stores it into $userinfo, which includes the username. So if you want to use their username, $userinfo['username'] will work.
Zet_Ahmad
10-20-2010, 06:49 PM
Thank you very much.. i Will try this one ;)
DJ29Joesph
10-25-2010, 09:27 PM
you could also use a bb code to help you with this. Just an FYI. I seem to remember there was a username bbcode a while back, might help you with this.
Zet_Ahmad
10-30-2010, 05:46 PM
Thank you all for helping :)
my mood is ready now and I will put it here soon ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.