The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
Sorry, it was wrong...
|
#3
|
||||
|
||||
![]()
Try using $vbulletin->userinfo['userid'] instead of $userinfo[userid].
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|