Alert On Warning [Deleted]

Xon

Well-known member
Xon submitted a new resource:

Alert On Warning - Sends an alert to a user when they receive a warning.

Sends an alert to a user when they receive a warning.

A default-on option when issuing a warning under the "Member notification tab".

Under User Alerts, there is an option for "Anonymise Warning Alerts" if you do not wish for the issuer to be associated with the warning.

I recommend using Install and Upgrade by waindigo or...

Read more about this resource...
 
  • Like
Reactions: rdn
Where can I see this option?
Under User Alerts, there is an option for "Anonymise Warning Alerts" if you do not wish for the issuer to be associated with the warning.

Edit: Seen it already :)
 
  • Like
Reactions: Xon
The link in the alert directs to the warning page that is not available to the user.
If you make the warning page available to the user you will sacrifice the anonymity of the person who issued the warning.

Never mind. I found your other addon which solves the issue.
https://xenforo.com/community/resources/view-own-warnings.3670/

Thank you.
Thanks.

I've updated this Warning Alert addon to refer to my View Own Warning addon in the related resources section.

Hopefully that should be clearer.
 
This is what I mean:
View attachment 94200

The links goes to the warning page, which on my forum the user can't reach the link because I'm not using the other addon of yours.
Could you please remove the link for us that don't use this addon: https://xenforo.com/community/resources/view-own-warnings.3670/ ?
You can edit the template "alert_warning_alert_warning" and replace it with

Code:
<xen:if is="{$user.user_id}">
{xen:phrase warning_alert_text,
'name={xen:helper username, $user, 'subject'}',
'points={$content.points}',
'warning_title={$content.title}'
}
<xen:else/>
{xen:phrase warning_alert_text_anonymize,
'points={$content.points}',
'warning_title={$content.title}'
}
</xen:if>

Edit the phrase warning_alert_text to be:
Code:
{name} issued you a warning for {warning_title} for {points} points.

Edit the phrase warning_alert_text_anonymize to be:
Code:
You have received a warning for {warning_title} for {points} points.
 
  • Like
Reactions: rdn
Back
Top Bottom