help inserting banner into the footer...

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59403?pagenum=1
05 November 2025, 08:45

Topic


tuttostranieri
help inserting banner into the footer...
14 September 2005, 04:11


Hi,
I need help for insert the two google scripts attached down in this post inside the footer of my forum, can you help me plese... thanks

Alessandro
(www.tuttostranieri.it)

first script:
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.it/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Ricerca"></input>
<input type="hidden" name="client" value="pub-1209719482294907"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="it"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->


Second SCRIPT:
<script type="text/javascript"><!--
google_ad_client = "pub-1209719482294907";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><

 

Replies ...


rasure
14 September 2005, 06:58


Code:

First Script:

Response.Write "<center>" & vbNewLine & _
"<form method=""get"" action=""http://www.google.it/custom"" target=""_top"">" & vbNewLine & _
"<table bgcolor=""#ffffff"">" & vbNewLine & _
"<tr><td nowrap=""nowrap"" valign=""top"" align=""left"" height=""32"">" & vbNewLine & _
"<a href=""http://www.google.com/"">" & vbNewLine & _
"<img src=""http://www.google.com/logos/Logo_25wht.gif"" border=""0"" alt=""Google"" align=""middle""></img></a>" & vbNewLine & _
"<input type=""text"" name=""q"" size=""31"" maxlength=""255"" value=""""></input>" & vbNewLine & _
"<input type=""submit"" name=""sa"" value=""Ricerca""></input>" & vbNewLine & _
"<input type=""hidden"" name=""client"" value=""pub-1209719482294907""></input>" & vbNewLine & _
"<input type=""hidden"" name=""forid"" value=""1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""ie"" value=""ISO-8859-1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""oe"" value=""ISO-8859-1""></input>" & vbNewLine & _
"<input type=""hidden"" name=""cof"" value=""GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;""></input>" & vbNewLine & _
"<input type=""hidden"" name=""hl"" value=""it""></input>" & vbNewLine & _
"</td></tr></table>" & vbNewLine & _
"</form>" & vbNewLine & _
"</center>" & vbNewLine

Second Script:
Response.Write "<center><script type=""text/javascript""><!--"& vbNewLine & _
"google_ad_client = ""pub-1209719482294907"";"& vbNewLine & _
"google_ad_width = 728;"& vbNewLine & _
"google_ad_height = 90;"& vbNewLine & _
"google_ad_format = ""728x90_as"";"& vbNewLine & _
"google_ad_type = ""text_image"";"& vbNewLine & _
"google_ad_channel ="""";"& vbNewLine & _
"//--></script>"& vbNewLine & _
"<script type=""text/javascript"""& vbNewLine & _
"src=""http://pagead2.googlesyndication.com/pagead/show_ads.js"">"& vbNewLine & _
"</script></center>" & vbNewLine

Just copy and paste these to somewhere suitable in your inc_footer.asp file<
Mr Pink
14 September 2005, 08:00


Why don't you use the Site Integration Mod?<
Shaggy
14 September 2005, 08:06


The Site Integration Mod might be a bit overkill for what he's trying to achieve but would certainly make it easier.
<
laser
14 September 2005, 08:45


inc_footer.asp smile<
tuttostranieri
14 September 2005, 13:59


Hi friends!!
I have tried the code and i have a little problem, the google banners are not centered into the page, how can i do for solving?
THX

Alex
www.tuttostranieri.it<
rasure
14 September 2005, 14:21


Well your original second script didn't have any center tags, but
I've updated your code in my first original post abovesmile<
tuttostranieri
14 September 2005, 15:09


THX!!!
I have inserted the code and all work well!!

MANY MANY THX :-)))

alex
www.tuttostranieri.it<
tuttostranieri
14 September 2005, 15:40


How can i put a little blank space down the second script??? :-)

THX

Alex
www.tuttostranieri.it<
laser
14 September 2005, 17:14


Before the second script ?
Change the first line of the second script to :

Response.Write "<br /><center><script type=""text/javascript""><!--"& vbNewLine & _

copy the red part, and paste multiple times for a bigger gap.<
tuttostranieri
14 September 2005, 17:32


Not before, after.... sorry for my english :)

Alex
www.tuttostranieri.it<
Shaggy
15 September 2005, 04:58


Just move the line break (<br />) to after the closing center tag.
<
tuttostranieri
15 September 2005, 18:29


Originally posted by Shaggy
Just move the line break (<br />) to after the closing center tag.

THX!!! GRAZIE!!! smile<
Shaggy
16 September 2005, 04:55


You're welcome. Prego. smile
<
omega1
03 March 2006, 15:59


hi, i succesfully used this also, many thanks for clearing up how to do it, i do however have a question, hopefully someone can answer...
i too use adsense and am hoping to make a little extra cash from my forum, but how on earth can you get it to pick up and content from the page or the posts??? all i keep on getting are public service ads!
anyone know how to make the adsense code look into the post to get the content?
thanks!<
bobby131313
03 March 2006, 16:06


Did you just do it?
It can take a few days to get your ads on target. The AdSense bot has to spider every thing.
It's a separate bot from the regular Googlebot. So its like a whole new site until its done.<
© 2000-2021 Snitz™ Communications