PDA

View Full Version : Custom Profile Tab Question


n.stanley
08-29-2011, 09:53 AM
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!

Loversama
07-13-2012, 02:22 PM
$userinfo['userid']

don't add $vbulletin-> at the front...

is the answer (for anyone else who was just looking and found out, like myself..)