Trying to use it on report_create but it doesn't seem to work. Just trying to put a notice up that admins/mods can't be reported on. This worked well on the ignore template.
<xf:if is="$content.User && $content.User.is_staff">
Notice what user can't be reported.
</xf:if>
But the user will not see this notification, because if he don’t have the permission to report a the user, then he don’t see this template either, he get a “No permissions” notification.
<xf:if is="$content.User && $content.User.is_staff">
Notice what user can't be reported.
</xf:if>
But the user will not see this notification, because if he don’t have the permission to report a the user, then he don’t see this template either, he get a “No permissions” notification.
This unfortunately doesn't seem to work with the report button on the profiles, neither $user or $content.user can be called there without template errors, is there anything else that can be used?