Summary | Quick Profile Links Menu | |
Preview | Theme Creator | |
Repository | GitHub - VaperinaDEV/quick-profile-links-menu | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Hello
Navigating the user preferences can be a bit difficult at times, especially for new users. This theme component allows to add several important setting links for customizing the profile…
The menu button is places in the user profile control buttons section.
It also can be placed in the user menu.
Which you can enable with a setting. enabled user menu tab
default setup
Clicking on the menu item it will redirect to the desired field. To achieve this I’ve added an id
attribute for each field which is same value as the [data-setting-name]
attribute. So now we can use this as an anchor. Like: /u/username/preferences/profile#user-bio
You can check it on all preferences fields. This is important because the setting use this id
value but I’ll add it below.
Settings
There are 4 required setting for each link.
- icon (fontawesome icon)
- label (the label of the link)
- page (which page do you want to be redirected to)
- account
- security
- profile
- emails
- notifications
- tracking
- users
- interface
- setting (which setting field do you want to be redirected to)
Here are some setting field to use.
-
account
- user-username
- user-avatar
- user-email
- user-associated-accounts
- user-name
- user-title
- user-flair
- user-data-export
-
profile
- user-bio
- user-timezone
- user-location
- user-website
- user-profile-bg
- user-card-bg
- user-featured-topic
-
interface
- user-theme
- user-color-scheme
- user-text-size
- user-locale
- user-home
- user-other-settings