1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alert On Warning [Deleted]

Discussion in 'Add-on Releases' started by Xon, Jan 2, 2015.

  1. Xon

    Xon Well-Known Member

    Xon submitted a new resource:

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

    Read more about this resource...
     
    RoldanLT likes this.
  2. RoldanLT

    RoldanLT Well-Known Member

    Just installed. Thanks :)
     
    Xon likes this.
  3. RoldanLT

    RoldanLT Well-Known Member

    Where can I see this option?
    Edit: Seen it already :)
     
    Xon likes this.
  4. Shiro

    Shiro Well-Known Member

    Very nice!
     
    Xon likes this.
  5. jazz_aaf

    jazz_aaf Active Member

    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.
     
    Last edited: Jan 8, 2015
  6. Xon

    Xon Well-Known Member

    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.
     
  7. RoldanLT

    RoldanLT Well-Known Member

    But I'm not using your other addon, can you please update this for us who don't use it?
    Thanks!
     
  8. Xon

    Xon Well-Known Member

    It should be in the related resource section now. Unless I'm miss-understanding what you are asking.
     
  9. RoldanLT

    RoldanLT Well-Known Member

  10. Xon

    Xon Well-Known Member

    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.
    
     
    RoldanLT likes this.
  11. RoldanLT

    RoldanLT Well-Known Member

    Done, Thanks a lot.
     
    Xon likes this.
  12. RoldanLT

    RoldanLT Well-Known Member

    Why mark as "Unmaintained" ?
     
  13. Xon

    Xon Well-Known Member

    I've replaced by this addon and my View Own Warning addon with the following addon: Warning Improvements by Xon.

    The addons I release are ultimately developed for SB & SV, and I maintain free support for them as long as they are used by those sites. These addons will remain free addons with a permissive licence and will not be deleted.
     
    Last edited: Jun 2, 2016
    RoldanLT likes this.
  14. Xon

    Xon Well-Known Member

    This resource has been removed and is no longer available for download.

    This add-on can be found on github (MIT Licensed)
    Replaced by Warning Improvements by Xon
     

Share This Page