Closed account_preferences should not show the setting for signatures if there is no permission for signatures

ge66

Well-known member
Licensed customer
Affected version
XF2
This is an old one saw it again when fixing xf2.3 templates.

If all "Signature permissions" are set to NO, the "Show people's signatures with their messages" should not be shown.

This code in account_preferences should only be used if people can set up a signature:

Code:
<xf:option name="option[content_show_signature]" checked="{$xf.visitor.Option.content_show_signature}"
                    label="{{ phrase('show_peoples_signatures_with_their_messages') }}" />
 
Automated triage: As designed

Thank you for reporting this issue. This option controls whether you see other members' signatures, not your own. Signatures are shown whenever the author has one saved, whatever the viewer's own signature permissions. Other groups may be allowed signatures, and existing signatures remain after permissions are removed, so the option still applies. The links for editing a signature are already hidden when you can't edit one.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom