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 Mark Forums Read
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 05-04-2006, 04:51 PM   #1
xlogger
Confirmed User
 
Join Date: Jul 2004
Location: NY
Posts: 9,507
:tongue Ok guys, i found the greatest (free) tool for webmasters!

So, i never really paid attention to the fact that i was sending forign traffic to my sponsor that wasnt converting. All it does it make the stats look bad.So i found a tool that will let you geo-ip your ads on your site. Meaning, lets say one visitor is from the US - he will see a ad for a us sponsor and the other chinese one will see an ad for a dialor or w/e. This is not one of those "look at surfers browser" type of things. This looks at the ip and determins the country. Im not really good at explaining things but i will do my best here! mkkay

Step by step:

1. Download these files:
- GeoIP.dat from http://www.maxmind.com/app/geoip_country (they update the geo every month)
- geoip.inc from http://www.maxmind.com/download/geoip/api/php/
and put them in the folder where your php banner script will be.


2. The php banner script
Code:
<?
// This part gets the ip of the visitor and matches it to a country name/code

include("geoip.inc");
$gi = geoip_open("GeoIP.dat",GEOIP_STANDARD);

$visitor_country_code=geoip_country_code_by_addr($gi, $_SERVER['REMOTE_ADDR']);
$visitor_country_name=geoip_country_name_by_addr($gi, $_SERVER['REMOTE_ADDR']);

//This part shows banners/codes that YOU decide for each country

switch ($visitor_country_name) {
case "China": { ?>

<-- WHAT EVER CRAPPY BANNER YOU WANT TO SHOW FOR BELGIUM GOES HERE -->

<? }
    break;
case "Taiwan": { ?>

<-- WHAT EVER CRAPPY BANNER YOU WANT TO SHOW FOR TAIWAN GOES HERE -->

<? }
    break;

// AND SO ON, YOU CAN ADD MORE COUNTRIES HERE JUST LIKE ABOVE

default: { // THIS WILL EXECUTE FOR ALL OTHER DESTINATIONS NOT MENTIONED ABOVE ?>

<-- SEX SEARCH OR TCG BANNER SUITABLE FOR FOR OTHER DESTINATIONS -->

<? }
}
?>
3. Look at my sig and sign up

hehe, not really but you should!
__________________

----------
XLOGGER [REFLECTED] [OH]

Last edited by xlogger; 05-04-2006 at 04:52 PM..
xlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:52 PM   #2
Spunky
I need a beer
 
Spunky's Avatar
 
Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,944
Looks like a neat tool..thanks
__________________
Spunky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:54 PM   #3
xlogger
Confirmed User
 
Join Date: Jul 2004
Location: NY
Posts: 9,507
Quote:
Originally Posted by Spunky
Looks like a neat tool..thanks
O yeah it is, its 97% accurate.

It will pick up on proxies and everything, you can test it out with proxies for different countries.
__________________

----------
XLOGGER [REFLECTED] [OH]
xlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:54 PM   #4
Fresh
 
Fresh's Avatar
 
Join Date: Mar 2005
Location: LA
Posts: 4,920
nice
__________________


Promote ONE Legal Tube Site, Collect Checks from 19 Sponsors

Fresh Dave | Email: [email protected] | ICQ: 317160390


Fresh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:55 PM   #5
the alchemist
Confirmed User
 
the alchemist's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Montreal, Canada
Posts: 3,271
Good stuff, thanks
__________________
264 349 400
the alchemist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:57 PM   #6
mikie mike
Confirmed User
 
Join Date: Jan 2005
Location: Puddle Town
Posts: 459
WOW what a great tool!!!!
__________________
mikie mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:57 PM   #7
Deej
I make pixels work
 
Deej's Avatar
 
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
Thats sweet, Im definitely looking into this...

Score one for xlogger

:
__________________

Deej's Designs n' What Not
Hit me up for Design, CSS & Photo Retouching


Icq#30096880
Deej is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 04:59 PM   #8
CyberHustler
Masterbaiter
 
Industry Role:
Join Date: Feb 2006
Posts: 26,189
gotta bookmark this
CyberHustler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:10 PM   #9
AmateurFlix
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Posts: 7,762
hmm, that might be worth looking into
__________________
AmateurFlix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:16 PM   #10
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Nice find. thanks.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:17 PM   #11
Screaming
I can change this!!!!!
 
Join Date: Feb 2004
Posts: 18,972
trying it out now
__________________
Screaming is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:24 PM   #12
Sparks
Confirmed User
 
Join Date: Nov 2004
Location: Southern CA
Posts: 2,466
Damn that's a cool tool.... I'm going to look into it.
Sparks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:27 PM   #13
pussyluver
Clueless OleMan
 
Join Date: Mar 2003
Location: ICQ - 169903487
Posts: 11,009
Great tool!! That China traffic is a tuff choice though.
pussyluver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:30 PM   #14
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
since when is china the same as belgium?
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:33 PM   #15
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
Thanks for sharing that one.
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 05:34 PM   #16
xlogger
Confirmed User
 
Join Date: Jul 2004
Location: NY
Posts: 9,507
Quote:
Originally Posted by nico-t
since when is china the same as belgium?
Thats a typo.
__________________

----------
XLOGGER [REFLECTED] [OH]
xlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 08:16 PM   #17
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
Check out this thread to start making your own banners with geo text overlay.
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 09:20 PM   #18
Miguel T
♦ Web Developer ♦
 
Miguel T's Avatar
 
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,472
Thank youuuuuuuuu! :D
__________________

Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress
Miguel T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 09:23 PM   #19
Empress_JoinRightNow
Confirmed User
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,207
statcounter also does like that...but it's more simple...
Empress_JoinRightNow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 10:22 PM   #20
Shocking
Confirmed User
 
Join Date: Feb 2006
Location: Panama
Posts: 523
great thing you found man!
Shocking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2006, 10:28 PM   #21
4Pics
Confirmed User
 
Industry Role:
Join Date: Dec 2001
Posts: 7,952
And send all the Foreign to Datinggold so you get paid on it.
4Pics is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-05-2006, 04:35 AM   #22
Kard63
Confirmed User
 
Kard63's Avatar
 
Join Date: Nov 2003
Location: 237 619 975
Posts: 8,944
neat
8 char
__________________
Kard63 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-05-2006, 04:44 AM   #23
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
haha, at least its not old as fuck.
I can't believe you haven't heard of it so far.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-05-2006, 04:46 AM   #24
martinsc
Too lazy to set a custom title
 
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
bookmarked
__________________
Make Money
martinsc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-05-2006, 04:49 AM   #25
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
phpadsnew has that built in - I cant say enough about that script.

If you want to target AOL users in the UK that use FireFox on Saturdays it can be done

http://www.phpadsnew.com/two/

Its free as well......
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-05-2006, 04:50 AM   #26
marko13
Confirmed User
 
Join Date: Apr 2004
Location: www.lvpshosting.com
Posts: 7,512
thanks for that...
__________________
We are responsible for your hosting ... Enjoy in your life.
Shared hosting from $3.95 Europe Linux VPS plans from $11.37
http://www.LVPSHosting.com
marko13 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
Thread Tools



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.