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

XF 1.2 Disable custom warnings for moderators?

Discussion in 'XenForo Questions and Support' started by Joe Link, Feb 19, 2014.

  1. Joe Link

    Joe Link Well-Known Member

    How to I disable the custom warning option for moderators, locking them into pre-defined warnings set by the admin?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is no option to do that.
    It would require an add-on.
  3. Syndol

    Syndol Guest

    Why not simply modify the member_warn template by removing the custom input field?
  4. Joe Link

    Joe Link Well-Known Member

    How would you do that for the moderators but leave it for the admins?

    I'm pretty surprised it's all or nothing as far as moderators go.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Wrap the content in an administrator conditional statement:

    <xen:if is="{$visitor.is_admin}">

    It's moderators who should be issuing warnings, not administrators.
    Administrators and moderators are two entirely different roles.
  6. Amaury

    Amaury Well-Known Member

    Of course, this varies from place to place. Plenty of forums -- either big or small -- have both administrators and moderators that moderate. :)
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Moderating is done by moderators, not administrators.

    Administrators may also be moderators but when they moderate they are moderators, not administrators.
    Amaury likes this.
  8. Joe Link

    Joe Link Well-Known Member

    Yep. The way we do it is the admin (I'm the only one) has basically full control over every aspect of the forum. Moderators have a few restrictions, such as no permission to hard delete posts, create custom warnings (now), etc.
    ge66 likes this.
  9. dieketzer

    dieketzer Well-Known Member

    this is really painful.
    supposing one does edit out the custom field from the template, the result is that none of the predefined warnings have a selected radio, which then leaves the form in some sort of phantom state that allows the number of infractions to be 'cosmetically' altered until a radio is selected.
    we really need the ability to reel in mod permissions with the warning system.
    pick a warning, pick whether to give the predefined points or not, and submit. no personal messages, no arbitrary points, no custom warning types or text. please. this carte blanche moderation only creates problems.
    MMAcomm likes this.

Share This Page