![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2004
Location: NY
Posts: 9,507
|
![]() 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 --> <? } } ?> hehe, not really but you should! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I need a beer
![]() Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,944
|
Looks like a neat tool..thanks
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jul 2004
Location: NY
Posts: 9,507
|
Quote:
It will pick up on proxies and everything, you can test it out with proxies for different countries. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Montreal, Canada
Posts: 3,271
|
Good stuff, thanks
![]()
__________________
264 349 400 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2005
Location: Puddle Town
Posts: 459
|
WOW what a great tool!!!!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
Thats sweet, Im definitely looking into this...
Score one for xlogger ![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Masterbaiter
Industry Role:
Join Date: Feb 2006
Posts: 26,195
|
gotta bookmark this
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
hmm, that might be worth looking into
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
I can change this!!!!!
Join Date: Feb 2004
Posts: 18,972
|
trying it out now
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Clueless OleMan
Join Date: Mar 2003
Location: ICQ - 169903487
Posts: 11,009
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
emperor of my world
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
|
since when is china the same as belgium?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,472
|
Thank youuuuuuuuu! :D
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Aug 2005
Location: Montreal
Posts: 1,207
|
statcounter also does like that...but it's more simple...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Feb 2006
Location: Panama
Posts: 523
|
great thing you found man!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
And send all the Foreign to Datinggold so you get paid on it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Nov 2003
Location: 237 619 975
Posts: 8,944
|
neat
8 char
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
bookmarked
![]()
__________________
Make Money
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
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...... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |