Crie um link que levará o usuário ao seu próprio perfil

I would like to create a link that will tell members where to find their badges in their profile.

In this post I would like to direct members to their profile with a link.

For example: https://meta.discourse.org/users/YOUR-USERNAME-HERE/activity

Is it possible to do this in a post using markdown? Or what needs to be done to accomplish this?

This exists https://meta.discourse.org/my/activity

Wowowow! Thank you. This is the greatest thing.

Can this same solution be used to direct to a users post in a category. eg: I want to encourage my users to create a progress log. I have a Discourse category for these logs so I can link to the category, but I wonder if I could link to their log directly and if they don’t have one it would fall back to the category page. AKA: how else can the /my/ function be applied?

Like this ?
https://meta.discourse.org/t/my/11080/12
https://meta.discourse.org/t/my11080/12

Not sure what I’m seeing here. Mostly due to my unfamiliarity with the URL structure Discourse uses. I get the /t/ part and /my refers to the user but what does /11080/12 indicate?

Those are the topic_id and post_id

I guess I’m not understanding exactly what you’re asking?

My is very restrictive and only applicable to certain pages, it can’t be used the way you are depicting. You’d have to write a plugin or something. It would be best to just send them to the category and they can find their existing log (if need be)

OK thanks and agreed, just sending to the category will work, I was just trying to be fancy. Thanks as well to @Mittineague for explaining the url structure. That will be useful info for the future.

The ‘my’ there could be replaced by anything, including a single dash - it’s taking the place of the topic slug, and the server will 302 you to the correct URL.

And that is in reference to the one @mittineague created, not to be confused with the one that goes to their profile/preferences/bookmarks, etc.

Apenas para esclarecer, substitua u/username (incluindo o u/) por my para que isso funcione.