PDA

View Full Version : display current users' user number


Hell Bomb
08-16-2009, 12:57 PM
im making a php script that will be added into vB using cmps,

how do i get it to display the current users user id, like 1,2,5?

Dismounted
08-16-2009, 01:04 PM
In templates: $bbuserinfo[userid]
Anywhere else: $vbulletin->userinfo['userid']

Hell Bomb
08-16-2009, 01:10 PM
thanks!, i dont normally deal with the forum side, so sorry if this was a bit of a silly question :),