Mutt
Well-known member
I would like to hide signatures for people who do not have permission to edit their signatures. Basically in the message template I'm trying do insert {$message.editSignature} something like this.
but of course that doesn't work. I know I can check the viewers permissions but can I check the posters?
If you are wondering why, I'm trying to make it easy for the staff to kill a bad signature & remove signature permission for a user. I'm feeling that if I could get the edit to work I'd be able to setup a warning that added a person to a new usergroup "no signature" which removed the permission to edit signatures. then when the staff sees a violating sig, they be able to just make a warning.
I would wind up doing the same w/ avatars.
Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature} && {$message.editSignature}">
<div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
but of course that doesn't work. I know I can check the viewers permissions but can I check the posters?
If you are wondering why, I'm trying to make it easy for the staff to kill a bad signature & remove signature permission for a user. I'm feeling that if I could get the edit to work I'd be able to setup a warning that added a person to a new usergroup "no signature" which removed the permission to edit signatures. then when the staff sees a violating sig, they be able to just make a warning.
I would wind up doing the same w/ avatars.