Version Notes
v 1.1.2
enable ip detect for shell scripts
v 1.1.1
fix issue of region map in back end
v 1.1.0:
fix locale issue
v 1.0.9:
fix router in admin
v 1.0.8:
change google map api loader style
v 1.0.7:
fix issue of marker cluster
v 1.0.6:
update google map api to version 3
v 1.0.5:
issue in short tag
v 1.0.3:
issue in https fixed
v 1.0.2:
some issue fixed
v 1.0.0:
1) convert FIPS 10-4 region code to ISO 3166:2 region code
2) show markers map in backend
3) enable widget for google map
v 0.9:
add Net_GeoIP in to source for easy installation
v 0.8:
1) add configuration for GeoIP data file
2) check online customer from log
3) use Net_GeoIP for IP location detect
v 0.7:
add support for 'GeoIpCity.dat'
v 0.6:
change default design/template
v 0.5:
first release package
Release Info
Developer | Magento Core Team |
Extension | Pz_WorldMap |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
@@ -8015,6 +8015,10 @@ class Pz_WorldMap_Model_Ip extends Mage_Core_Model_Abstract {
|
|
8015 |
$file = Mage::getStoreConfig('worldmap/geoip/filename');
|
8016 |
$path = Mage::getBaseDir('var') . DS . $file;
|
8017 |
|
|
|
|
|
|
|
|
|
8018 |
if (is_file($path)) {
|
8019 |
self::$geo = Net_GeoIP::getInstance($path, Net_GeoIp::STANDARD);
|
8020 |
} else {
|
@@ -8056,7 +8060,7 @@ class Pz_WorldMap_Model_Ip extends Mage_Core_Model_Abstract {
|
|
8056 |
* @return array
|
8057 |
*/
|
8058 |
public function parse($ip) {
|
8059 |
-
$result = array('longitude'=> 360, 'latitude'=> 360, 'location'=> '');
|
8060 |
|
8061 |
if (isset($_REQUEST['debug'])) {
|
8062 |
$result['country'] = 'US';
|
8015 |
$file = Mage::getStoreConfig('worldmap/geoip/filename');
|
8016 |
$path = Mage::getBaseDir('var') . DS . $file;
|
8017 |
|
8018 |
+
if (!@class_exists('Net_GeoIP')) {
|
8019 |
+
Mage::getModel('Pz_WorldMap_Model_Observe')->initRoutes();
|
8020 |
+
}
|
8021 |
+
|
8022 |
if (is_file($path)) {
|
8023 |
self::$geo = Net_GeoIP::getInstance($path, Net_GeoIp::STANDARD);
|
8024 |
} else {
|
8060 |
* @return array
|
8061 |
*/
|
8062 |
public function parse($ip) {
|
8063 |
+
$result = array('ip'=> $ip, 'longitude'=> 360, 'latitude'=> 360, 'location'=> '');
|
8064 |
|
8065 |
if (isset($_REQUEST['debug'])) {
|
8066 |
$result['country'] = 'US';
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Pz_WorldMap</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">Academic Free License (AFL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,7 +10,10 @@
|
|
10 |
<description>Online user's world map, show who is online and where they are.
|
11 |
|
12 |
Widget for google map.</description>
|
13 |
-
<notes>v 1.1.
|
|
|
|
|
|
|
14 |
fix issue of region map in back end
|
15 |
|
16 |
v 1.1.0:
|
@@ -60,9 +63,9 @@ v 0.6:
|
|
60 |
v 0.5:
|
61 |
first release package</notes>
|
62 |
<authors><author><name>Cheng Wei</name><user>auto-converted</user><email>berlios.o@gmail.com</email></author></authors>
|
63 |
-
<date>2011-
|
64 |
-
<time>
|
65 |
-
<contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="customer-flag.png" hash="8f33bab9b0c154462489b35140f29fae"/><file name="guest-flag.png" hash="47c715944bf946fd0cd9528cd8a016ae"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="customer-flag.png" hash="8f33bab9b0c154462489b35140f29fae"/><file name="guest-flag.png" hash="47c715944bf946fd0cd9528cd8a016ae"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="worldmap.xml" hash="3fab0c27e33a33a0b86a258af59566d6"/></dir><dir name="template"><dir name="worldmap"><dir name="info"><file name="geomap.phtml" hash="090e5dd9fbf704864c0c5488fa5c6fbe"/></dir><dir name="map"><file name="country.phtml" hash="09af492944ab3d363371f271db2da59c"/><file name="marker.phtml" hash="834af87c67cf2f14dacf03a175d57788"/><file name="region.phtml" hash="65216785a0a95545890273b2ef314c96"/></dir><dir name="page"><file name="head.phtml" hash="0845e0a7a2d3f323164ebace4d924458"/></dir><dir name="widget"><dir name="map"><file name="selector.phtml" hash="288254500d326f7666d98667c43ca2a1"/></dir><dir name="marker"><file name="container.phtml" hash="1f3708de3e776a59ab32b123df50b15b"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="worldmap.xml" hash="3125174c306ac57e2a31b554b2a5666b"/></dir><dir name="template"><dir name="worldmap"><file name="map.phtml" hash="98c21afd0f5000a45b3cd5983a2b7619"/><file name="online.phtml" hash="c9c1af2b4d0dca3496275aa646ff300d"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="map"><file name="markerclusterer.js" hash="888ca22432babba0581ef0556cce0f6d"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pz_WorldMap.xml" hash="830c817474800247b94067a37c0dcb94"/></dir></target><target name="magelib"><dir name="PEAR"><dir name="Net"><dir name="GeoIP"><file name="DMA.php" hash="3041b17a8aab69ec3b63c017f1a0432d"/><file name="Location.php" hash="ddb36e4e7cacc2a50b67192a0eb79663"/></dir><file name="GeoIP.php" hash="e7bec2e088af4b24a27864f50a473b88"/></dir><dir name="PEAR"><file name="Exception.php" hash="f364e75223744d460a6bb08420ac94f9"/></dir></dir></target><target name="magecommunity"><dir name="Pz"><dir name="WorldMap"><dir name="Block"><file name="Links.php" hash="98cb18aa80b6e1addee1e09208baa1b6"/><file name="Map.php" hash="3d6d9a2344325adad25470fbfa92f30a"/><file name="Online.php" hash="891861764c00906bce6880f877dc901f"/><dir name="Adminhtml"><dir name="Online"><file name="Tabs.php" hash="d5b84909747d829fb70f166ffa70ac0e"/><dir name="Map"><file name="Geomap.php" hash="3821ff82dd0e2037ffed5b1f482e7e9c"/></dir></dir><dir name="Widget"><dir name="Map"><file name="Selector.php" hash="d3c9eba22a61d6042755ce52142a2566"/></dir><dir name="Marker"><file name="Chooser.php" hash="7f6e16e50100c6936206c53c02c34b41"/></dir></dir></dir><dir name="Map"><file name="Abstract.php" hash="bbed01efc8f7c82edd64a8d15f6395c3"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="5c607322b69e192c96e366d2682fae71"/><dir name="Adminhtml"><dir name="Worldmap"><file name="OnlineController.php" hash="fc0d374330e9291f7f708e4e5204db20"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7e3274c2487c9f49fc6cb1a056342ff4"/><file name="config.xml" hash="f72391ed1ae01659eba01458e434c908"/><file name="system.xml" hash="eebca351759da13dacd0f15a152768a6"/><file name="widget.xml" hash="61a72497df972e2009df7b56b84e449e"/></dir><dir name="Helper"><file name="Data.php" hash="cb91df6e8ce5572afc3170908cec2710"/></dir><dir name="Model"><file name="Ip.php" hash="
|
66 |
<compatible/>
|
67 |
<dependencies/>
|
68 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Pz_WorldMap</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">Academic Free License (AFL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Online user's world map, show who is online and where they are.
|
11 |
|
12 |
Widget for google map.</description>
|
13 |
+
<notes>v 1.1.2
|
14 |
+
enable ip detect for shell scripts
|
15 |
+
|
16 |
+
v 1.1.1
|
17 |
fix issue of region map in back end
|
18 |
|
19 |
v 1.1.0:
|
63 |
v 0.5:
|
64 |
first release package</notes>
|
65 |
<authors><author><name>Cheng Wei</name><user>auto-converted</user><email>berlios.o@gmail.com</email></author></authors>
|
66 |
+
<date>2011-07-03</date>
|
67 |
+
<time>15:20:44</time>
|
68 |
+
<contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="customer-flag.png" hash="8f33bab9b0c154462489b35140f29fae"/><file name="guest-flag.png" hash="47c715944bf946fd0cd9528cd8a016ae"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="customer-flag.png" hash="8f33bab9b0c154462489b35140f29fae"/><file name="guest-flag.png" hash="47c715944bf946fd0cd9528cd8a016ae"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="worldmap.xml" hash="3fab0c27e33a33a0b86a258af59566d6"/></dir><dir name="template"><dir name="worldmap"><dir name="info"><file name="geomap.phtml" hash="090e5dd9fbf704864c0c5488fa5c6fbe"/></dir><dir name="map"><file name="country.phtml" hash="09af492944ab3d363371f271db2da59c"/><file name="marker.phtml" hash="834af87c67cf2f14dacf03a175d57788"/><file name="region.phtml" hash="65216785a0a95545890273b2ef314c96"/></dir><dir name="page"><file name="head.phtml" hash="0845e0a7a2d3f323164ebace4d924458"/></dir><dir name="widget"><dir name="map"><file name="selector.phtml" hash="288254500d326f7666d98667c43ca2a1"/></dir><dir name="marker"><file name="container.phtml" hash="1f3708de3e776a59ab32b123df50b15b"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="worldmap.xml" hash="3125174c306ac57e2a31b554b2a5666b"/></dir><dir name="template"><dir name="worldmap"><file name="map.phtml" hash="98c21afd0f5000a45b3cd5983a2b7619"/><file name="online.phtml" hash="c9c1af2b4d0dca3496275aa646ff300d"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="map"><file name="markerclusterer.js" hash="888ca22432babba0581ef0556cce0f6d"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pz_WorldMap.xml" hash="830c817474800247b94067a37c0dcb94"/></dir></target><target name="magelib"><dir name="PEAR"><dir name="Net"><dir name="GeoIP"><file name="DMA.php" hash="3041b17a8aab69ec3b63c017f1a0432d"/><file name="Location.php" hash="ddb36e4e7cacc2a50b67192a0eb79663"/></dir><file name="GeoIP.php" hash="e7bec2e088af4b24a27864f50a473b88"/></dir><dir name="PEAR"><file name="Exception.php" hash="f364e75223744d460a6bb08420ac94f9"/></dir></dir></target><target name="magecommunity"><dir name="Pz"><dir name="WorldMap"><dir name="Block"><file name="Links.php" hash="98cb18aa80b6e1addee1e09208baa1b6"/><file name="Map.php" hash="3d6d9a2344325adad25470fbfa92f30a"/><file name="Online.php" hash="891861764c00906bce6880f877dc901f"/><dir name="Adminhtml"><dir name="Online"><file name="Tabs.php" hash="d5b84909747d829fb70f166ffa70ac0e"/><dir name="Map"><file name="Geomap.php" hash="3821ff82dd0e2037ffed5b1f482e7e9c"/></dir></dir><dir name="Widget"><dir name="Map"><file name="Selector.php" hash="d3c9eba22a61d6042755ce52142a2566"/></dir><dir name="Marker"><file name="Chooser.php" hash="7f6e16e50100c6936206c53c02c34b41"/></dir></dir></dir><dir name="Map"><file name="Abstract.php" hash="bbed01efc8f7c82edd64a8d15f6395c3"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="5c607322b69e192c96e366d2682fae71"/><dir name="Adminhtml"><dir name="Worldmap"><file name="OnlineController.php" hash="fc0d374330e9291f7f708e4e5204db20"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7e3274c2487c9f49fc6cb1a056342ff4"/><file name="config.xml" hash="f72391ed1ae01659eba01458e434c908"/><file name="system.xml" hash="eebca351759da13dacd0f15a152768a6"/><file name="widget.xml" hash="61a72497df972e2009df7b56b84e449e"/></dir><dir name="Helper"><file name="Data.php" hash="cb91df6e8ce5572afc3170908cec2710"/></dir><dir name="Model"><file name="Ip.php" hash="643cf8525a9e9af7531cccf2011cd881"/><file name="Observe.php" hash="dd9e9487d5d17a4ade1c5784e20b2601"/><file name="Visitor.php" hash="65ab2dc020e82ab51dc19d5f6a9519f5"/><dir name="Entity"><file name="Setup.php" hash="5a8ce3adef8cf0389c16d9bae073e1a8"/><file name="Visitor.php" hash="8e17410114896ad10bc9a0c1e8bb3518"/><dir name="Visitor"><file name="Online.php" hash="c38d1dd15e4b63fbc45696c8e80f741a"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Region.php" hash="4f4f07e53521b7a7e408c67a912346f0"/></dir></dir></dir></dir><dir name="sql"><dir name="worldmap_setup"><file name="mysql4-install-0.1.0.php" hash="1228c98bf7b826922f62892bb87e46c8"/><file name="mysql4-upgrade-0.1.0-0.8.0.php" hash="db893e0bd0fd8cf1ac21d7af923c8d02"/><file name="mysql4-upgrade-0.9.6-1.0.0.php" hash="a6639ea73faf46ddad49316969373248"/></dir></dir></dir></dir></target></contents>
|
69 |
<compatible/>
|
70 |
<dependencies/>
|
71 |
</package>
|