RS_Jelle
12-24-2005, 08:36 PM
Hi,
I'm making a custom CMS for vBulletin on my site.
I don't use the vBulletin templates for it, because I want one layout.
How can I get the user id, username and the avatar (and maybe some other things) of the user?
I'm using the vBulletin API Basics tutorial (https://vborg.vbsupport.ru/showthread.php?t=98009), so usergroups, ... are working fine.
Thanks in advance ;)
OK, I've found already some things:
Logged in User ID:
$vbulletin->userinfo['userid']
Logged in Username:
$vbulletin->userinfo['username']
But how can you get the username from a user when you have the user id?
I'm making a custom CMS for vBulletin on my site.
I don't use the vBulletin templates for it, because I want one layout.
How can I get the user id, username and the avatar (and maybe some other things) of the user?
I'm using the vBulletin API Basics tutorial (https://vborg.vbsupport.ru/showthread.php?t=98009), so usergroups, ... are working fine.
Thanks in advance ;)
OK, I've found already some things:
Logged in User ID:
$vbulletin->userinfo['userid']
Logged in Username:
$vbulletin->userinfo['username']
But how can you get the username from a user when you have the user id?