View Full Version : [3.6.0] Google adsense
JompaMP
08-18-2006, 04:56 PM
hey how can i get my google banner to the right and in the middle?
http://drazonia.com/namnlos.JPG
nishv
08-18-2006, 11:20 PM
Can we see the code? Without seeing the code its not possible!
JompaMP
08-19-2006, 06:13 AM
ok here it is:
<script type="text/javascript"><!--
google_ad_client = "pub-7337222445065772";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
and if you want all code for the heade include the logo and that so will you have it here:
<!-- logo -->
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>
<a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"/></a>
<script type="text/javascript"><!--
google_ad_client = "pub-7337222445065772";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- nav buttons bar -->
<div align="center">
<table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td><a href="rules.php$session[sessionurl_q]">Rules</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</div>
<!-- /logo -->
Try this buddy :)
<!-- logo -->
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="50%"><a href="$vboptions[forumhome].php?$session[sessionurl]">
<img src="$stylevar[titleimage]" alt="$vboptions[bbtitle]" border="0" width="350" height="74"></a> </td> <td align="right" valign="middle" width="50%"><script type="text/javascript"><!--
google_ad_client = "pub-7337222445065772";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr>
</table>
<!-- nav buttons bar -->
<div align="center">
<table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td><a href="rules.php$session[sessionurl_q]">Rules</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</div>
<!-- /logo -->
Just a try! (make a backup before doing anything!)
JompaMP
08-19-2006, 08:13 AM
it did not work.
Try now (this one (https://vborg.vbsupport.ru/showpost.php?p=1055653&postcount=4)), Tested and working :)
JompaMP
08-19-2006, 11:10 AM
now its working thx.
Np :)
Btw can i ask how did you make that (of different colours)--> Legend
Adminstrators | Vice Adminstrator | Super Moderators | Moderators | Tutors | Donators | Banned Users
PS replace the js file of forum skin with the existing one ;)
JompaMP
08-19-2006, 01:55 PM
what you mean?
the legend i just made by some html code that i put in footer and i writed all that.
Ok, thanks :)
the legend i just made by some html code that i put in footer and i writed all that.
JompaMP
08-19-2006, 04:03 PM
no problemo
DementedMindz
08-19-2006, 04:21 PM
JompaMP you should remove the screen shot or edit it so it dont display the ips either ;)
JompaMP
08-31-2006, 07:34 PM
i need help again now its look like this: http://open-tibia.net/forum/forum.php and i want the logo to be smaller like orginal but i can?t get it that way if i have that banner. here is the code all code in header.
<!-- logo -->
<a name="top"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr> <td align="left" width="50%"><a href="$vboptions[forumhome].php?$session[sessionurl]">
<img src="$stylevar[titleimage]" alt="$vboptions[bbtitle]" border="0" width="350" height="74"></a> </td> <td align="middle" valign="middle" width="50%"><a href="http://drazonia.com"><img src="images/header.jpg" width="653" height="78" border="0"></a></td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.