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
  #1  
Old 05-17-2004, 05:03 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Huge problem for me

I have the hack 'adcolumns' installed.
http://www.vbulletin.org/forum/showthread.php?t=62348


when I run CMPS it shows the Ad column on the page..........squeezing the right column of CMPS (see attached screenshot)

SO how do I get the two to work together?
Attached Images
File Type: jpg untitled (Medium).JPG (111.7 KB, 77 views)
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #2  
Old 05-17-2004, 05:23 AM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

Did you try to increase the right column size from
adminCP --> vBa CMPS --> edit pages --> Default/HomePage --> Right Column Width : ...

Try to set a fixed value, rather than a percentage (ie give a number btw 120 - 180). and see what happens.
  #3  
Old 05-17-2004, 05:24 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

no I can tell already that wont work. Adcolumns has to be turned off for this page...thats the only answer
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #4  
Old 05-17-2004, 05:29 AM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

try to resize the center column

open the adv_portal template

find:
<if condition="$show['center_column']">
<td valign="top">

replace with
<if condition="$show['center_column']">
<td valign="top" width=XX% >

and play with that XX number (btw 40-60)

You don't want to turn off ads on your main page, do you?
  #5  
Old 05-17-2004, 05:31 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

no no -- resizing any column will only leave the adcolumn there.......who wants that many columns?

the adcolumns has to be conditioned out of that page somehow.....
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #6  
Old 05-17-2004, 05:33 AM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

oh ok. I understood you wrong. Let me check the hack and see what it does.
  #7  
Old 05-17-2004, 05:34 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

Thanks

http://www.lincolnvscadillac.com/cmps_index.php?


is my page so you can check source.... its working,
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #8  
Old 05-17-2004, 05:38 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

The other trick, is how do we condition adcolumns out of this page but not necessarily other new pages that are created with this?
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #9  
Old 05-17-2004, 05:53 AM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

ok my suggestion would be

-open the footer template. copy all the contents

-edit the adv_portal template:
1-replace the $footer towards the end with the text you copied above.
2-then remove the section starting with <!-- BEGIN AdColumns --> (ie all the hack)
3-save the adv_portal template

edit: I know it is not the most elegant solution but I still did not understand how Brian wrote the code to fetch the footer template

edit2: ok, he gets it from the global.php . There you can define an alternative $footer (for ex: $footer_no_ad) to be used on certain pages, which does not include the ad hack and use this $footer_no_ad on pages you do not want to have the advertisements.

Hope you know how to do this

Last edited by ogetbilo; 05-17-2004 at 06:01 AM.
  #10  
Old 05-17-2004, 06:02 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

I have no clue -- Im way still learning........

I dont think its in the footer though, I think adcolumns comes out of global.php
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #11  
Old 05-17-2004, 06:08 AM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

Quote:
Originally Posted by joeychgo
I have no clue -- Im way still learning........

I dont think its in the footer though, I think adcolumns comes out of global.php
I checked the hack you gave the link to. The ads on the right hand side are controlled in the footer template. Because the vba CMPS uses the same footer as the forum (which was not the case for vbadvanced) you see the ads both inside the forum and on the main page.

hence, you want to remove the ad hack from the footer template on the main page.

the above modification should be enough for this.
  #12  
Old 05-17-2004, 06:12 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

well - I removed the footer ($footer) command - and that works -- of course I have no footer now, so thats the next step...
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #13  
Old 05-17-2004, 06:22 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

I tried making a seperate footer template without the adcolumns -- that didnt work.... same as no footer at all...
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #14  
Old 05-17-2004, 09:42 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Huge problem for me

The easiest way to take care of this would probably be with an if condition. I haven't used this hack so I can't tell you the exact code, but if you'll find the variable or code for the ad column in your footer template and add this before it:

<if condition="THIS_SCRIPT != 'adv_index'">

Then add this after it:

</if>

That should disable the ad column on your homepage.
  #15  
Old 05-17-2004, 10:00 AM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

Yup == That worked Thanks!!!!!!!
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
  #16  
Old 05-17-2004, 05:52 PM
ogetbilo's Avatar
ogetbilo ogetbilo is offline
Member
 
Join Date: Apr 2004
Posts: 68
Default Re: Huge problem for me

aaargh, I still don't know what kind of variables can be used in the templates.

Still learning, still learning...
  #17  
Old 05-17-2004, 07:01 PM
joeychgo joeychgo is offline
Senior Member
 
Join Date: Mar 2004
Posts: 227
Default Re: Huge problem for me

same here -- I was pretty sure it had to be a conditional, just wasnt sure how to write it.
__________________
vBulletin-FAQ ~ A New Home for vBulletin Forum Owners!

Lincoln vs Cadillac : Mopar Forum : Car Audio Talk
 


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 11:43 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.