1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where do I get this template/script??

Discussion in 'Making Money' started by small_town_boy, Jun 9, 2009.

  1. small_town_boy

    small_town_boy Power Member

    Joined:
    Aug 14, 2008
    Messages:
    514
    Likes Received:
    163
    Sites like these have gotten quite popular recently:
    http://momsdietswork.com
    You can see that the city the person is in will always be a city near you. That adds to the whole believability effect, so I wanted to know how can I make a script like this?

    Thanks
     
    Last edited: Jun 9, 2009
  2. seanmillar

    seanmillar Newbie

    Joined:
    Aug 29, 2007
    Messages:
    18
    Likes Received:
    1
    heres the code shes using to use that. it just basicly pulls your ip

    Code:
    <script src="http://j.maxmind.com/app/geoip.js"></script><script type="text/javascript"><!--
    document.write(geoip_city());
    // --></script>, <script type="text/javascript"><!--
    document.write(geoip_region());
    // --></script>
    
     
    • Thanks Thanks x 1
  3. small_town_boy

    small_town_boy Power Member

    Joined:
    Aug 14, 2008
    Messages:
    514
    Likes Received:
    163
    Ok, one more thing. How do I make it so whenever someone clicks "add comment", he gets an error message saying "Comments disabled due to spam" or something of that sort.
     
  4. saram1805

    saram1805 Newbie

    Joined:
    May 29, 2009
    Messages:
    21
    Likes Received:
    11
    Code:
    <A HREF='javascript:onClick=alert("Comments disabled due to spam")'>Comment</A>
     
    • Thanks Thanks x 1