Version Notes
0.0.6 - fixed typo mistake for Geoplugin lookup
0.0.5 - addded 4 more redirect rules
0.0.4 - new features: logging, landing URL, redirect once etc.
0.0.3 - Initial release.
Download this release
Release Info
Developer | Liudas Stanevicius |
Extension | visitor_country_ip_redirect |
Version | 0.0.6 |
Comparing to | |
See all releases |
Code changes from version 0.0.5 to 0.0.6
app/code/local/Creation/Afipredirect/Helper/Data.php
CHANGED
@@ -362,7 +362,7 @@ class Creation_Afipredirect_Helper_Data extends Mage_Core_Helper_Abstract
|
|
362 |
|
363 |
$result = false;
|
364 |
|
365 |
-
$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$
|
366 |
if($ip_data && $ip_data->geoplugin_countryCode != null)
|
367 |
{
|
368 |
$result = $ip_data->geoplugin_countryCode;
|
362 |
|
363 |
$result = false;
|
364 |
|
365 |
+
$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip_address));
|
366 |
if($ip_data && $ip_data->geoplugin_countryCode != null)
|
367 |
{
|
368 |
$result = $ip_data->geoplugin_countryCode;
|
app/code/local/Creation/Afipredirect/etc/config.xml
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
|
17 |
<modules>
|
18 |
<Creation_Afipredirect>
|
19 |
-
<version>0.0.
|
20 |
</Creation_Afipredirect>
|
21 |
</modules>
|
22 |
<global>
|
16 |
|
17 |
<modules>
|
18 |
<Creation_Afipredirect>
|
19 |
+
<version>0.0.6</version>
|
20 |
</Creation_Afipredirect>
|
21 |
</modules>
|
22 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>visitor_country_ip_redirect</name>
|
4 |
-
<version>0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -23,13 +23,14 @@ Extension has some configuration options:
|
|
23 |
* etc.
|
24 |

|
25 |
Extension is tested on versions 1.7+, but it could work with older versions as well.</description>
|
26 |
-
<notes>0.0.
|
|
|
27 |
0.0.4 - new features: logging, landing URL, redirect once etc.
|
28 |
0.0.3 - Initial release.</notes>
|
29 |
<authors><author><name>Liudas Stanevicius</name><user>liudass</user><email>liudas@creation.lt</email></author></authors>
|
30 |
-
<date>2014-
|
31 |
-
<time>
|
32 |
-
<contents><target name="magelocal"><dir name="Creation"><dir name="Afipredirect"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Countrylookupproviders.php" hash="d05bc8e6a90c652875784202d2f7f00c"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Ipredirect.php" hash="8ed0a59cfdd3b6380be57b33a834a26e"/></dir><dir name="Helper"><file name="Data.php" hash="
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.2.0</min><max>5.9.0</max></php></required></dependencies>
|
35 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>visitor_country_ip_redirect</name>
|
4 |
+
<version>0.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
23 |
* etc.
|
24 |

|
25 |
Extension is tested on versions 1.7+, but it could work with older versions as well.</description>
|
26 |
+
<notes>0.0.6 - fixed typo mistake for Geoplugin lookup
|
27 |
+
0.0.5 - addded 4 more redirect rules
|
28 |
0.0.4 - new features: logging, landing URL, redirect once etc.
|
29 |
0.0.3 - Initial release.</notes>
|
30 |
<authors><author><name>Liudas Stanevicius</name><user>liudass</user><email>liudas@creation.lt</email></author></authors>
|
31 |
+
<date>2014-11-06</date>
|
32 |
+
<time>11:06:24</time>
|
33 |
+
<contents><target name="magelocal"><dir name="Creation"><dir name="Afipredirect"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Countrylookupproviders.php" hash="d05bc8e6a90c652875784202d2f7f00c"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Ipredirect.php" hash="8ed0a59cfdd3b6380be57b33a834a26e"/></dir><dir name="Helper"><file name="Data.php" hash="23fa49420eca11e2204937b18566ad01"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2d31a75f87743daa996f76d81f0924ac"/><file name="config.xml" hash="32421781f06ffda39b29a3e085953356"/><file name="system.xml" hash="7905df675f9a1311b8de264253d946d6"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="afipredirect"><file name="ipredirect.phtml" hash="84de622a8ef1f5ac81d6a9f78b914845"/></dir></dir><dir name="layout"><file name="afipredirect.xml" hash="4f48f9deb8bffcdefaee4b1b07e6a842"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Creation_Afipredirect.xml" hash="3c92fb37c92042cf2c759f0180596b3d"/></dir></target></contents>
|
34 |
<compatible/>
|
35 |
<dependencies><required><php><min>5.2.0</min><max>5.9.0</max></php></required></dependencies>
|
36 |
</package>
|