The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
proper login on a 'plugged' in leftnav.php file
Hi everyone, got some great help here yesterday so I'm back. Greedy I know
I would like to know how to get the login code from the navbar template work in an include file I have called leftnav.php. The file is included in the header template via the plugin system, so in the header template I refer to it by $leftnav and it appears. The problem is that even though global.php is available to leftnav.php, not all variable groups come through the plugin system or I have to access them by another way. For example to check someones userid (to see if logged in) I must reference it like $vbulletin->userinfo['userid'] as opposed to $bbuserinfo.. My login script at the moment is: PHP Code:
Please help with these issues, also do you imagine me having any problems with cookies or anything because they could be reference different or anything. Thanks for your help |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|