Geo SlimStat – WP-SlimStat-Ex Pin

English document??

이번에 새로 추가된 GeoSlimStat Pin입니다. 여타 통계프로그램에도 자주 등장하는 Google Maps 를 이용해서 방문자의 위치정보를 지도위에 표시해 주는 기능을 하죠.

개요

  • 이 Pin은 Christoph LupprichGeoMint 에 그 기반을 두고 있습니다.
  • Google Maps를 이용하므로 해당 API 키가 필요합니다.
  • 방문자의 IP 를 이용해 위치정보를 얻어오는 기능은 HostIP.info 서비스를 합니다.
  • 해당 정보에 도시(City)정보가 없을 경우, 해당 나라의 임의의 좌표를 이용하게 됩니다.
  • 일반적인 풍선아이콘(marker.png)은 해당지점의 한 방문객을, 숫자가 표시된 아이콘(marker14.png) 해당 지점에 여러 방문객이 있을 때 표시됩니다. 후자의 경우 대부분 도시(City)정보가 없어 임의의 지점에 표시된 방문객 입니다.

설치

  • wp-slimstat-ex-pins.zip 파일을 내려받아 압축을 풀면 GeoSlimStat 이라는 폴더가 있습니다. 그 폴더를 wp-slimstat-ex/pins 폴더에 업로드 하세요.
  • SlimStat 설정화면의 Pins 메뉴로 이동하면 Pin목록에 Geo SlimStat이 추가되었을겁니다. 해당 Pin을 활성화(Activate)시키세요.
  • 같은 화면의 아랫쪽에 보면 Pin 개개의 설정을 지정하는 부분이 있습니다. 그곳에서 아래 설정 부분을 참고해서 자신의 설정에 맞게 수정 입력합니다.
  • SlimStat 통계 페이지로 이동하면 “Geo SlimStat” 이라는 메뉴가 새로 생겼을 겁니다.

설정

  • geoslimstat-options.jpg
  • Google Map API Key: 이 Pin은 Google Maps 를 이용하므로 해당 API 키가 있어야만 제대로 작동하게 됩니다. API 키가 없으신 분께서는 이 곳에서 API 키를 발급받으세요.
  • Limit Quries: 지도에 표시될 방문객의 수를 지정합니다. 너무 큰 값을 지정하면 PHP실행 제한시간에 걸려서 오류화면이나 빈 화면을 보게됩니다. 30정도로 지정해 보고 무리가 없다면 그 이상을 입력하세요.
  • Wheel Zoom: 마우스 휠을 이용해 지도를 확대 축소합니다. 기본적으로 더블클릭하면 해당 위치를 기준으로 확대가 되므로, 꼭 이 기능을 이용할 필요는 없습니다.
  • Center Type: 지도의 중앙을 지정하는 방식입니다. 분석한 방문객 좌표의 평균값을 사용(Average point of visitors), 자신이 지정한 좌표(Point I set below)를 중앙으로 하는 방법의 두가지가 있습니다. 더불어 처음 표시될 지도의 확대 정도를 지정 할 수 있습니다. 너무 큰 확대값을 입력하면 한눈에 확인하기 힘드니 2~5정도 값을 입력하는게 좋습니다.
  • Starting Center: ‘Center Type’ 에서 후자를 선택했다면 이곳에서 좌표를 지정 할 수 있습니다. 자신이 원하는 곳의 좌표를 알아내는 방법은
    과 같은 정보를 출력해 줍니다 (위치부분에 한글은 인식을 못하더군요). 쉼표로 구분지었을 때 3번째가 위도(Latitude)값이고 4번째가 경도(Longitude)값입니다.
  • Purge Negatives: 도시(City)정보가 없는 방문객의 경우 hostinfo 서비스에서 매번 정보를 얻어오는 작업을 하지 않기위해 목록을 만들어 관리합니다. 이 부분에서는 그 목록이 유지되는 기간을 날짜 단위로 지정합니다.

 

Features

  • This Pin is based on GeoMint by Christoph Lupprich
  • This Pin requires Google Maps API key.
  • Geo SlimStat queries HostIP.info for its IPs and responding coordinates(geocode)
  • When geocode and city values are empty, Geo SlimStat will set any point within their coutry.
  • Marker icon has any number on it’s inside(marker14.png) means there’s multiple visitors on that point (usually visitors has ‘unkown city’ value). Else(marker.png), one visitor per one marker icon.

Installation

  • Upload GeoSlimStat shipped in wp-slimstat-ex-pins.zip to wp-slimstat-ex/pins folder.
  • Go to SlimStat options > Pins and activate ‘Geo SlimStat’
  • Setup your Geo SlimStat on the lower part of that page refer to ‘Configuration’ below.
  • Now, you can see the ‘Geo SlimStat’ panel on your SlimStat page.

Configuration

  • geoslimstat-options.jpg
  • Google Map API Key: Enter your Google Maps API Key. You can get one at HERE
  • Limit Quries: The number of quries for getting location of visitors. Try 30 first, then 50 or more. If your Geo SlimStat shows blank page, set this with lower value.
  • Wheel Zoom: Zoom with mouse wheel. You also can use double click zoom without wheel zoom.
  • Center Type: Select how to get center of the map. Average point of visitors or custom position you set on “Starting Center”. Set zoom level (default : 2)
  • Starting Center: Set you custom center coordinates ‘Center Type’ . You can get your custom coordinates with

    The third value is latitude and 4th value is longitude.
  • Purge Negatives: When ip-to-geocode result from Hostip.info was empty, Geo SlimStat will append the IP to negative list. You can purge the negative list every xxx days (0 means no purge).

스크린샷 – Screenshots

geoslimstat-screenshot1.jpggeoslimstat-screenshot2.jpggeoslimstat-screenshot3.jpg

26 thoughts on “Geo SlimStat – WP-SlimStat-Ex Pin”

  1. I’m finding that I’m having more and more issues with plugins, especially the ones that use external feeds or look-ups. My hosting company suspended my account for taking up too much CPU resource. Turns out it was a related posts plugin. Not happy !

  2. well, it is not important but I consider it a nice improvement. maybe you’ll merge it into the next version? right now I have 5-6 installations of your plugin, and no time to modify them all, I’ll give it a try these days.

  3. ovidiu//
    Sorry about that, I’ll suggest you an easy method.

    Open wp-slimstat-ex-config.php and replace var $plugin_home with below.

    var $plugin_home = 'http://082net.com/tag/wp-slimstat-ex/?orderby=modified';

  4. one more general question: when going to my wp-slimstat admin panel it says: There is a plugin update available

    couldn’t you modify that so that it also tells me which one has been updated?
    I have no clue which one and have been browsing your site for half an hour now;-)

    thx

  5. thx. no pin activation problems anymore.
    but I see nothing – not even an empty map. I guess this will change after I receive some visitors on this testsite.

  6. ovidiu//
    Finally, I found the problem, it was due to PHP version.
    This plugin check parent class for each Pins with ‘SSPins’ but PHP 4 returns ‘sspins’ for Pin’s parent class name (lowercase).

    I just fixed the problem and updated the plugin(v1.605).

    I hope this patch works.

  7. I know what you mean, but I used their control panel (aka eaccelerators control panel…)

    I can try again disabling from php.ini during this weekend…

  8. ovidiu//
    Did you checked eaccelerator is really disabled when you insert two lines? Some PHP settings does not applied to individual host until the sever reset.

  9. I activated geo pin manually via phpmyadmin, but the config screen doesn’t open so I can input my google api. where exactly can I input it manually with phpmyadmin?

  10. ovidiu//
    You better manually activate each Pins from phpmyadmin until I find a right solution. I’ll wait for someone else has the same problem like you.

    p.s. How was your testing for deactivating all other plugins?

  11. too late right now, I’ll try that tomorrow. I can also set those two options from my admin control panel.

    WAIT! I just realized, I have other pins activated. I tried activating another inactive one and get the same error….strange enough those activated pins do work… so it seems like if I would activate them manually somehow, maybe using phpmyadmin and insertign the right code somewhere they would work. it seems they just don’t pass whatever test you do to them:-)

  12. Yeah, now you can delete your address:-)

    And here’s one more question. Have you tried re-activate other Pins? Is GeoSlimStat the only one cannot be activated or all other Pins cause the same error?

    I could not found any problem with your server environment but eAccelerator.
    Add these two line to top of your .htaccess file
    [code]php_flag eaccelerator.enable 0
    php_flag eaccelerator.optimizer 0[/code]

    You can safely remove those two lines after the testing.

  13. First, open wp-slimstat-ex-options.php and un-comment line 69
    [code] require_once(SLIMSTATPATH . ‘lib/pins.php’);[/code]

    And, deactivate all other plugins and see if it’s working.

    If it does not work, you can mail me from about page:-)

  14. sorry I cannot offer that from here, am at work right now, but I am on my own server and I assure you, php safe mode is off. But I have a wp plugin that gives me php_info, can I send the info somewhere to you by mail? that way it won’t have to wait another 8hours:-)

  15. thx a lot.
    I am on wp 2.2.2. – have not had the time to upgrade yet, but your fix helped. BUT when I try to activate this new Geo Slimstat Pin I get this error:

    This pin does not work with WP-SlimStat-Ex v1.604

  16. BGH Quiz//
    You wrote same comment on previous post.

    ovidiu//
    Is your WP version v1.5.x?

    I’ve tested SlimStat-Ex 1.6 on WP 2.2.3, 2.0.11 and there was no such error message like you.

    I just tested with WP 1.5.2 on the off chance and the same error occured.

    I just fixed it and updated new version but I don’t know why this error occured:(

  17. same thing over her: your new version says:

    WP-SlimStat-Ex needs upgrade but when I clikc on upgrade I get this error:

    Fatal error: Call to a member function on a non-object in /var/www/web40/web/wp-content/plugins/wp-slimstat-ex/lib/ss-admin/upgrade.php on line 17

    and when I click on pins on its option tab I get:
    Fatal error: Undefined class name ‘sspins’ in /var/www/web40/web/wp-content/plugins/wp-slimstat-ex/wp-slimstat-ex-options.php on line 344

    delete old database gives: Fatal error: Call to a member function on a non-object in /var/www/web40/web/wp-content/plugins/wp-slimstat-ex/lib/ss-admin/admin.php on line 15

    It seems completely broken for me:-(
    any help is appreciated.

  18. This was a great plugin until I installed the new version. First the old statistics I had deleted before, but were saved to be kept on counting, were deleted. Okay. I did not mind, I knew I had had about 70000 visits, that was enough to know.

    But now the plugin has stopped working all of the sudden over night. I have no idea what happened. I have optimized and repared the database, done everything I could think of, deleted old data again and whatever. It is simply not working anymore.:(

Comments are closed.