The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
session vars in php direct execution widget
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|