Geocaching Friends List Enhancements

By Lil Devil on July 19, 2010 – 6:18pm

This script does several things. It changes the "Found:" and "Hidden:" numbers on your Friends List into links that will take you to their lists of finds and hides. It sorts the friends list. It adds links to your friend's picture galleries and recent forum posts. And it tells you how many new finds and hides each of your friends have made since the last time you opened the page.

Sorting the Friends List

Install Install or update the script

Sort

You can sort your list of friends by a variety of attributes. The script will remember which sort order you chose and will use the same order next time you visit the page.

New Finds and Hides

If any of your friends have found of hidden any caches since the last time the friends list page was opened, a "new" ammo box will appear along with a list of friends, and how many new finds or hides they have. Click on the number to open a list of their finds or hides.

FriendsLinks

The "Found" and "Hidden" numbers will be changed from static numbers into links that will take you to the list of finds and hides for your friend. If there are any new hides or finds, that number will be shown in (parenthesis) next to the total.

In addition, new "Gallery" and "Forum Posts" links will be added to the page to take you to your friend's picture gallery and recent forum posts, respectively.

Note that the numbers on the Friends List page, and on the linked list pages may be different.

On the Friends page, it shows the total number of found caches, but when you click the link, the list of geocaches found does not include Locationless caches, and it only lists unique caches found. In other words, caches which were logged multiple times are only included once in the list. For some reason, the finds are currently only being shown on the Your Friends page but not on the Manage Friends page. If this changes, the script should detect it and start working automatically.

For the number of caches hidden, on the Friends page it shows the number of hides that are currently active (not archived) but the resulting list includes the archived ones. Usually. Sometimes they are totally different. I have not been able to figure out what it means. Apparently neither have the developers at Groundspeak. Hopefully someday they'll figure it out and fix this annoying bug. They have currently solved this problem by removing the hide count from the Friends List. When/if the hide count returns, the script should detect it and work with it again.

OptionsConfiguration

To make all the links on the Your Friends page open in a new window or tab, right-click on the Monkey Menu in the status bar, then select User Script Commands » Open Friends Links in a New Window or Tab?

It is advisable to turn this option on. The list of "new" finds and hides is based on the last time you viewed the page. If you click a link and it opens in the same window, then use the "back" button to go back to the friends page, the "new" numbers will be reset, because you last visited the page just a few seconds ago.

Version History

3.1 - 2010-07-19

  • Reworked to accommodate website changes.
  • Added error checking around the code that manipulates the hide and find counts. When those return to the website, the script should automatically handle them again.
  • A few code adjustments to support other languages on the website.

3.0 - 2010-02-26

  • Show change in number of hides and finds since last time the Friends List was opened. (Thanks to Olssonivallda for the idea and code.)
  • Added links to friend's galleries and forum posts.
  • More logical sort ordering. Forward and reverse now make more sense.
  • Better integration with the VIP List script.

2.1 - 2010-01-14

  • Better sorting of friends names that include letters with diacritics.

2.0 - 2010-01-12

  • Added feature to sort the Friends List.
  • Make all friends boxes the same height for better appearance.
  • Added similar functionality on the new Manage Friends page.
  • Reworked to accommodate website changes.

1.1 - 2009-01-16 - Fixed a problem with usernames that include an ampersand or other special characters.

1.0 - 2008-08-13 - Initial release.


It doesn't work...

It doesn't work... frown

Mezgrman – June 30, 2010 – 1:44am

It does now.

I just put out a fix. Hopefully it will be a while before Groundspeak breaks things again.

Lil Devil – July 19, 2010 – 8:41pm