vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #61  
Old 01-19-2005, 07:56 PM
FeaR FeaR is offline
Junior Member
 
Join Date: Oct 2004
Posts: 17
Default Re: Sidebar(s) in forums?

the left column shows up underneath the forums, not on top.
  #62  
Old 01-19-2005, 08:03 PM
FeaR FeaR is offline
Junior Member
 
Join Date: Oct 2004
Posts: 17
Default Re: Sidebar(s) in forums?

also im not sure if im doing this right on the last part. I only want the left column on forums. Do i still have to change the FORUMHOME thing.....
  #63  
Old 01-21-2005, 12:10 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by Brian
Thank you for the compliments.

As for integration, check this section of the user's manual.

http://www.vbadvanced.com/membersare...tid=4&pageid=6
what happen to this page? its GONE! i need it...............
  #64  
Old 01-21-2005, 09:28 PM
1996 328ti's Avatar
1996 328ti 1996 328ti is offline
Senior Member
 
Join Date: Aug 2004
Posts: 233
Default Re: Sidebar(s) in forums?

Are you taking about this?
http://www.vbadvanced.com/membersare...tid=4&pageid=6
__________________
...steven

www.318ti.org
forum.nccbmwcca.org
  #65  
Old 01-21-2005, 11:56 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by 1996 328ti
yeah, the link must have changed cuz the one i put up is from the forst post, Thanks!
  #66  
Old 01-22-2005, 12:33 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

does anyone else have this sucsessfully implemented on their forum home with 3.0.6? I just upgraded and can't for the life of me get this to work now. My forum ends up on the left and really narrow, and the modules follow in a column underneath that. I've check to ensure that the Cutom page content is enabled for the page and everything and that it is set for the center column. Anybody? please help
  #67  
Old 01-22-2005, 03:37 PM
1996 328ti's Avatar
1996 328ti 1996 328ti is offline
Senior Member
 
Join Date: Aug 2004
Posts: 233
Default Re: Sidebar(s) in forums?

I have a side bar on my entire forum.
I did nothing except run the cmps install and selected the link to update templates.
__________________
...steven

www.318ti.org
forum.nccbmwcca.org
  #68  
Old 01-22-2005, 05:29 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

I unistalled and reinstalled and now it's like i posted above, cant do anything to fix it either that i have found. I even reverted all the templates, still no fix

Last edited by btappan; 01-22-2005 at 05:36 PM.
  #69  
Old 01-22-2005, 05:56 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by 1996 328ti
I have a side bar on my entire forum.
I did nothing except run the cmps install and selected the link to update templates.
My only possible explantaion is that one of the templates in vb 3.0.6 has a misplaced tag or something and your modified templates were not overwritten. Mine were, and now this thing does not work. anybody have a test forum to check this out on?
  #70  
Old 01-22-2005, 10:27 PM
maniac maniac is offline
Member
 
Join Date: Sep 2004
Posts: 67
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by btappan
does anyone else have this sucsessfully implemented on their forum home with 3.0.6? I just upgraded and can't for the life of me get this to work now. My forum ends up on the left and really narrow, and the modules follow in a column underneath that. I've check to ensure that the Cutom page content is enabled for the page and everything and that it is set for the center column. Anybody? please help
I was running into the same problem on 3.0.5 and found this on this site somewhere (can't remember where), But basically, follow the instructions on the User Manual by adding:

Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
at the top of your php page and then replacing the appropriate "eval" line with:
Code:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
where FORUMHOME is the name of the template you want to display.

For example, for showthread.php replace:
Code:
eval('print_output("' . fetch_template('SHOWTHREAD') . '");');
with
Code:
eval('$HTML = "' . fetch_template('SHOWTHREAD') . '";');
print_portal_output($home, $HTML);
  #71  
Old 01-22-2005, 10:32 PM
maniac maniac is offline
Member
 
Join Date: Sep 2004
Posts: 67
Default Re: Sidebar(s) in forums?

Brian,

I've managed to get this to work like a charm on my forums (as you can tell by previous post) but now I want to add an additional module to my pages as a popUp to one of the navBar items (like the default Quick Links and search box)

I already have the popUp in place and working with some static content, but, instead of that static content I want to display one of my cmps modules.

I tried putting the template name in place of my static content but got no results. Do you have any idea how I can do this?

Thanks in advance
  #72  
Old 01-22-2005, 11:47 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by maniac
I was running into the same problem on 3.0.5 and found this on this site somewhere (can't remember where), But basically, follow the instructions on the User Manual by adding:

Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
at the top of your php page and then replacing the appropriate "eval" line with:
Code:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
where FORUMHOME is the name of the template you want to display.

For example, for showthread.php replace:
Code:
eval('print_output("' . fetch_template('SHOWTHREAD') . '");');
with
Code:
eval('$HTML = "' . fetch_template('SHOWTHREAD') . '";');
print_portal_output($home, $HTML);
so what was ur fix? the code you posted is the same from the manual. it doesnt work. i've tried it for FORUMHOME , SHOWTHREAD , and SEARCH and it still is messed up.
  #73  
Old 01-22-2005, 11:55 PM
btappan btappan is offline
Member
 
Join Date: May 2004
Posts: 34
Default Re: Sidebar(s) in forums?

okay, here is the fix:

Quote:
Originally Posted by Brian
Try looking for this code in your forum/includes/vba_cmps_include_bottom.php file:
PHP Code:
                if ($mods['identifier'] == 'custompage' AND $pages['template'])
                {
                    
$cusid $mods['modid'];
                    eval(
'$home[$mods[\'modid\']][\'content\'] = "' fetch_template($pages['template']) . '";');
                } 
Replace it with this:
PHP Code:
                if ($mods['identifier'] == 'custompage')
                {
                    
$cusid $mods['modid'];
                    if (
$pages['template'])
                    {
                        eval(
'$home[$mods[\'modid\']][\'content\'] = "' fetch_template($pages['template']) . '";');
                    }
                } 
And let me know if that solves the problem.
  #74  
Old 01-23-2005, 10:47 AM
Andy R's Avatar
Andy R Andy R is offline
Member
 
Join Date: Mar 2004
Location: Traveling...
Posts: 56
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by btappan
I'm currentley building my forums and have this sidebar on most pages. the only one giving me a problem is the showthread page. right now i have the default style i'm trying to apply this to and on this page the postbit overstretches the fixed 755 width.

any suggestions?
Anyone seen a fix for this. My showthread is the only page that is extending too far to the right just like mentioned above..
http://www.vbadvanced.com/forum/atta...&stc=1&thumb=1
__________________
Social Knowledge Networks
  #75  
Old 03-23-2005, 07:45 PM
wildondallas's Avatar
wildondallas wildondallas is offline
Member
 
Join Date: Jul 2004
Location: Dallas, TX
Posts: 29
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by golfrewind
Is there a solution for photopost yet? I would like to install a sidebar onto the photopost index as well.
me too

Also, has anyone figure out how to get the left column displayed in the calendar pages?
__________________
www.WildonDallas.com
Your Elite Online Entertainment Source for the Dallas Texas
Get a Nightlife! Browse, Contribute, Support Dallas' Nightlife Community
  #76  
Old 03-27-2005, 11:55 AM
kyzen kyzen is offline
Junior Member
 
Join Date: May 2004
Posts: 21
Default Re: Sidebar(s) in forums?

Quote:
Originally Posted by organic hosting
Anyone seen a fix for this. My showthread is the only page that is extending too far to the right just like mentioned above..
http://www.vbadvanced.com/forum/atta...&stc=1&thumb=1
Can you post the whole page mate?
  #77  
Old 03-28-2005, 11:27 PM
breaume breaume is offline
Junior Member
 
Join Date: Jul 2004
Posts: 5
Default Re: Sidebar(s) in forums?

Its from this post in this same thread on page 2.

I am having the same issue it can be seen here.
  #78  
Old 04-08-2005, 08:18 AM
zenithrs@bigpon zenithrs@bigpon is offline
Member
 
Join Date: Mar 2004
Posts: 72
Default Re: Sidebar(s) in forums?

Brian, I'm one of those "want the left blocks on every page" kind of dudes. I added them to newreply.php as per http://www.vbadvanced.com/membersare...tid=4&pageid=6 but it breaks the WYSIWYG editor in Firefox. It doesn't break it in IE though. Any clues why this would be?
  #79  
Old 04-08-2005, 11:53 PM
zenithrs@bigpon zenithrs@bigpon is offline
Member
 
Join Date: Mar 2004
Posts: 72
Default Re: Sidebar(s) in forums?

Actually I tracked this down. The adv_portal template doesn't have the $onload variable in the <body> tag. So I added that, but with no result. Had to edit line 79 of vba_cmps_include_bottom.php to include $onload in the global statement.

All fine now. I've no idead why IE wasn't affected though.
  #80  
Old 04-23-2005, 03:04 AM
Samir Samir is offline
Huntsville Car Scene.com
 
Join Date: Sep 2004
Location: HSV
Posts: 276
Default Re: Sidebar(s) in forums?

I've had a sidebar running on my site on the forum home for quite a while now. I have the left column size set to 145, but when the browser window size is reduced, the module box scales instead of staying at 145. My home page has fixed columns for both left and right at 185 and they don't change. I tried changing the 145 to 185 just to see what it would do. It changes in size when browser is full screen, still scales when window size reduced.

Here's a couple of links to help explain it:
Site home page: www.huntsvillecarscene.com - try to reduce the window size--the columns remain at 185
Forum home page: http://www.huntsvillecarscene.com/forum.php - try the same thing--the site navigation sidebar will shrink below its setting of 145.

Anyone have any ideas? Any assistance appreciated.

Last edited by Samir; 04-23-2005 at 03:08 AM.
 


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


All times are GMT -4. The time now is 05:38 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.