How to pass USERNAME in 'https://site.com/u/<USERNAME>/summary'

AI-generated summary

In a support discussion titled ‘How to pass USERNAME in ‘https://site.com/u//summary’’, OsaIsacson seeks to add a dynamic sidebar link to a user’s own profile summary, asking for syntax to insert the current user’s username. pfaffman suggests using ‘/my/summary’ as a direct solution. Canapin notes the lack of existing tips on this topic and suggests it could be a good short guide, though struggles with search keywords. pfaffman proposes ‘how to link to user profile’ as a search term and shares relevant topic links, including one to dynamically link to user accounts. Lilly questions why the avatar menu’s profile tab doesn’t already serve this purpose and reports finding the answer quickly via search. Canapin humorously admits to being bad at search. pfaffman playfully reassures them it’s not bad — just worse than AI, joking ‘And so it begins :joy_cat:’. The thread concludes with a light-hearted tone, confirming that ‘/my/summary’ is the correct dynamic link, and that search can work with the right terms.

I need to add a link in the left sidebar as a shortcut for users getting straight to ‘My profile’.

Clues? I see you can meck about with js but I figure there MUST be a dynamic value to pass for the currently logged in user. Just can’t find the syntax for it :slight_smile:

/my/summary does what you want. Not sure where you can easily find that, though.

Couldn’t find any #tips-and-tricks #profile topic about this. Might be a good and short candidate… Not sure about the right keywords to use so we can find it easily with the search though. :slight_smile:

I think just “how to link to user profile” would do it unless those words are all too generic to make the search work.

I got a link to How To Link To A User's Tabs? I in the suggested topics below this post. And Dynamically link to user account and some others.

why does the avatar menu profile tab not work?

also i searched “link to profile” and got it second item in search results.

I’m just bad at search apparently :sweat_smile:

Not bad, just worse than the AI. And so it begins :joy_cat: