1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[XFR] Infractions

Discussion in 'Add-on Releases [Archive]' started by Pepelac, Dec 24, 2010.

  1. Pepelac

    Pepelac Well-Known Member


    Add-on for XenForo
    User Infractions v.1.0.3



    This is an additional tool for administrators and moderators, which I made by request of one of XenForo users, who runs couble of big boards.​
    This add-on allows to give warnings and infractions and by that control user's behaviour.​

    How it works:

    Moderator or administrator can give infraction for any message. Infractions can be combined, so you can give for example infraction "Flood" and "Spam" for the one message.​
    You cannot give infraction for the message, for which infraction has alredy been given.​

    For each infraction user gets some amount of infraction points. When user gets an infraction, add-on controls total amount of points for active (not expired) infractions and if the sum exceeds the ttreshold set by administrator, the user automatically gets a ban for a period specified in the settings of add-on. When giving an infraction you can alert the user by checking the checkbox in the column "Warning". In this case, the points for the infraction are not issued.​

    When user gets an infraction, he also receives an alert and add-on automatically sends email with notification.​

    1. Copy contents of "upload" folder to the root folder of your forum.
      Please, be careful, some FTP clients could rewrite contents of the destination folder!
    2. At the control panel in the section "Add-ons" choose "Install add-on".
    3. Choose the xml file from archive to install add-on.
    After installation:
    1. You should set permissions for the user groups. You can use the following scheme: moderator can give infractions and remove own infractions, administrator can remove all infrations.
    2. Define some infractions in the control panel. You can do this in the section "Applications".
    3. You can change default settings in the control panel.
    Known problems:
    • Add-on will not work correctly, if there is [DBTech] Users Viewing Thread add-on installed because of the way, in which that add-on works.
    • There could be some problems with permissions if all the data where imported from vBulletin (currently moderator can't see the "Remove infraction" link).

    Developers are not responsible for mistakes made by the user during installation.​

    Please, consider that this is not perfect add-on and i'm working on some features (such as infractions for profile posts), so if you find some bug, please let me know about that bug.

    PS. Merry Christmas and Happy New Year.
    PPS. Wish to have all those hooks in the Master style by default :).

    Attached Files:

    Yiit, pipedreams, Dodgeboard and 21 others like this.
  2. Jeremy

    Jeremy Well-Known Member

    Very nice! I only used infractions for Spam to infract and ban. Wasn't planning on that for here, but I did plan on writing this at some point. Bravo!
  3. karev

    karev Active Member

    you rock man bravoooooo
    PoLiZe likes this.
  4. cobra1162

    cobra1162 Active Member

    thanks good job
  5. yavuz

    yavuz Well-Known Member

    Great addon Pepelac. Would have used it if it weren't for the known problems. I would unistall the "[DBTech] Users Viewing Thread" addon for this one, but since I have imported data from my former vBboard this has to wait. Looking forward from you and your future work.
  6. Edrondol

    Edrondol Well-Known Member

    What known problems?

    Edit: That sounded dumb. I know what the known problems are from above, but no idea what errors, etc. is given.
  7. Lenin

    Lenin Active Member

    nice work thanks
  8. ArnyVee

    ArnyVee Well-Known Member

    Must have add-on! Is anyone using it? Can you confirm working perfectly?
  9. Edrondol

    Edrondol Well-Known Member

    Loading this now. Tell you in a little bit how it works.
  10. dieketzer

    dieketzer Well-Known Member

    is there an option to not send conversations?
  11. Edrondol

    Edrondol Well-Known Member

    Looks like it works great, but I can't see where to delete or edit the infractions once they are given.

    Edit: Never mind. It's a link that says (oddly enough) "Remove Infraction". Seems I'm blind.
    laztrix likes this.
  12. Pepelac

    Pepelac Well-Known Member

    No at this time. Will implement this in the next release.
    ankurs and dieketzer like this.
  13. yavuz

    yavuz Well-Known Member

    Any progress with these "known issues" Pepelac ?
  14. Pepelac

    Pepelac Well-Known Member

    The first (with the DBTech add-on) is the problem of the DBTech add-on itself. Developers of that add-on should consider about other way of adding content of their add-on to the templates.
    I'm working with the second issue, i think that i'll figure what's going wrong till the end of this week (got too much work to do).
    laztrix likes this.
  15. Travis

    Travis Active Member

    I would install this mod,if it wasn't for the conflict with the DBTech add-on :(
  16. gmaister22

    gmaister22 Active Member

    very helpful one :)

    does it work with RC2?
  17. Floris

    Floris Guest

    I would like to know this as well. I manage one big board still, and they infract almost hourly due to the nature of the content, and they'd love to keep using this in xf
  18. Edrondol

    Edrondol Well-Known Member

    Just tested it on my site - [RC2] - works perfectly.
    fattony69 likes this.
  19. gmaister22

    gmaister22 Active Member

    Cool, hope Pepelac will keep it up with more updates!
  20. Travis

    Travis Active Member

    Anyone know how to get it working with DBTech's Mod? This is something I really need,but I can't as it clashes with that mod.

Share This Page