![]() |
How get Userinfo(userid) in plug-in ?
Hi,
im coding a plugin and i dont know how to get the userid to include this into a sql querry. here is my code: PHP Code:
when i put a userid (in this case the 6) it works, i get a dropdown menu with my buddies, but i need it dynamic. i put instead of the 6 : ".$userinfo['userid']." but it doesnt work. could anybody help? (sorry for my bad english, im too tired and too german) greets, chris |
Sorry, it was wrong...
|
Try using $vbulletin->userinfo['userid'] instead of $userinfo[userid].
|
All times are GMT. The time now is 05:30 AM. |
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:
|