The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
can anyone tell me how to retrieve the following template variables in a php direct execution widget?
{vb:raw session.sessionhash} {vb:raw bbuserinfo.securitytoken} Thanks! --------------- Added [DATE]1274124841[/DATE] at [TIME]1274124841[/TIME] --------------- one down... $sessionhash = $_COOKIE["bb_sessionhash"]; --------------- Added [DATE]1274125493[/DATE] at [TIME]1274125493[/TIME] --------------- Solved for future searchers: $securitytoken = vb::$vbulletin->userinfo['securitytoken']; $sessionhash = $_COOKIE["bb_sessionhash"]; |
|
#2
|
|||
|
|||
|
Sorry for late reply.
I had completley forgotten about this, other things got in the way, but now I'm ready again ![]() I think I got it right, but haven't tested it yet... But I see that you got it right, so I might hunt you down in a few days
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|