Sidebar

 

Virtuemart Extensions by RuposTel.com

  • Full Screen
  • Wide Screen
  • Narrow Screen
  • Increase font size
  • Default font size
  • Decrease font size

GeoLocator for Joomla

This extension provide support for geolocation per IP address. It does not contain IP data within the installer, but rather a link to install them from the author - MaxMind.com. If you decide to use the GeoIP lite database, you must comply with MaxMind license.

All files in this extension are licensed under GPL license and are free to include in your extensions.

GeoLocator for Joomla is compatible with Joomla 1.5, Joomla 1.6, Joomla 1.7 and Joomla 2.5 and Joomla 3.x

We recommend to use this extension together with our flagship components One Page Checkout for Virtuemart 1 or 2 in case you do international shipping.

Direct download: com_geolocator.zip  (Joomla 1.5 to 2.5)

New Version avaialable for Joomla 2.5 and Joomla 3.x 

Download com_geolocator_istraxx_rupostel_for_25_35.zip  (Joomla 2.5 to 3.5)

Version for Joomla 3.x was prepared with Istraxx - Max Milbers (Virtuemart Core Team Leader)

This extension is an installer for MaxMind GeoIP Light Country database. It is focused on 3rd party extensions which require Geo Data by IP address.  

This extension does not bring any functionality to the web administrator and it's only function is to provide programatical and database interface for Geo Data.

It creates a table #__geodata with IP ranges and country codes. It is optimized to install with ajax and with compatibility in mind.

USAGE from your extensions:

include_once(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_geolocator'.DS.'assets'.DS.'helper.php');
if (class_exists('geoHelper'))
echo 'You are from: '.geoHelper::getCountry();

Updated installer and a bug in the helper file for ip2long (30.3.2012) 

We recommend to use this plugin together with our One Page Checkout and Default currency selector plugin for VirtueMart 1.1.x. 

- it adds a default country according to IP address to One Page Checkout

Updated a bug and installer on 12.May 2013 - added support when used within Joomla! installed in a subdirectory. Thank to Sean. 

 

Attachments:
FileDescriptionFile size
Download this file (com_geolocator.zip)com_geolocator.zipGeo Data Installer for Joomla16 Kb

Comments   

 
0 #1 baggeler@bluewin.ch 2012-08-03 04:57
Is it also compatible with Joomla 2.5?
Quote
 
 
0 #2 admin 2012-08-16 10:07
Yes, it is compatible with all Joomlas and both versions of One Page Checkout.

We are also using this component to block specific coutries from accessing certains sites due to spam protection directly from index.php of the Joomla site.
Quote
 
 
+1 #3 cernoch.email@gmail.com 2014-05-16 07:59
Hi, is there confirmed compatibility with joomla 2.5.20? I have the geolocator, i have the database, i have bought OPC and still, the shopper groups are not setting.

It worked for me in earlier versions of joomla but....i have no idea why doesnt it work.

I made a simple module, in it, i put the code:
include_once(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_geolocator'.DS.'assets'.DS.'helper.php');
if (class_exists(' geoHelper'))
echo 'You are from: '.geoHelper::getCountry();

and it just writes "You are from: "

thanks for advices
Quote
 
 
+1 #4 boutradelabs@gmail.com 2018-03-08 08:30
forget about it, solved
Quote
 

Add comment

Security code
Refresh

You are here