In a Dev category discussion titled ‘Adding a billing section in the member section,’ Francois_Douville seeks to add a ‘billing’ link to the user profile interface in Discourse, pointing to a Memberful account. joebuhlig suggests using the user-main-nav plugin outlet, referencing a guide on adding plugin outlets via themes. Francois_Douville implements the outlet with a Handlebars template, asking for clarification on the unique-id, which joebuhlig explains can be any custom identifier. The solution works, as confirmed by Francois_Douville, who later shares an alternative JavaScript-based approach using api.onPageChange() to inject the link directly into the .preferences-nav section for precise placement as shown in their screenshot. The final implementation successfully adds a ‘Facturation’ link to the user preferences page.
In fact, when a user will click on billing, it will convert to the memberful account of the user. I will put a simple link to make it happen. I already have this link. I just want to know the code to add a section here.
You could likely tie into the user-main-nav connector and add it to the users profile. It’s not exactly the same placement but it would have roughly the same effect.