| Author |  Topic  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 14 September 2005 :  04:11:42       
 |  
                      | 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><
 |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  | 
              
                | rasureJunior Member
 
   
 
                289 Posts | 
                    
                      |  Posted - 14 September 2005 :  06:58:55       
 |  
                      | 
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<
 |  
                      | Psychic & Spiritual Development Resources
 |  
                      | Edited by - rasure on 14 September 2005  14:24:17
 |  
                      |  |  | 
              
                | Mr PinkJunior Member
 
   
 
                United Kingdom387 Posts
 | 
                    
                      |  Posted - 14 September 2005 :  08:00:55       
 |  
                      | Why don't you use the Site Integration Mod?< |  
                      | Martin
 Leyland Forum Leyland Lancashire UK
 |  
                      |  |  | 
              
                | ShaggySupport Moderator
 
      
 
                Ireland6780 Posts
 | 
                    
                      |  Posted - 14 September 2005 :  08:06:08     
 |  
                      | The Site Integration Mod might be a bit overkill for what he's trying to achieve but would certainly make it easier. 
 <
 |  
                      | 
  Search is your friend “I was having a mildly paranoid day, mostly due to the
 fact that the mad priest lady from over the river had
 taken to nailing weasels to my front door again.”
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 14 September 2005 :  08:45:08     
 |  
                      | inc_footer.asp  < |  
                      |  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 14 September 2005 :  13:59:44       
 |  
                      | 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<
 |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  
                      |  |  | 
              
                | rasureJunior Member
 
   
 
                289 Posts | 
                    
                      |  Posted - 14 September 2005 :  14:21:56       
 |  
                      | Well your original second script didn't have any center tags, but I've updated your code in my first original post above
  < |  
                      | Psychic & Spiritual Development Resources
 |  
                      | Edited by - rasure on 14 September 2005  14:25:31
 |  
                      |  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 14 September 2005 :  15:09:57       
 |  
                      | THX!!! 
 I have inserted the code and all work well!!
 
 MANY MANY THX :-)))
 
 alex
 www.tuttostranieri.it<
 |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  
                      | Edited by - tuttostranieri on 14 September 2005  15:10:21
 |  
                      |  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 14 September 2005 :  15:40:09       
 |  
                      | How can i put a little blank space down the second script??? :-) 
 THX
 
 Alex
 www.tuttostranieri.it<
 |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 14 September 2005 :  17:14:44     
 |  
                      | 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.<
 |  
                      |  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 14 September 2005 :  17:32:06       
 |  
                      | Not before, after.... sorry for my english :) 
 Alex
 www.tuttostranieri.it<
 |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  
                      |  |  | 
              
                | ShaggySupport Moderator
 
      
 
                Ireland6780 Posts
 | 
                    
                      |  Posted - 15 September 2005 :  04:58:53     
 |  
                      | Just move the line break (<br />) to after the closing center tag. 
 <
 |  
                      | 
  Search is your friend “I was having a mildly paranoid day, mostly due to the
 fact that the mad priest lady from over the river had
 taken to nailing weasels to my front door again.”
 |  
                      |  |  | 
              
                | tuttostranieriNew Member
 
  
 
                53 Posts | 
                    
                      |  Posted - 15 September 2005 :  18:29:00       
 |  
                      | quote:Originally posted by Shaggy
 
 Just move the line break (<br />) to after the closing center tag.
 
 
 
 
 
 THX!!! GRAZIE!!!
  < |  
                      | www.tuttostranieri.it
 www.tuttostranieri.org
 admin@tuttostranieri.it
 |  
                      |  |  | 
              
                | ShaggySupport Moderator
 
      
 
                Ireland6780 Posts
 | 
                    
                      |  Posted - 16 September 2005 :  04:55:03     
 |  
                      | You're welcome. Prego.  
 <
 |  
                      | 
  Search is your friend “I was having a mildly paranoid day, mostly due to the
 fact that the mad priest lady from over the river had
 taken to nailing weasels to my front door again.”
 |  
                      |  |  | 
              
                | omega1Junior Member
 
   
 
                United Kingdom127 Posts
 | 
                    
                      |  Posted - 03 March 2006 :  15:59:20       
 |  
                      | 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!<
 |  
                      | Visit : My personal site - Website Hosting - Register a domain
 |  
                      |  |  | 
              
                | bobby131313Senior Member
 
     
 
                USA1163 Posts
 | 
                    
                      |  Posted - 03 March 2006 :  16:06:50       
 |  
                      | 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.<
 |  
                      | Switch the order of your title tags
 |  
                      | Edited by - bobby131313 on 03 March 2006  16:07:55
 |  
                      |  |  | 
              
                |  |  Topic  |  |