Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Google problem

  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Google problem

    I am new here and new to the whole website scene.I am making a search engine site.I am trying to make the html code.I copied a code from another website tweeked it abit and there is one thing i cant get is my google.I thought i did but i am not getting credit for any clicks.I got a buddy to do 1 search and click and i did not get credit for it.So I am assuming that i did that part wrong.Here is the html code i got so far
    Code:
    <BODY background="http://www.hostgatordeal.com/Old_kigs.jpg " background-attachment:fixed; no repat; TEXT="#ffffff" LINK="#cccccc"  ALINK="#000000">
    <center><div>
    <br><br><br><br><br><br><FONT face="Calligula" size=5>SDFGSDFGSDGSD</FONT>br><br><br><br><br><br><br><script language="JavaScript">
    <!--
    current_site = "Yahoo"
    
    var set_def = false
    
    function fetch() {
    
    	if (set_def == true) {
    
    		set_default = "t"
    
    	}else{
    
    		set_default = ""
    
    	}
    
    	tmp = document.SearchForm.Search.value;
    
    	stmp = "";
    
    	for (i=0 ; i <= tmp.length ; i++) {
    
    		if (tmp.charAt(i) == " ") {
    
    			stmp = stmp + "+"; 
    
    		} else {
    
    			stmp = stmp + tmp.charAt(i); 
    
    		}
    
    	}
    
    	if (current_site == "Yahoo") {
    
    		top.location.href = "http://search.yahoo.com/bin/search?p=" + document.SearchForm.Search.value
    
                    }
    
    	if (current_site == "You Tube") {
    
    		top.location.href = "http://www.youtube.com/results?search_query=" + document.SearchForm.Search.value
    
    	}
    
    	
                    if (current_site == "Yellow Pages") {
    
    		top.location.href = "http://www.yellowpages.com/no-location?search_terms=" + document.SearchForm.Search.value
    
            }
    
            
    
                    if (current_site == "Ask") {
    
    		top.location.href = "http://www.ask.com/web?q=" + document.SearchForm.Search.value
    
            }
    
                    if (current_site == "Msn") {
    
    		top.location.href = "http://search.msn.co.uk/results.aspx?q=" + document.SearchForm.Search.value        
    
             }       
                     
                    if (current_site == "Alexa") {
    
    		top.location.href = "http://www.alexa.com/search?amzn_id=papaseek01-20&q=" + document.SearchForm.Search.value        
    
             }       
    
                    if (current_site == "Dmoz") {
    
    		top.location.href = "http://search.dmoz.org/cgi-bin/search?search=" + document.SearchForm.Search.value        
    
             } 
    
                    if (current_site == "Mtv") {
    
    		top.location.href = "http://www.mtv.com/search/index.jhtml?searchterm=" + document.SearchForm.Search.value        
    
             }                           
    
              
                    if (current_site == "Software") {
    
    		top.location.href = "http://www.download.com/3120-20_4-0.html?tg=dl-20&qt=" + document.SearchForm.Search.value        
    
             } 
    
                    if (current_site == "Dictionary") {
    
    		top.location.href = "http://dictionary.reference.com/browse/" + document.SearchForm.Search.value        
    
             }  
    
    
                    if (current_site == "Encyclopedia") {
    
    		top.location.href = "http://en.wikipedia.org/wiki/" + document.SearchForm.Search.value        
    
             }   
    
                if (current_site == "Google") {
    
    		top.location.href = "http://www.google.com/custom?hl=en&lr=&ie=ISO-8859-1&oe=ISO-8859-1&partner-pub-9638820575835864&cof=FORID&#37;3A1%3BL%3Ahttp%3A%2F%2Hotwebengine.com%2logo2.gif%3BLH%3A39%3BLW%3A94%3BLP%3A1%3BGL%3A1%3BBGC%3AFFFFFF%3BT%3A%23000000%3BLC%3A%230000ff%3BVLC%3A%23663399%3BALC%3A%230000ff%3BGALT%3A%23008000%3BGFNT%3A%230000ff%3BGIMP%3A%230000ff%3BDIV%3A%23336699%3BLBGC%3A336699%3BAH%3Acenter%3BS%3Ahttp%3A%2F%2hostgatordeal.com%3B&q="  + document.SearchForm.Search.value 
    
             }                                   
    
          return false;
    
    }
    
    
    
    function toggle_setdef() {
    
    set_def = !(set_def);
    
    }
    
    
    
    function setsite(sitenow) {
    
    current_site = sitenow;
    
    }
    
    
    
    // --></script>
    
    <!-- A1 -->
    <center>
    <form method="GET" name="SearchForm" onsubmit="return fetch()">
    <center><font size="4">Google</font><input type="radio" name="SITE" value="Google" checked onclick="setsite('Google')">&nbsp;&nbsp;<font size="4">Yahoo</font><input type="radio" name="SITE" value="Yahoo" checked onclick="setsite('Yahoo')">&nbsp;&nbsp;<font size="4">Ask</font><input type="radio" name="SITE" value="Ask" checked onclick="setsite('Ask')">&nbsp;&nbsp;<font size="4">Msn</font><input type="radio" name="SITE" value="Msn" checked onclick="setsite('Msn')">&nbsp;&nbsp;<font size="4">Alexa</font><input type="radio" name="SITE" value="Alexa" checked onclick="setsite('Alexa')">&nbsp;&nbsp;<font size="4">Dmoz</font><input type="radio" name="SITE" value="Dmoz" checked onclick="setsite('Dmoz')">&nbsp;&nbsp;<font size="4">You Tube</font><input type="radio" name="SITE" value="you Tube" checked onclick="setsite('You Tube')">&nbsp;&nbsp;<font size="4">Yellow Pages</font><input type="radio" name="SITE" value="Yellow Pages" checked onclick="setsite('Yellow Pages')">&nbsp;&nbsp;<font size="4">Mtv</font><input type="radio" name="SITE" value="Mtv" checked onclick="setsite('Mtv')">&nbsp;&nbsp;<font size="4">Software</font><input type="radio" name="SITE" value="Software" checked onclick="setsite('Software')">&nbsp;&nbsp;<br><font size="4">Dictionary</font><input type="radio" name="SITE" value="Dictionary" checked onclick="setsite('Dictionary')">&nbsp;&nbsp;<font size="4">Encyclopedia</font><input type="radio" name="SITE" value="Encyclopedia" checked onclick="setsite('Encyclopedia')">&nbsp;&nbsp;<center>
    <br>
    <center><input type="Text" name="Search" size=44></center>
    
    <center><input type="Submit" name="Submit"></center></form><br>
    <br> <a href="https://my.screenname.aol.com/_cqr/login/login.psp?sitedomain=sns.webmail.aol.com&lang=en&locale=us&authLev=2&siteState=ver%3a3%7cac%3aWS%7cat%3aSNS%7cld%3awebmail.aol.com%7cuv%3aAOL%7clc%3aen-us%7cmt%3aAOL%7csnt%3aScreenName&seamless=novl" target="blank"><IMG src="http://www.hostgatordeal.com/aol.jpg " border=0></a> 
    <a href="http://www.facebook.com" target="blank"><IMG src="http://www.hostgatordeal.com/facebook.jpg " border=0></a> 
    <a href="http://www.watch-movies.net/" target="blank"><IMG src="http://www.hostgatordeal.com/freemovies.jpg " border=0></a>
    <a href="http://www.mp3.com/free-music/" target="blank"><IMG src="http://www.hostgatordeal.com/freemusic.jpg" border=0></a> 
    <a href="http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1201060113&rver=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&id=64855" target="blank"><IMG src="http://www.hostgatordeal.com/hotmail.jpg " border=0></a> 
    <a href="http://www.ebay.ca/" target="blank"><IMG src="http://www.hostgatordeal.com/myebay.jpg " border=0></a> 
    <a href="https://www.gmail.com" target="blank"><IMG src="http://www.hostgatordeal.com/mygmail.jpg" border=0></a>
    
     <a href="http://www.myspace.com/" target="blank"><IMG src="http://www.hostgatordeal.com/myspace.jpg" border=0></a><br>
    <a href="https://www.paypal.com" target="blank"><IMG src="http://www.hostgatordeal.com/paypal.jpg" border=0></a> 
    <a href="http://www.pogo.com" target="blank"><IMG src="http://www.hostgatordeal.com/pogo.jpg " border=0></a>
    <a href="http://www.addictinggames.com" target="blank"><IMG src="http://www.hostgatordeal.com/addictinggames.jpg " border=0></a>
    <a href="http://www.miniclip.com" target="blank"><IMG src="http://www.hostgatordeal.com/miniclipgames.jpg  " border=0></a>
    <a href="http://www.tagged.com/" target="blank"><IMG src="http://www.hostgatordeal.com/tagged.jpg " border=0></a> 
    <a href="http://games.yahoo.com/games/front" target="blank"><IMG src="http://www.hostgatordeal.com/yahoogames.jpg " border=0></a>
    <a href="http://login.yahoo.com/config/login_verify2?&.src=ym" target="blank"><IMG src="http://www.hostgatordeal.com/yahoomail.jpg " border=0></a> 
    <a href="http://youtube.com/" target="blank"><IMG src="http://www.hostgatordeal.com/youtube.jpg " border=0></a>
    Now i was wondering if Someone could tell me what part of the google code is wrong.Thanks
    Last edited by oracleguy; 01-26-2008 at 04:21 AM. Reason: added code tags

  • #2
    Regular Coder
    Join Date
    Jul 2007
    Location
    USA
    Posts
    147
    Thanks
    5
    Thanked 3 Times in 2 Posts
    What exactly is your problem here? Is this adsense or something else? Google codes aren't wrong unless you mess them up.
    Quote Originally Posted by rmedek View Post
    Doctordew, as soon as they come out with the opposite of an infraction, I am going to give you a million of them. You are my new favorite person on the forum.

  • #3
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    no

    I never got the code from google i got it from another site and placed my id in place of theres.I think it is working.I get credit for searches but not clicks.So i dont know.If you could help me out please msm message me at canadacatman@hotmail.com

    It would be greatly appreciated and i could explain it better.Thanks

  • #4
    Regular Coder
    Join Date
    Jul 2007
    Location
    USA
    Posts
    147
    Thanks
    5
    Thanked 3 Times in 2 Posts
    Quote Originally Posted by jlhcjj View Post
    I never got the code from google i got it from another site and placed my id in place of theres.I think it is working.I get credit for searches but not clicks.So i dont know.If you could help me out please msm message me at canadacatman@hotmail.com

    It would be greatly appreciated and i could explain it better.Thanks
    I'd rather not going to go on msn to talk with you as it slows my computer way down, the reason your code is not working I'm not exactly sure why. Why don't you simply go to google and sign up for your own account and get your own code? It should give you the credit you need. This is the problem not the code itself.
    Quote Originally Posted by rmedek View Post
    Doctordew, as soon as they come out with the opposite of an infraction, I am going to give you a million of them. You are my new favorite person on the forum.

  • #5
    Regular Coder
    Join Date
    Feb 2008
    Location
    Australia baby!
    Posts
    143
    Thanks
    6
    Thanked 3 Times in 3 Posts
    lol, why??
    outseeker - http://outer.reaches.dyndns.org/index.php
    I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •