Aye, I've spotted my error. It should be (I think):Thanks, but this give a template syntax error.
It is in the Xenforo admin. Like mine (on one forum) is twowheeldemon.com/admin.php.
It is the XenForo Administrative Control Panel.
Hover over or edit a group - the user ID is in the URL address bar.
Check the amended code in my last post which I think should work.This code works only works for me. It isn't working for moderators, administrators, or supporting members?
<xen:if is=!"{$visitor.is_admin} OR {$visitor.is_moderator} OR {xen:helper ismemberof, $visitor, 5}">
This content will not show to Administrators and Moderators or group 5
</xen:if>
Any other ideas?
Check the amended code in my last post which I think should work.
Note that being a member of the "Administrators" and "Moderators" groups doesn't make someone an Administrator or a Moderator. You are only these if you're added as these in ACP > Users on the left hand side. The code I gave (assuming it is correct) is based on being a "proper" Admin or Mod.Thanks, unfortunately that only shuts the ads off for me as well. When I login as an admin it still shows that ads.
Note that being a member of the "Administrators" and "Moderators" groups doesn't make someone an Administrator or a Moderator. You are only these if you're added as these in ACP > Users on the left hand side. The code I gave (assuming it is correct) is based on being a "proper" Admin or Mod.
We use essential cookies to make this site work, and optional cookies to enhance your experience.