i am having some issue with the profile edit page in the persona theme (git)
here is some screenshot:
Oh sorry I wasn't paying attention. Those two aren't in any templates afaik. They're added by the widget system.
By looking into logs/output.log
@julian an other problem just discovered
If I open the chat window and click on the avatar of the chat partner or on my avatar I see a broken link:
I found my problem and solution. I made a custom theme based off persona and was using an old version of chats.js. I updated the chats.js file in my theme folder and the problem disappeared.
For setting up your cutom page use this https://github.com/NodeBB/NodeBB/blob/master/src/routes/helpers.js#L5, or at least use the middleware.pageView function as a middleware, that will count the pageviews.
As for only allowing some groups to view the page. You have check if the user is a member of those groups with the function groups.isMemberOfGroups(uid, ['group1', 'group2'], callback); You can get the uid from req.uid in your route handler.