![]() |
$userinfo in plugin?
What is the equivalent of $userinfo outside of the templating system? $vbulletin->userinfo is actually $bbuserinfo from what I can tell.
I'm trying to get $userinfo->[field8] in one of my plugins, but all I can access is the actual logged in user (usually $bbuserinfo) as $vbulletin->userinfo. I wish there was a general howto for something like this. |
What part of the site are you trying to access the information in?
|
User Profile (member.php)
|
Use either one from:
Code:
$userinfo['field8'] |
wow... that easy...
So $vbulletin->userinfo is the logged in user and $userinfo is the page of the currently viewed user... just to clarify for others. I'm guessing this is the case for site wide (although $userinfo wouldn't be defined unless we were on a member page) |
All times are GMT. The time now is 09:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|