vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Bugs & Other Issues

 
 
Thread Tools Display Modes
  #1  
Old 03-06-2005, 07:10 AM
scruby scruby is offline
Junior Member
 
Join Date: Feb 2005
Posts: 8
Default variables don't work in navbar for cmps, works fine with original index.php

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.
  #2  
Old 03-06-2005, 10:35 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: variables don't work in navbar for cmps, works fine with original index.php

Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables

Try adding 'session' to that option.
  #3  
Old 03-06-2005, 05:07 PM
scruby scruby is offline
Junior Member
 
Join Date: Feb 2005
Posts: 8
Default Re: variables don't work in navbar for cmps, works fine with original index.php

didn't work

I also am using the Links Directory script and have the same issue there as well
  #4  
Old 03-07-2005, 06:18 AM
scruby scruby is offline
Junior Member
 
Join Date: Feb 2005
Posts: 8
Default Re: variables don't work in navbar for cmps, works fine with original index.php

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.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I ad Hacks Variables to work in CMPS? Alderwazeh Troubleshooting / "How do I..." Questions 5 02-11-2005 06:58 AM
need help with navbar width on cmps index btappan Troubleshooting / "How do I..." Questions 1 11-25-2004 09:25 PM
photopost script works for forum and other custom script but just wont' work with VBA Drache Troubleshooting / "How do I..." Questions 11 11-01-2004 05:40 PM
Custom skin having problems with navbar on cmps index.php Semere Troubleshooting / "How do I..." Questions 9 09-19-2004 12:32 AM
Original index.php looks awful Polo Troubleshooting / "How do I..." Questions 6 08-03-2004 09:03 AM


All times are GMT -4. The time now is 03:27 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.