If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2012
    Member #
    I maintain a website for a band that is going to be touring Europe soon. I would like to have a window pop-up on the home page only when someone from Europe goes to the site. Can anyone suggest a way to accomplish this?

    Any help will be greatly appreciated.


  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    South Carolina Coast
    Member #
    770 times
    Depends on if you're targeting pc based devices, mobile devices or both.

    For pc based browsers, you'll need to find and possibly purchase a GEOIP database for the region your looking to do this for. Same for mobile browsers, but some mobile devices also display a lat & long string in their request. You'll need a script to translate that As well.

    Most mobile carriers now use GEOIP DB that also includes lat & long data.

    Then it's just simple queries to search the DB with the browsers ip address or lat & long.

    Then display based on that.

    Be aware, that any free GEOIP DB that you find is going to be a Lot less accurate than anything you pay for. A lot less being < 50% accuracy ( they are actually only meant for testi g purposes ),but some developers try to cheap out and use it anyway.

    The last free one I found was about 30% complete. Even the paid ones are not 100% as the ip blocks being used today are constantly changing.

Remove Ads

Posting Permissions

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

Search tags for this page

popup based on location

Click on a term to search for related topics.
All times are GMT -6. The time now is 11:19 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: