![]() |
passing a vbulletin variable to javascript
I'm trying to pass a person's userid to javascript. I've set up the following test in my footer.
PHP Code:
https://vborg.vbsupport.ru/external/2016/09/8.png What am I doing wrong? |
If this is in a template, then you have to use vBulletin 4 template syntax.
It would be something like {vb:raw bbuserinfo.userid} instead of $bbuserinfo['userid']. |
All times are GMT. The time now is 03:21 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:
|