Skip to content


gcStats

gcStats is a plugin that focuses on GeoCaching and displays some Statistics in your blog.

  • NEW! Display your geocaches using the osm plugin by Michael Kang on a map
  • using shortcodes to add Statistics to your Blog
  • add a widget to your sidebar which displays types of caches you have found
  • Use Flash or HTML to visualize your Statistics
  • Simply upload your myFinds-GPX-File from geocaching.com and insert shortcodes

Download at Wordpress.org : http://wordpress.org/extend/plugins/gcstats/

Some Examples:

Total Number of myy Finds: 27

Uses the Shortcode: [ GCSTATS type="total" ]

Total Number of my FTF’s: 1

Uses the Shortcode: [ GCSTATS type="countftf" ]

My last 5 Finds:

GC1KNMY21.06.2009
GC1N32809.04.2009
GCPEG205.04.2009
GCR8DB21.03.2009
GC1CYRP15.03.2009

Uses the Shortcode: [ GCSTATS type="lastfounds" number="5" ]

Biggest distance : GC1KNMY (950.5 km)

Shortcode: [ GCSTATS type="maxdist" lat="48.957817" lon="8.466883" ]

Different Container:

Not chosen
2 (7.4%)
Small
4 (14.8%)
Regular
7 (25.9%)
Micro
14 (51.9%)

Shortcode: [ GCSTATS type="container" ]

Different Container (flash-Version):

Shortcode: [ GCSTATS type="container" useflash="yes" ]

Different Types:

Event Cache
1 (3.7%)
Multi-cache
2 (7.4%)
Unknown Cache
5 (18.5%)
Traditional Cache
19 (70.4%)

Shortcode: [ GCSTATS type="type" ]

Different Types (flash-version):

Shortcode: [ GCSTATS type="type" useflash="yes" ]

Finds on Weekdays:

Sat
15 (55.6%)
Sun
7 (25.9%)
Wed
2 (7.4%)
Thu
2 (7.4%)
Tue
1 (3.7%)

Shortcode: [ GCSTATS type="weekdays" ]

Finds on Weekdays (flash-version):

Shortcode: [ GCSTATS type="weekdays" useflash="yes" ]

Difficulty/Terrain-Matrix :

Terrain
Difficulty
11.522.533.544.55
1911010000
1.5003001000
2312000000
2.5100000000
3001010000
3.5000010000
4010000000
4.5000000000
5000000000

Shortcode: [ GCSTATS type="matrix" ]

Map  ( Uses the OpenStreetMap-Plugin by Michael Kang)

Shortcode: [ osm_map import="gcstats,gcAccountName"]

Please install the OSM-Plugin by Michael Kang additionally to display this map.

Future Plans (Please use comments to add your wishes here):

  • Google-Map
  • Durchschnitt Terrain/Schwierigkeit
  • Besondere Funde
  • Detailview of found Caches
  • Integration with CacheJudge.com

Installation:

  • Plugin herunterladen Download bei Wordpress.org : http://wordpress.org/extend/plugins/gcstats/
  • Wie jedes andere Plugin installieren und aktivieren
  • Im neuen gcStats-Menü gpx-Datei 123456789.gpx hochladen
  • Neue Seite erstellen und obige Shortcuts einfügen
  • (Bitte) Kommentar auf dieser Seite schreiben

Update:

  • Zur Zeit gibt es noch keinen Update-Mechanismus für dieses Plugin, dieser ist aber geplant und wird in einer der nächsten Versionen kommen, solange zum Updaten: Plugin deaktivieren
  • Plugin komplett löschen
  • Neues Plugin wieder installieren

Plugin-Changelog:

Version: 0.11b Veröffentlicht am: 1. April 2009

  • sortierte Ausgabe der Cachetypen (HTML)
  • Sidebar-Widget

Version: 0.12b Veröffentlicht am: 3. April 2009

  • Widget Titel und Breite editierbar

Version: 0.14b Veröffentlicht am: 30. April 2009

  • OSM-Plugin Support

Version: 0.2.0 Veröffentlicht am: 3. Mai 2009

  • Veröffentlicht bei Wordpress.org

Version: 0.2.1 Veröffentlicht am: 3. Mai 2009

  • Verzeichnisname des Plugins geändert (Groß->Kleinschreibung)

Version: 0.2.2 Veröffentlicht am: 26. Mai 2009

  • Einige Aufräumarbeiten und Verbesserungen, vor allem beim Update-Mechanismus
  • Beginn der Integration von CacheJudge.com-Bewertungen, zur Zeit nur im Backend sichtbar
  • Nach dem Update ist unter Umständen eine Reaktivierung des Plugins notwendig (Deactivate and Activate this Plugin)
Share me:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Technorati
  • MisterWong.DE
  • Reddit
  • Tumblr
  • Twitter
  • Webnews.de

31 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Collin says

    Michael. Thanks for the plugin! I have a small problem, when trying to upload the my-finds.gpx I get the following error(s):

    ————-
    Warning: simplexml_load_file() [function.simplexml-load-file]: :1: parser error : Start tag expected, ‘<’ not found in /home/collinf/public_html/wp-content/plugins/gcstats/classes/GpxDocument.php on line 295
    ————-

    Any ideas?

  2. Collin says

    Hi Michael. Got it working – I had tried to upload the ZIP instead of the GPX. It’s working now at http://www.cornellfinch.com/geocaching/

    Thanks for a cool plugin!

    A couple of ideas:

    1. Can we have the Cache Name as well as the GC code in the last 5 found?

    2. Widget that simply shows number of finds/hides and a quick link to the GC profile. As well as the type breakdown of course. :)

  3. geomarc says

    the plugin works not under PHP 4. So i can’t use the stats. If its possible change it and i will smile ;-)

  4. michael says

    Sorry, this plugin will never work under PHP4 as the simpleXML-Module of PHP needs PHP5. (and gcStats needs simpleXML)
    http://de3.php.net/manual/de/simplexml.requirements.php

    Why don’t upgrade to PHP5?

  5. geomarc says

    Because of my very old contract with Hosteurope. To change to PHP5 i need to switsch my contract and pay more then now.

    thx for your answer …

  6. meatmanfamily says

    Hallo

    wie benutzte ich den die Shortcuts?

    mfg

    meatmanfamily

  7. michael says

    Hallo,

    Eine genaue Beschreibung der Shortcodes folgt in Kürze, bitte benutzt bis dahin die auf dieser Seite vorgestellten Codes. (Oder guckt in den Code ;-) )

  8. Collin says

    Hi Michael

    Two things:

    1. Would it be possible to write the “updates” in English as well as German so that us uneducated can read them too?

    2. I have just tried to upload my latest “myFinds” GPX using the latest version of the plugin and it failed with quite a number of database errors. I disabled the plugin and when re-enabling it I got

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1]
    1

    Any ideas? Thanks!

  9. Robert says

    hi,

    ist es möglich, das tool auch für php4 verfügbar zu machen?
    fände es nicht soooo toll, wenn ich meinen webserver komplett umstellen muss

    gruß

    robert

  10. heeshunter says

    Hallo Michael,

    ich hab mal ne Frage zu deinem Plugin: Ich würd es auch sehr gerne nutze, allerdings muss ich ja, um diese MyFinds.gpx zu bekommen, Premium Memeber auf GC.com sein, oder?
    Wenn ich mir den jetzt für 3 Monate hole, hab ich ja nicht lange was von dem Plugin, oder? Ich muss doch nach jedem neuen Fund die gpx-Datei neu hochladen, oder?
    Vielen Dank schonmal!

    Grüße,
    heeshunter

  11. michael says

    Hallo heeshunter,

    Ja, Du musst Premium Member sein, anders kannst Du keine Pocket Queries erzeugen. Bei 3 Monaten Premium Member (geht das überhaupt?) kannst Du also 12 mal (=12 Wochen) diese Pocket Query erzeugen und die Datei dann im Plugin hochladen.
    Leider gibt es keine (legale) andere Möglichkeit, an Deine Funde heranzukommen. Einen RSS-Feed lehnt GC.com leider ab..

    Grüsse, Michael

  12. JeeSee says

    Hello,

    I think it’s a great plugin for WP, but I can’t get it working. After installation I can upload my .GPX-file, But than the screen blanks and nothing happens. Clicking the “Back”-button returns to the upload screen.. What am I doing wrong?

  13. JeeSee says

    After sharing some tips with Michael, the problem was solved: just needed rights on the upload folder:
    chmod -R 777 path/to/wordpress/wp-content/plugins/gcstats/upload

    After that it works perfectly!

  14. Holger says

    Hallo Michael,
    habe endlich mal dein Plugin eingerichtet und hänge aber noch an einem kleinen Problem mit der OSM-Karte. Wenn ich als Shortcode [ osm_map import="gcstats, Warstein"] verwende, bekomme ich zwar die Karte angezeigt, aber die Caches sind nicht enthalten (obwohl das Overlay “GeoCache” als vorhanden angezeigt wird). Wenn ich das Leerzeichen wegmache, so wie du es hier auch angibst, läd die gesamte Seite gar nicht erst.
    Woran kann das liegen?

    Grüße,
    Holger

    • MiKa says

      @Holga:
      Für das Nichtanzeigen der Caches kann es unterschiedliche Gründe geben zB:
      * die Caches liegen ausserhalb des des angezeigten Bereiches
      * der Username ist falsch (in dem Fall “Warstein”)
      Kannst Du einen Link zu Deinem posting/page mit der Karte posten/mailen?
      gtx, MiKa

  15. silmares says

    Wie wärs mit einer Mehrbenutzer-Unterstützung?
    Unser Blog wird von zwei Personen befeuert und ich hätte die Stats gerne für beide getrennt dargestellt.

    Danke!

  16. derhenry says

    Hallo,
    schönes Plugin, die Flash-Grafiken gefallen. Aber kann man nicht einfach auf die Überschrift verzichten? Ich mag das Denglisch nicht so wirklich. Und die Karte funktioniert nicht wirklich, obwohl das andere Plugin auch läuft.

    • michael says

      Hallo Henry,
      Auf die Überschrift kann man verzichten. Man muss dazu nur das Attribut title=”" einfügen.
      Beispiel: [GCSTATS type="container" title="" useflash="yes" ]

      Leider habe ich keine Gewalt über das Karten-Plugin, wenn zuviele Daten verarbeitet werden sollen, spielt das JavaScript verrückt (braucht zulange).
      Habe den Autor schon mal angeschrieben deswegen, habe aber keine Rückmeldung bekommen, auch ein Update kam schon lange nicht mehr.

      • derhenry says

        Hallo Michael,

        danke für die schnelle Antwort. So klappt es. Gibt es noch irgendwelche “geheimen” Attribute oder Tags? :)

  17. Mitch Wayne says

    Hi Michael–

    Greetings from Arizona. I’m trying to use your gcStats plugin, and I see an instruction to upload the myFinds-GPX-File from geocaching.com and insert shortcodes. Where do I upload this to? Thanks for creating the plugin

  18. Mitch Wayne says

    OK – figured out how to upload the file. Now, how to enter the short codes…

  19. DelBoy says

    Hi Michael,

    Great plugin now that I got it to work!

    A request: Any chance of a shortcode that will display the date that the pocket query was run?

    Thanks
    Del

  20. bobrodzo24 says

    [url=http://acquisto-viagra.espacioblog.com]acquisto viagra[/url] does medicare cover viagra , [url=http://compra-viagra.lacoctelera.net]compra viagra[/url] online viagra increase fertility sildenafil citrat , [url=http://cialis-vendita.espacioblog.com]cialis vendita[/url] order cialis uk , [url=http://acquisto-cialis.espacioblog.com]acquisto cialis[/url] best price on cialis , [url=http://acquista-levitra.espacioblog.com]acquisto levitra[/url] levitra and dog , [url=http://acheterviagra.espacioblog.com]acheter viagra[/url] viagra vietnam , [url=http://acheter-cialis.espacioblog.com]acheter cialis[/url] super cialis active review , [url=http://acheter-levitra.espacioblog.com]acheter levitra[/url] levitra diabetic , [url=http://comprar-viagra-es.espacioblog.com]comprar viagra[/url] buy viagra here in the uk , [url=http://comprar-cialis-es.espacioblog.com]comprar cialis[/url] vendita cialis , [url=http://comprar-cialis-es.espacioblog.com]comprar levitra[/url] 2buy cheap levitra online , [url=http://valium.viviti.com]buy valium online[/url] prilosec valium interactions .

  21. Pascali says

    Hi Michael,

    I got it working, I can upload myfind, I can see my finds….. so everything is working i guess. But the shortcodes don’t work. For example when I use [ GCSTATS type="lastfounds" number="5" ] in the htm-section off a post it shows [ GCSTATS type="lastfounds" number="5" ] in the post and not the result off the shortcode. Is there someting that I’m doing wrong.

    • michael says

      Hi Pascali,

      Do you have a whitespace between the [ and GCSTATS ? If yes, please remove it and try again.

  22. snowsurfer says

    hallo,
    tolles plugin – aber die farben bei der Difficulty/Terrain-Matrix ist hässlich – bitte ändern!

  23. BrewYet says

    What file, or where do I put in the short codes?

    • BrewYet says

      Never mind I found it, I was trying to change the sidebar widget

  24. BrewYet says

    I did notice one problem lettercache.gif needs to be renamed letterboxhybrid.gif

  25. Stefan Schmalhaus says

    The widget only displays a single bar with the number of found caches and the percentage “100%” which is not very useful. Isn’t the widget supposed to display the same as [GCSTATS type="container" ]?

    I tried the [GCSTATS type="container" ] code in the regular WP text widget but the code gets rendered as normal text.

Continuing the Discussion

  1. WordPress Plugin Releases for 05/05 | BlogBroker24-7 linked to this post on %A %B %e%q, %Y

    [...] gcStats [...]



Some HTML is OK

or, reply to this post via trackback.