The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi guys,
I followed a guide to create my own Custom Profile Tab which worked wonderfully. My question is, how do I get the UserID of the current members profile I am viewing? I know $vbulletin->userinfo['userid'] can get my own ID. Any help would be appreciated, I really need this is in the plugin for my function, rather than the template. Thanks guys! |
|
#2
|
|||
|
|||
|
$userinfo['userid']
don't add $vbulletin-> at the front... is the answer (for anyone else who was just looking and found out, like myself..) |
![]() |
|
|