View Full Version : variables don't work in navbar for cmps, works fine with original index.php
scruby
03-06-2005, 08:10 AM
The $session[sessionurl] variable gets picked up fine when I use the original vbulliten index.php, but when using the vBa index it doesn't work at all. Inside of module templates, it gets picked up fine, just not in the navbar.
Brian
03-06-2005, 11:35 AM
Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables
Try adding 'session' to that option.
scruby
03-06-2005, 06:07 PM
didn't work :(
I also am using the Links Directory script and have the same issue there as well
scruby
03-07-2005, 07:18 AM
In includes/functions_links.php, I added $session to the list of globals at the top of construct_adv_navbar()'s definition. This fixed the links directory, script
In includes/vba_cmps_include_bottom.php, I added $session to the list of globals at the top of print_portal_output()'s definition, This fixed cmps.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.