The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help using the session table
Hey all, ok I've created a plugging at hook Global_start.
Code:
if ($vbulletin->session->vars['email'] == 0) { $varemail = $bbuserinfo[email]; //Add the user email to the session var $vbulletin->session->set('email', $varemail); } sorry if its so simple and easy, only just getting the hang of the way VBB is coded, Thanks again VBB, Dan. |
#2
|
||||
|
||||
$vbulletin->userinfo, not $bbuserinfo. $bbuserinfo is used in templates (html), $vbulletin->userinfo is used in plugins (php)
(I didn't check the rest of the code - that just stood out.) |
#3
|
|||
|
|||
Quote:
Thanks again Lynee EDIT. Worked like a treat !, Thanks Lynee |
#4
|
||||
|
||||
Why do you need to do that?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|