Add a link to user profile in the navigation

Hello! How can I add a user profile link to the top navigation? So that the user can go in one click, not through 3 from the menu.

1 Like

use this theme component

with this URL: https://your-discourse-forum/my/summary

4 Likes

Thank you. I tried it through this plugin, but I didn’t know the correct path to the profile without specifying a nickname

Is there a way to show this link only to an authorized user?

1 Like

use the CSS Classes for Current User's Groups component and then us CSS to show only for logged in users group.

3 Likes

Would it be possible to hide it for anon users even without that component?

2 Likes

There is an anon classname attached to <html> element, that should be possible.

4 Likes

you are correct! I forgot about anon :slight_smile:

.anon .whatever-that-icon-class-is {
    display: none;
}
4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.