Moderator Bar Permissions Question

Chris D

XenForo developer
Staff member
This is probably a really simple one, but I'm a bit stumped at the moment. Here we go.

On my forum I have a custom User Group for Article Writers. I want to add, to the Moderator Bar, some links that will help them with the things they have to do.

I've tried using a conditional to achieve this and that code works fine in other locations.

<xen:if is="{xen:helper ismemberof, $visitor, 18}">Test</xen:if>
But it does not work within the Moderator bar itself. And I assume this is because the Article Writers are not technically Moderators. Is there a(n easy) way that I can override the Moderator Bar requirements to allow for what I'm trying to do, without giving them more power than I want to?

It occurs to me that I could just slap the conditional and a separate div inside of the Header Template, but I wasn't sure if there was a better way.


Chris D

XenForo developer
Staff member
Duh. Putting the conditional to allow this usergroup in the Header where it's set to allow for Mods and Admins.

Christ, it's too early for coding.

[EDIT] Yeah I know Brogan, that's what I wanted to circumvent. I've got it now, thanks!