Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+1 vote
785 views
Hi, since some days or weeks the custom quote is not shown in the statbar anymore.

I copied the right html-tag to my Profile, but the custom quote is not shown.

Also the option "include labcaches" does not work anymore. Since some weeks ago the statbar with included Labcaches did work. Beeing not a paying member seems to be not the problem, as a friend of mine is a paying member and has the same "problem".

Thanks for your support.

Heiko
in Bug reports by HWHA (130 points)
The error has been found and corrected - all links work now

2 Answers

+3 votes
From what I understand, this is a bug/caching issue at Geocaching.com. They are not saving the HTML as you enter it. The image is loaded via a proxy of theirs, which does not seem to respect the data-caching headers set.
by magma1447 (Admin) (241k points)
"caching issue at Geocaching... "
I've also often big caching issues, especially for >D3,5 or >T4,5 ;-)
This works for other stat bars where there is an additional comment such as their own one
@Deepdiggingmole I don't understand, can you elaborate. You seem to have seen something I haven't.

All I can see is that https://cdn2.project-gc.com/statbar.php?user=HWHA&includeLabcaches works, but https://imgproxy.geocaching.com/65ce6563c059b2a42662717ae8b8ac89cdb53911?url=https%3A%2F%2Fcdn2.project-gc.com%2Fstatbar.php%3Fuser%3DHWHA%26amp%3BincludeLabcaches%26amp%3Bquote%3DProfil%3A%2520coord.info%2FPRAEXKH%2520-%2520Klick%2520f%25C3%25BCr%2520Anzeige%2520der%2520Statistikseite. doesn't.

It seems to me like the image is uploaded as a static image, but I am not sure.

There is this related forum thread at Geocaching.com. But I haven't read it yet.
https://forums.geocaching.com/GC/index.php?%2Ftopic%2F354950-release-notes-website-reverse-image-proxy-january-24-2020%2F

Note that our statbar does not depend on cookies.
There will be a new release of the web that uses this format instead:
https://project-gc.com/StatBar/magma1447.png
(with .png at the end)

Not sure it will help, haven't tested it. Regardless it's a step forward since it then uses the same format as the BadgeBar.
<a href="https://project-gc.com/"><img src="https://cdn2.project-gc.com/StatBar/Deepdiggingmole?quote=I+like+challenges"></a>

is my statbar link - it is missing the 'I Like Challenges' quote - which should/used to appear at the bottom of the box

If you look at my profile (https://www.geocaching.com/profile/?guid=1cdb797e-6cb7-4ab6-8393-5ca8cc6bcc0f)
you will see a similar box for GC stats (to the left of the PGC statbar)  - this has 'Can you crack Revenge 4' at the bottom and is the same idea
Ok, I understand. We will have to consider that bugs from HQs new image proxy though. You could test the new links that our Statbar-page is rendering to see if they work better. But I really can't promise that they will.
Ok. I have solved the problem as follows. I shortened the Link for the statbar image (img src) with bitly and put the shortened link back into the html code for the statbar. Now it looks like this: <a href="https://project-gc.com/"><img src="https://bit.ly/????????"></a>
Now the custom code is shown and as well Labs are included.
+1 vote

I see a mistake - after cacher name it is missing .png

In  the stats bar page it currently shows (for my account) 

<a href="https://project-gc.com/"><img src="https://cdn2.project-gc.com/StatBar/Deepdiggingmole?quote=I+am+awesome"></a>

it should be 
<a href="
https://project-gc.com/"><img src="https://cdn2.project-gc.com/StatBar/Deepdiggingmole.png?quote=I+am+awesome"></a>

then the quote will be there on the GC page

this is missing for both the 'includelabcaches' link and the 'quote' link

by Deepdiggingmole (13.8k points)
All links need to be checked as some of the BB Code are missing .png too
Thank you. I found 3-4 identical errors. Plus a StatBAr instead of StatBar.

Should be fixed with the next release.
...