Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-17-2011, 08:14 AM   #1
Spudman
Confirmed User
 
Spudman's Avatar
 
Join Date: Aug 2002
Location: UK
Posts: 3,198
simple geo targetting text link script?

Hey,

does anyone know of a script that will show a simple text of the nearest city of a surfer?
I saw one here recently but can't find it via search.

thanks
__________________
Take it Easy !!!
Spudman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-17-2011, 09:06 AM   #2
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Code:
  <script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript">
	document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); 
  </script>
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-17-2011, 10:53 AM   #3
Spudman
Confirmed User
 
Spudman's Avatar
 
Join Date: Aug 2002
Location: UK
Posts: 3,198
Quote:
Originally Posted by borked View Post
Code:
  <script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript">
	document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); 
  </script>
thanks dude

can't get it to work. it doesn't print the location, there is just blank where i put the code. any trick to it?

thanks
__________________
Take it Easy !!!
Spudman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-17-2011, 03:03 PM   #4
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Sorry, split up the script src and the script:

Code:
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script type="text/javascript">document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); </script>
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2011, 09:59 AM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
was gonna say use geoplugin ;)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.