vb.org Archive
>
vBulletin 3 Discussion
>
vB3 Programming Discussions
> $bbuserinfo[userid] don't works in showthread_complete.. another posibility?
PDA
View Full Version :
$bbuserinfo[userid] don't works in showthread_complete.. another posibility?
Jhonnyf
10-08-2008, 11:41 PM
I think that exist another objet to get the userid of the current user in that hook...
Adrian Schneider
10-09-2008, 12:02 AM
$bbuserinfo is a reference to $vbulletin->userinfo, and can only be used in templates.
$vbulletin->userinfo['userid'] is the correct variable
Jhonnyf
10-09-2008, 12:04 AM
thank you very much!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.