PDA

View Full Version : Banner under the navbar question



mikecp421
Mon 24th Oct '05, 5:04pm
I want to put the banners in like you have in the first post here (http://www.vbulletin.com/forum/showthread.php?t=101599) but I want to have it so it is under the navbar. like in the spaces highlighted in this picture. Can you tell me where to go to do that? Thanks

Jose Amaral Rego
Mon 24th Oct '05, 7:50pm
As for Jake's Bunce How To's, just follow it and ad to the area indicated.

AdminCP => Styles & Templates => Style Manager => Edit Templates => «expand» navbar

Find:


<!-- / nav buttons bar -->
<br />
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->


Place Google Banner Ads Here:


<!-- / nav buttons bar -->
<br />
Google Ads/Banner Ads
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->



Pick one that will work for you:


<div align="center"><a href="url to googles"><img src="url to image_468x60_01.gif"></a></div>

<td align="center"><a href="url to googles"><img src="url to image_468x60_01.gif"></a></td>

<center><a href="url to googles"><img src="url to image_468x60_01.gif"></a></center>


This will give onmouseover text effect:


<div align="center"><a href="url to googles"><img src="url to image_468x60_01.gif" border="0" alt="Add for onmouseover" /></a></div>

<td align="center"><a href="url to googles"><img src="url to image_468x60_01.gif" border="0" alt="Add for onmouseover" /></a></td>

<center><a href="url to googles"><img src="url to image_468x60_01.gif" border="0" alt="Add for onmouseover" /></a></center>

mikecp421
Mon 24th Oct '05, 11:07pm
ok I did this for the horizontal banner and it worked like a charm but I cant get it to work for the vertical. Can you tell me how exactly to place that one? Is it the same spot? I did them one on top of the other before.

Jose Amaral Rego
Tue 25th Oct '05, 1:52am
Did you even follow the link you posted in your own post?

http://www.vbulletin.com/forum/showthread.php?t=101599

mikecp421
Tue 25th Oct '05, 2:29am
yesss, of course I did but unfortunately the parameters of the location of the closing brackets is different so I don't know exactly where to put them. I think I can illustrate the fact that I followed the link by posting my example of what I tried to use.


<!--Google Adsense VerticalBanner>
<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>

<td width="150" valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-6600210273009452";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>

</tr>
</table>
<!--Google Adsense Banner>
</td>

<td valign="top">
<br />

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

Jose Amaral Rego
Tue 25th Oct '05, 2:41am
If those links in your signature are your forums, then where is the left or right column? I like to see what they look like? Plus what is wrong with the ads under navbar?

Jose Amaral Rego
Tue 25th Oct '05, 5:34am
I get it now, you want it so it is enclose in a box so it does not expand across? I will add more later.

Thinking of outside the box. :rolleyes:


<div align="center" class="smallfont">
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxx";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>


Thinking inside the box?


<!-- sponsor -->
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="150" align="center">
<tr>
<td class="thead" align="left">Google Ad's</td>
</tr>
<tr>
<td class="alt1" align="center">
<center>
<!-- Begin Links -->

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxx";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<!-- End Links -->
</center>
</td>
</tr>
</table>
</div>
<!-- / sponsor -->



Collaspe Box/Logo



<!-- sponsor -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('my_table4')"><img id="collapseimg_my_table4" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_my_table4].gif" alt="" border="0" /></a>
Google Ad's</td>
</td>
</tr>
</thead>
<tbody id="collapseobj_my_table4" style="$vbcollapse[collapseobj_my_table4]">
<tr>

<td class="alt1" width="100%"><div class="smallfont"><a href="URL WRITE TO"><img src="URL SPONSORS LOGO ?0x?0 pixels" alt="Google Logo" border="0" /></a>

<center>
<!-- Begin Links -->

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<!-- End Links -->
</center>
</div></td>
</tr>
</tbody>
</table>
<!-- / sponsor -->

mikecp421
Tue 25th Oct '05, 1:07pm
If those links in your signature are your forums, then where is the left or right column? I like to see what they look like? Plus what is wrong with the ads under navbar?
the forum I am trying to affect these changes to is the www.meogee.com I don't have the left side column yet because I have not added it. I want it to be under the navbar and doing it like Jake illustrated in his tutorial places it alongside the page including the navbar. Look at this site here (www.howardforums.com) to see what I mean. See how the navbar and header is virtually unaffected by the left side column? That's what I want to accomplish. I had previously did the changes like Jakes tutorial and it turned out exactly how he described but I wanted the ads lower, thus my post here.

Jose Amaral Rego
Tue 25th Oct '05, 7:52pm
You could of figure it out by adding the code were you want the ad to show up by placing the code in navbar???

Jake Bunce Tutorial: How To Add Left Column

AdminCP => Styles & Templates => Style Manager => Edit Template => footer

Find:


<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">


Add this green between the blue:


<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

</td>

</tr>
</table>

<form action="$vboptions[forumhome].php" method="get">


Next you will go to navbar instead of header template

Find:


</if>
<!-- / NAVBAR POPUP MENUS -->
</if>


Add below:


<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>

<td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">
YOUR CONTENT HERE
</td>

<td valign="top">


You should choose this code to achive that boardless effect.


<div align="center" class="smallfont">Your Googles</div>

mikecp421
Tue 25th Oct '05, 8:33pm
Ok that worked, thanks. I didn't not try different things, I tried a few in different spots and it wasn't working out. But it was because I wasn't coding it correctly, which is why I asked for help. Thanks for helping. I am in noway a good coder. But I understand most of what you direct and what Jake directs me to do.

mikecp421
Tue 25th Oct '05, 8:40pm
one other thing, is there a way I can omit it from showing in a particular area? Say I want to omit it from something called portal.php? Thanks

Jose Amaral Rego
Tue 25th Oct '05, 8:44pm
That you need to ask www.vbadvanced.com/forum and I do not know if I got the answer from them when I did the same thing, but I did ask and got an answer? Just look for the answer or ask one yourself.

mikecp421
Tue 25th Oct '05, 8:49pm
ok, figured that. Thanks anyway

mikecp421
Tue 25th Oct '05, 9:50pm
is this the question (http://www.vbadvanced.com/forum/showthread.php?t=8683) you refer to?

Jose Amaral Rego
Tue 25th Oct '05, 11:57pm
Yes, I had trouble with styles not wrapping code properly. I fix the problem by removing the style/skin. ;)

oldfan
Mon 16th Jan '06, 2:14pm
does google ad allow two different ad sources?
I want to add adsence too my header and after the first post.

thanks

mikecp421
Mon 16th Jan '06, 2:50pm
oh sure, I have that and a few others, they dont care

oldfan
Mon 16th Jan '06, 4:08pm
whats your url?
the one in your profile isn't working.