RSS Feed/News account_preferences should not show the setting for signatures if there is no permission for signatures

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,112
Points
823

Reputation:

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:

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

Continue reading...
 
Status
Not open for further replies.
Top