vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2005, 01:07 AM
CSS59 CSS59 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default left sidebar in Links

I am running the sidebar found in the VBA user manual.

How can I show my left sidebar on my links page in Camps?
Reply With Quote
  #2  
Old 07-13-2005, 01:49 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: left sidebar in Links

Just make the first changes listed in the users' manual here (the define('VBA_PORTAL', true); and define('VBA_PAGE', 'include') to the pages you would like to integrate, and then you will see that the other changes have already been made for you. Or, if you want to integrate every page of the links directory then you could edit the links_config.php file and just add the code there.
Reply With Quote
  #3  
Old 07-13-2005, 09:27 PM
CSS59 CSS59 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: left sidebar in Links

Log into your Admin CP.
Click on the 'Add Page' link listed under your 'vBa CMPS' options in the left frame.
Once there, enter a Title and a Page Identifier for your page. You may call these two options whatever you would like, just be sure to make a note of what you used for the 'Page Identifier' option. For this example we are going to use 'include' for both.
Since we only want to include the modules in the left column on this page, uncheck all modules that are in your right and center columns, with the exception of your 'Custom Page Content' module. This module will be replaced with the output from your file, so it must be active on this page. Or of course if you would like other modules to be active then you may leave them as active.
Set any additional options that you would like, and then save the page.
Now you will want to open your /forums/index.php file. In that file, right after the opening <?php tag, you will want to add this code:

Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
Note that if you changed the 'Page Identifier' setting for this page above then you will want to replace 'include' (marked in bold above) to whatever you used for the 'Page Identifier' option.
For the next step, you will want to search your file for the phrase "print_output" (without the quotes). In our example here, you would find the following code:

Code:
eval('print_output("' . fetch_template('FORUMHOME') . '");');
You will want to replace this with:

Code:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
As you can see, the main part that you should be concerned with is 'FORUMHOME'. When integrating other vBulletin pages or hacks with vBadvanced CMPS, you will want to replace whatever template name is in the "print_output" part of the code. Once you have done this, save and upload your file, and you're done.
Reply With Quote
  #4  
Old 07-13-2005, 09:33 PM
CSS59 CSS59 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: left sidebar in Links

Quote:
Originally Posted by Brian
, if you want to integrate every page of the links directory then you could edit the links_config.php file and just add the code there.
Thats what I want. What part of the code do i put in the config?
Reply With Quote
  #5  
Old 07-13-2005, 10:04 PM
CSS59 CSS59 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: left sidebar in Links

figured it out thank you
Reply With Quote
  #6  
Old 08-04-2005, 01:40 PM
kicksol kicksol is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default Re: left sidebar in Links

when I do this -- it puts the left column on the bottom of the center column -- the right column shows up, but the left is under the center -- what do I look for here?
Reply With Quote
  #7  
Old 08-04-2005, 01:51 PM
kicksol kicksol is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default Re: left sidebar in Links

nevermind -- I didn't click the Custom Module in the center -- it's working now
Reply With Quote
Reply


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
add vbportal left menu`s to vba links homepage NuFFy "How Do I..." Questions 4 04-18-2005 02:04 PM
Flash Header & Left SideBar DGTLMIK Troubleshooting / "How do I..." Questions 5 04-07-2005 05:41 PM
SideBar to the left of the Breadcrumb Bar DGTLMIK Troubleshooting / "How do I..." Questions 5 02-17-2005 03:49 PM
Opinions needed - collapsable left sidebar Alan @ CIT Add-On Modules & Modifications 3 01-03-2005 12:13 PM
Left sidebar on forum home doesn't work golfrewind Troubleshooting / "How do I..." Questions 7 07-25-2004 09:43 PM


All times are GMT -4. The time now is 04:27 PM.

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.