heavyharmonies
New member
I know that you can limit the ability to edit signatures by user group, but could find nothing on only making signatures visible for certain groups.
I've not found an add-on for this either.
The closest I found was in the following thread from 2014 that refers to editing the message template to accomplish this:
However, the structure of XenForo must have changed considerably, because I cannot find the equivalent template section to edit in v2.3.7, but I'm an XF newb.
Any guidance?
Thanks.
I've not found an add-on for this either.
The closest I found was in the following thread from 2014 that refers to editing the message template to accomplish this:
You're a star Jeremy. That seems to be working perfectly.
For the benefit of others, here is the code I am now using:
3 is my administrator admin group, 4 is for moderators, and 5 is for the upgraded/premium user group.
For the benefit of others, here is the code I am now using:
PHP:
<xen:if is="{xen:helper ismemberof, $message, 3,4,5}">
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
<div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
</xen:if>
3 is my administrator admin group, 4 is for moderators, and 5 is for the upgraded/premium user group.
However, the structure of XenForo must have changed considerably, because I cannot find the equivalent template section to edit in v2.3.7, but I'm an XF newb.
Any guidance?
Thanks.