Modules: ClustrMaps integration - v.1.7
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
ClustrMaps Sidebar module - allows adding small map of visitor to your site. Quote:
Do you know your audience? You will with ClustrMaps! Visitors don't need to click on anything: just viewing your page is sufficient. We provide (free) the HTML that gives you a tiny map, like the one on the left. When it loads, it increments a counter and shows the locations of all visitors to your page, cumulatively (even for huge numbers). Clicking on it zooms in to a big world map, and (optionally) lets you zoom in to the continents, as in the example above. --- |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Thanks for the contribution! Dave |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Yes, when you register and generate the html, you would notice that there is two parts in it: User id is part of initial link: Quote:
<a href="http://www4.clustrmaps.com/user/... Site id is part of the image reference: Quote:
<img src="http://www4.clustrmaps.com/stats/maps-no_clusters/....-thumb.jpg |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
New version is available. |
|
davibou
Joined: 2010-02-15
Posts: 5 |
![]() |
Hi, I rencently install the RC1 and wan't your module to work but i can't. I installed your module as mentioned in the wiki, registered at ClustrMaps but when i add the html code in the module config it doesn't work. In the module i only have a part of the link i paste in the config but not the map picture. I check my php config to allow url open but doesn't fix. So i check the link In the clustrMaps admin i choose the second link: Quote:
<a href="http://www3.clustrmaps.com/user/XXXXXX"><img src="http://www3.clustrmaps.com/stats/maps-no_clusters/www.XXXXX.XX-gallery3--thumb.jpg" alt="Locations of visitors to this page" /> and in the block it show à link like this: Quote:
\"Locations If i click this link i get an error Quote:
Kohana_404_Exception [ Page Not Found ]: The page you requested, \"http:/www3.clustrmaps.com/counter/maps.php?url=http://www.XXXXX.XX/gallery3/\", could not be found. And if i simplified the link this way nothing is shown: Quote:
<a href="http://www3.clustrmaps.com/user/XXXXXX"><img src=\'http://www3.clustrmaps.com/stats/maps-no_clusters/www.XXXXXX.XX-gallery3--thumb.jpg\'></a> Another bug when i modify the link in the admin the html code is parsed everytime i save. Quote:
<a href=\\\"http://www3.clustrmaps.com/user/XXXXXX\\\"><img src=\\\'http://www3.clustrmaps.com/stats/maps-no_clusters/www.XXXXX.XX-gallery3--thumb.jpg\\\'></a> Any idea Regards David |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
I do not do anything special about the code |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Fixed. Please get latest version. |
|
davibou
Joined: 2010-02-15
Posts: 5 |
![]() |
Thanks it work well |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
version 1.6 released - sync update between all my modules for admin panel |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Hi Serge, I've installed the latest version 1.6 but when trying to enter the settings"tab" i get the following message: Exception [ 0 ]: @todo CLUSTRMAPS_NOT_CONFIGURED 1. MODPATH/clustrmaps/helpers/clustrmaps.php[ 39 ] MODPATH/clustrmaps/controllers/admin_clustrmaps.php[ 24 ] » Clustrmaps_Core::init() 19 */ 3. {Appel interne PHP} » Admin_clustrmaps_Controller->index() MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( paramètres ) function_name array(2) ( parameters array(0) 57 5. {Appel interne PHP} » Admin_Controller->__call( paramètres ) controller_name string(10) "clustrmaps" args array(0) 6. SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( paramètres ) object array(1) ( args array(2) ( 326 7. {Appel interne PHP} » Kohana_Core::instance( paramètres ) 0 NULL 8. SYSPATH/core/Event.php[ 208 ] » call_user_func_array( paramètres ) function_name array(2) ( parameters array(1) ( 203 Event::$data =& $data; 9. APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( paramètres ) name string(14) "system.execute" 62 10. DOCROOT/index.php[ 102 ] » require( paramètres ) I must mention that i'm using G3 with Greydragon Wind theme. jofrari |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Hi Serge, I've installed the latest version 1.6 but when trying to enter the settings"tab" i get the following message: Exception [ 0 ]: @todo CLUSTRMAPS_NOT_CONFIGURED 1. MODPATH/clustrmaps/helpers/clustrmaps.php[ 39 ] MODPATH/clustrmaps/controllers/admin_clustrmaps.php[ 24 ] » Clustrmaps_Core::init() 19 */ 3. {Appel interne PHP} » Admin_clustrmaps_Controller->index() MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( paramètres ) function_name array(2) ( parameters array(0) 57 5. {Appel interne PHP} » Admin_Controller->__call( paramètres ) controller_name string(10) "clustrmaps" args array(0) 6. SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( paramètres ) object array(1) ( args array(2) ( 326 7. {Appel interne PHP} » Kohana_Core::instance( paramètres ) 0 NULL 8. SYSPATH/core/Event.php[ 208 ] » call_user_func_array( paramètres ) function_name array(2) ( parameters array(1) ( 203 Event::$data =& $data; 9. APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( paramètres ) name string(14) "system.execute" 62 10. DOCROOT/index.php[ 102 ] » require( paramètres ) I must mention that i'm using G3 with Greydragon Wind theme. jofrari |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Not very ellegant and may require some rework, but it is what it is |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Hi Serge, Not sure i understand your advice! jofrari |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
you should not be required to change any files |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Thanks Serge, i'll wait for your advice. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
version 1.7 released |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Thanks Serge for your imput, but where to download the jofrari |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
I have corrected the version number in codex page, but it was, in fact, 1.7 version |
|
jofrari
![]()
Joined: 2008-10-04
Posts: 17 |
![]() |
Hi Serge, Thanks a lot, it works perfectly and you'll have some jofrari |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Wonderful ;) |
|
Tessalief
Joined: 2009-07-18
Posts: 48 |
![]() |
Hello there Today i Registred at clustrmaps The site gave me those 4 codes but all 4 codes doesn't work. (sorry for taking the links and personal data out.) A] Recommended (good for most users) You have [img]http://ammg.web-chat.eu/clustrmap/serge.jpg[/img] on your site. But mine looks different. On the codex page I saw the following text: Download module using link above I only see this on my website. Please tell me what I do wrong I'm desperate again Yours |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
I have just this <a href="http://www4.clustrmaps.com/counter/maps.php?url=http://gallery.dragonsoft.us" id="clustrMapsLink" target="_blank"><img src="http://www4.clustrmaps.com/counter/index2.php?url=http://gallery.dragonsoft.us" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" /></a>
With some small modification, it is option B from the list above |
|
Tessalief
Joined: 2009-07-18
Posts: 48 |
![]() |
Thank you for your answer. Then I'll give it some time.. First I thought it has to do with a free account or a payed account. I go read more on http://clustrmaps.com/ Thanks again, Tes |
|
Tessalief
Joined: 2009-07-18
Posts: 48 |
![]() |
It worked with code B, then I delete 2 pending users in database and now my gallery is a white index page.. I can access the admin section, but the index page is " gone ". Dang... Something went wrong! Now I have to start all over again.... |
|