Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75499

FSGPlugin_CachesIAwardedFavoritePoint by The CEO - 2013-09-03

$
0
0
Using the Geocaching.com API, it is easy to retrieve a list of all caches you awarded a Favorite point to.
The plugin for FSG allows you to include this list in your FSG statistics.

Example screenshot of the output:
user posted image

v1.12

New in this version: Archived caches will be shown with strikethrough font.

Supported macro parameters

- "showfavpoints=true". This will add a column to the output, showing the total number of fav points each cache has been awarded. If not specified, the plugin will use the default "showfavpoints=false".
- "orderby=....". This allows you to sort the output table, e.g. sort by total awarded Favorite Points, cache name or cachetype. You must specify the order by using standard sqlite logic. Valid values to sort on are 'milestone', 'date', 'cache name' or simply 'name', 'cachetype', 'favpoints', 'country', 'state', 'county', 'code' and 'favpoints'. Specify "DESC" behind the parameter to sort descending instead of ascending. See the examples below to give you an idea of how to specify the sort order
- "limit=...". This allows you to display only a limited number of caches, instead of all the caches that you awarded a favorite point to.
- "sectionheading=false". This will disable writing the default section header "Caches I awarded a favorite point to"
- "showstate=true'.
By default the plugin shows the 'County' column and not the 'State' column.
If you prefer the 'State' column over the 'County' column, you can use 'showstate=true' to achieve this.
(if none of the caches have county data, the 'State' column will be shown automatically instead of the 'County' column).

Examples

CODE
<plugin>FSGPlugin_CachesIAwardedFavoritePoint</plugin>

---> Lists all caches you awarded a favorite point to.

CODE
<plugin>FSGPlugin_CachesIAwardedFavoritePoint?OrderBy=milestone DESC</plugin>

---> Lists all caches you awarded a favorite point to, sorted by the order you found them, with the most recent found cache at the top.

CODE
<plugin>FSGPlugin_CachesIAwardedFavoritePoint?OrderBy=FavPoints DESC&Limit=5&ShowFavPoints=TRUE</plugin>

--> Add a column with the total number of awarded favorites to each cache. Sort by that column, with the cache which is awarded most FavPoints on top. Show only the first 5 caches (so the top 5 of caches with most FavPoints awarded).

CODE
<plugin>FSGPlugin_CachesIAwardedFavoritePoint?OrderBy=cachetype, county&sectionheading=false</plugin>

---> Lists all caches you awarded a favorite point to, first sorted by cachetype, then by county. Do not show the default section heading.

Notes
- As this plugin uses the GC.com API, this macro will only work in GSAK V8 or later. It thus will not work in GSAK7 and earlier.
- The plugin requires at least version V4.3.03B of the FindStatGenerator macro, because in earlier versions there is no support for Favorite Points. That resulted in "Error=> SQLite Error 1 - no such column: FavPoints" errors for some users.
The macro will check whether the FSG version you use support Favorite Points. If not, you will get a message to update your macro.

As always, feedback and questions can be posted in the feedback thread for this plugin.

Viewing all articles
Browse latest Browse all 75499

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>