Version: 2.4, by MarkFL
Developer Last Online: Jun 2020
Category: Moderators Functions -
Version: 4.2.x
Rating:
Released: 05-10-2015
Last Update: 03-17-2016
Installs: 31
Uses Plugins Auto-Templates
Translations
No support by the author.
This product will allow those with the ability to issue warnings/infractions to see a user's user notes and infraction history on the infraction form for easy reference. A new data block is displayed below the "User Infraction" block containg the user's relevant history.
On the forum I help administrate, we have devised a system where if a user breaks a forum rule for the first time, we simply send a friendly PM advisory of the rule rather than going to the infraction system. Many users, especially new users, are taken aback to receive a formal warning or infraction for breaking a rule they likely didn't realize is in place. Let's face it, the vast majority of users just don't read the rules.
So, when we see that a user has broken a rule, we need to check to see if a PM advisory has previously been sent, and we record this information in the usernotes. Then if we find that an advisory has been sent, we have to check that user's infraction history to see if they have been formally warned or given an infraction so that we know the most appropriate action to take for this new violation.
With this product, you can simply click the "Add Infraction" button on the postbit, and have all the needed history available on the generated form so that you can decide what action is most appropriate. If you find that no relevant usernote data exists, there is a button below the data block element that will take you to that user's usernote page.
I wish to extend a special thanks to BrettC Frontier for many great suggestions and error reporting that has really helped make this add-on much better.
Update: version 1.1
Option to display user history in postbits.
Option to set which usergroups will have their history displayed in postbits. Both data include links to the relevant pages.
Option to set which usergroups will see the user history in postbits.
Update: version 2.0
Shortened product title so it won't be truncated in AdminCP ► Plugins & Products ► Manage Products.
Fixed text color on usergroup checkbox elements in product settings to be dark.
If usernote title is empty, displays "N/A" within user history block on infraction form.
Fixed infraction reason to either use chosen or custom reason, whichever applies.
Infractions show date/time of expiry.
Infractions show link to post that caused warning/infraction to be issued, using thread title.
Infractions are shown in descending order, sorted by time issued.
Background color of user history block fixed to white.
If no "Administrative Note" is given for an infraction, then "N/A" is displayed.
Execution order of postbit plugin increased to help ensure it gets run.
Usernames of usernote authors and infraction issuers link to user profiles.
Update: version 2.1
Fixed bug regarding infraction not being associated with a post and causing and SQL
error.
Changed usergroup selection from checkboxes to select elements.
Update: version 2.2
Added the display of active infraction points on infraction form.
Added the ability to customize the color of the active points based on value.
Update: version 2.3
Added the display of active infraction points on user postbits, where the number is colored as defined.
Update: version 2.4
Corrected typo preventing templates from being cached.
sort of fixed the issue , now the problem i got was the warning/infraction/usernote doubled with each post
first post had it once , second post had it twice , 3rd three times etc etc ,
You couldn't have waited to see if he could help you lol?
nope i couldn't have , because it made the forum look untidy , eg: a thread with 50 pages , it would blow right out due to the multiply factor that was happening ,
the warning/infraction/usernote doubled with each post
first post had it once , second post had it twice , 3rd three times etc etc ... so say by the 50th post , it would've blown right out to a hundred or so warning/infraction/usernote doubled in just one postbit
nope i couldn't have , because it made the forum look untidy , eg: a thread with 50 pages , it would blow right out due to the multiply factor that was happening ,
the warning/infraction/usernote doubled with each post
first post had it once , second post had it twice , 3rd three times etc etc ... so say by the 50th post , it would've blown right out to a hundred or so warning/infraction/usernote doubled in just one postbit
If you wish to PM login credentials to me for an admin account at your site, I would be glad to try to troubleshoot the issue. Unfortunately, I cannot replicate the issue on my dev site.
nope i couldn't have , because it made the forum look untidy , eg: a thread with 50 pages , it would blow right out due to the multiply factor that was happening ,
the warning/infraction/usernote doubled with each post
first post had it once , second post had it twice , 3rd three times etc etc ... so say by the 50th post , it would've blown right out to a hundred or so warning/infraction/usernote doubled in just one postbit
So disable it and he'll help you. Mark has been a huge help to me on my forum I'm working on.
nope i couldn't have , because it made the forum look untidy , eg: a thread with 50 pages , it would blow right out due to the multiply factor that was happening ,
the warning/infraction/usernote doubled with each post
first post had it once , second post had it twice , 3rd three times etc etc ... so say by the 50th post , it would've blown right out to a hundred or so warning/infraction/usernote doubled in just one postbit
I just finished helping another user with a strikingly similar issue with someone else's add-on, and so you might want to see if you have any plugins hooked to one of the postbit locations which use:
those hooks weren't present in my postbit , never mind thanks anyway
it seemed like a good addon
I would install this: https://vborg.vbsupport.ru/showthread.php?t=265976 then run a search for global $template_hook; using the new search feature in your admincp. Then comment out the line as MarkFL suggested.