The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
how do I implement the security token in a PHP file? $bbuserinfo[securitytoken] is empty. Since I generate my whole form in PHP I can't use the <vb:raw for that. thanks edit: Okay found it... $vbulletin->userinfo['securitytoken'] Funnily, when I Google VBulletin 4 and Security Token only stuff about templates is being shown, via german Google. Well on some site very hidden I found that array and tried it, worked. |
#2
|
||||
|
||||
![]()
Yes exactly $userinfo is an array available only in templates, on php code the equivalent is $vbulletin->userinfo
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|