+Gill & Tony Posted October 29, 2020 Share Posted October 29, 2020 If I know a users numeric userid, how do I construct the URL which will display their profile? I thought it was something like coord.info/PR<userid> but that doesn't work. Thanks Tony Quote Link to comment
+Gill & Tony Posted October 29, 2020 Author Share Posted October 29, 2020 6 minutes ago, HHL said: Use a GSAK macro: $ownerid = 123456 # change 123456 to your needs or use a form $corecode = NumToGsCode($ownerId) $CoordInfo = "http://coord.info/PR" + "$corecode" # Pause Msg="$CoordInfo" Clip Data=$CoordInfo WEB Url="$CoordInfo" Add a form for the userid input. Thanks I can do that. Quote Link to comment
Moun10Bike Posted October 29, 2020 Share Posted October 29, 2020 Or, use:https://www.geocaching.com/p/default.aspx?id=<User Number> 2 Quote Link to comment
+Gill & Tony Posted October 29, 2020 Author Share Posted October 29, 2020 26 minutes ago, Moun10Bike said: Or, use:https://www.geocaching.com/p/default.aspx?id=<User Number> Thanks. That is what I was looking for. Han's solution also works, but this is simpler. Cheers Tony Quote Link to comment
+Etherlord Clan Posted September 8, 2021 Share Posted September 8, 2021 But how do you find the <user number>? The "short code" for my profile is http://coord.info/PR5Y6HZ but I can't see 5T6HZ listed anywhere on my profile to therefore get this number for a different player's profile? Quote Link to comment
+Etherlord Clan Posted September 8, 2021 Share Posted September 8, 2021 Well, it's not pretty, but it'll do... Go to the player's profile in question, view the source code, and search for "userRef" }; window['userRef'] = 'PR5Y6HZ';//]]> Quote Link to comment
+arisoft Posted September 8, 2021 Share Posted September 8, 2021 (edited) 2 hours ago, Etherlord Clan said: But how do you find the <user number>? The "short code" for my profile is http://coord.info/PR5Y6HZ but I can't see 5T6HZ listed anywhere on my profile to therefore get this number for a different player's profile? One way to find the numeric id is to click or point the link in the user's profile and separate the numeric id from the resulting link. Edited September 8, 2021 by arisoft Quote Link to comment
+Etherlord Clan Posted September 8, 2021 Share Posted September 8, 2021 13 hours ago, arisoft said: One way to find the numeric id is to click or point the link in the user's profile and separate the numeric id from the resulting link. Here's the URL from "View Forum Posts" on my profile https://forums.geocaching.com/GC/index.php?/profile/5076747-Etherlord Clan/content/ I can't see PR5Y6HZ in the URL? Quote Link to comment
+barefootjeff Posted September 8, 2021 Share Posted September 8, 2021 (edited) 17 minutes ago, Etherlord Clan said: Here's the URL from "View Forum Posts" on my profile https://forums.geocaching.com/GC/index.php?/profile/5076747-Etherlord Clan/content/ I can't see PR5Y6HZ in the URL? The "5076747" is your player ID. You then need to convert that to base 31 (the GC-code <> GC-id tool in the Geocaching Toolbox can do that, just remove the GC prefix you get and replace it with PR) which in your case gives 5Y6HZ. Going to https://coord.info/PR5Y6HZ does indeed go to your profile. Edited September 8, 2021 by barefootjeff 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.