Jump to content

Free GeopIP location script/addon


Recommended Posts

New 2.0 version released !

 

This is a complete rewrite of the core code and now uses XML to parse the data. It's much faster using this format instead of the old php output.

 

The only added feature is the timezone being shown. Everything else is the same.

 

To install it read the readme.txt file in the zip.

 

Download Link

 

Problems ? Post here.

Link to comment
Share on other sites

Nice module. To add more flexibility, you should think about just assigning the values to smarty variables. That way, the site owner can customize how exactly it displays. For example:

 

{include_php file="geoip.php"}
<strong>IP:</strong>{$geoip_ip}<br />
<strong>{$geoip_citystate}<br />
{$geoip_country}</strong> {$geoip_flagimg}<br />
Latitude: {$geoip_lat}<br />
Longitude: {$geoip_long}<br />
Timezone: {$geoip_timezone}

 

Should be fairly easy to hack in there rather than just assuming how everyone wants the data displayed.

Link to comment
Share on other sites

Thanks laszlof.... however it's a free module and it is what it is. The mod is dummy proof and that's the easiest way to give a freebee away.

 

If I start adding all the modifications everyone wanted it wouldn't be free and if I gave the source away people would still be unhappy and want my help.

Link to comment
Share on other sites

I thought about that but his code is rather messy and I would only end up trashing more then half and re-code it. That would end up being a pay-for(non-free) addon module and I don't think anyone would pay for it since his last release was the un-encoded source.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated