Pz_WorldMap - Version 1.1.0

Version Notes

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

Download this release

Release Info

Developer Magento Core Team
Extension Pz_WorldMap
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.9 to 1.1.0

app/code/community/Pz/WorldMap/Model/Ip.php CHANGED
@@ -8114,7 +8114,7 @@ class Pz_WorldMap_Model_Ip extends Mage_Core_Model_Abstract {
8114
  $result['latitude'] = $data['latitude'];
8115
 
8116
  $result['country'] = $data['countryCode'];
8117
- $result['countryName'] = Zend_Locale::getTranslation($result['country'], 'country');
8118
 
8119
  $result['region'] = isset($data['region']) ? $data['region'] : '';
8120
  $result['city'] = isset($data['city']) ? $data['city'] : '';
8114
  $result['latitude'] = $data['latitude'];
8115
 
8116
  $result['country'] = $data['countryCode'];
8117
+ $result['countryName'] = Mage::app()->getLocale()->getCountryTranslation($result['country']);
8118
 
8119
  $result['region'] = isset($data['region']) ? $data['region'] : '';
8120
  $result['city'] = isset($data['city']) ? $data['city'] : '';
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pz_WorldMap</name>
4
- <version>1.0.9</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,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.0.9:
 
 
 
14
  fix router in admin
15
 
16
  v 1.0.8:
@@ -54,9 +57,9 @@ v 0.6:
54
  v 0.5:
55
  first release package</notes>
56
  <authors><author><name>Cheng Wei</name><user>auto-converted</user><email>berlios.o@gmail.com</email></author></authors>
57
- <date>2011-01-28</date>
58
- <time>12:51:12</time>
59
- <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="053c87aaf144dbecf02d46c45fe38926"/><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="cede4be57c22a5f45cc2a80f129cfb33"/><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>
60
  <compatible/>
61
  <dependencies/>
62
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pz_WorldMap</name>
4
+ <version>1.1.0</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.0:
14
+ fix locale issue
15
+
16
+ v 1.0.9:
17
  fix router in admin
18
 
19
  v 1.0.8:
57
  v 0.5:
58
  first release package</notes>
59
  <authors><author><name>Cheng Wei</name><user>auto-converted</user><email>berlios.o@gmail.com</email></author></authors>
60
+ <date>2011-05-18</date>
61
+ <time>14:20:40</time>
62
+ <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="053c87aaf144dbecf02d46c45fe38926"/><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="2ac31ad1f8b741dc5dd980755cc0971d"/><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>
63
  <compatible/>
64
  <dependencies/>
65
  </package>