Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show User History On Infraction Form And Postbits Details »
Show User History On Infraction Form And Postbits
Mod Version: 2.4, by MarkFL (Coder) MarkFL is online now
Developer Last Online: Dec 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (5 votes - 4.80 average) Installs: 27
Released: 11 May 2015 Last Update: 18 Mar 2016 Downloads: 127
Not Supported Uses Plugins Auto-Template Translations  

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.


Installation:

Download and extract the attached .zip file.

Follow:

AdminCP ► Plugins & Products ► Manage Products ► Add/Import Product.

Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.

Click "Import"

You MUST set your settings to enable the product.

Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	userhistoryacp.png
Views:	107
Size:	64.0 KB
ID:	153157   Click image for larger version

Name:	userhistoryform.png
Views:	165
Size:	19.1 KB
ID:	153158   Click image for larger version

Name:	userhistorypostbit.png
Views:	178
Size:	4.9 KB
ID:	153167  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 May 2015, 20:39
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Thanks, this certainly looks very useful.
Reply With Quote
  #3  
Old 11 May 2015, 20:40
My Hattiesburg My Hattiesburg is offline
 
Join Date: Jun 2012
This looks like another great mod from you, I've been wanting something like this for a long time.
Reply With Quote
  #4  
Old 13 May 2015, 03:45
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
I have just updated the product to include the ability to display usernote and infraction data in user postbits. You can select which groups will have this data included in their postbits and which groups will be able to see this data. Both data include links to the relevan pages for ease of navigation.
Reply With Quote
  #5  
Old 14 May 2015, 16:00
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
It's useful, can help with moderating problematic users, as we can see right away in one glance their history.
Reply With Quote
  #6  
Old 17 May 2015, 02:17
bosanci28's Avatar
bosanci28 bosanci28 is offline
 
Join Date: Feb 2008
Useful ! Thanks.
Reply With Quote
  #7  
Old 19 May 2015, 19:29
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Not showing up for me, I'm using the older horizontal format for threads.
Reply With Quote
  #8  
Old 19 May 2015, 19:35
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Elixar View Post
Not showing up for me, I'm using the older horizontal format for threads.
Can you give me a link to your site so I can see what you mean by horizontal format?
Reply With Quote
  #9  
Old 19 May 2015, 19:38
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by MarkFL View Post
Can you give me a link to your site so I can see what you mean by horizontal format?
I'm using the legacy format.
Reply With Quote
  #10  
Old 19 May 2015, 19:49
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Without a link to your site, I can't be of much help. Legacy format means down the left side not across the top, which is what I use on my dev and live sites as well.

Did you set the product as active?
Reply With Quote
  #11  
Old 19 May 2015, 19:52
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by MarkFL View Post
Without a link to your site, I can't be of much help. Legacy format means down the left side not across the top, which is what I use on my dev and live sites as well.

Did you set the product as active?
Sorry, I'm using the old format, got confused.

Last edited by Elixar; 19 Jul 2015 at 20:09.
Reply With Quote
  #12  
Old 19 May 2015, 19:56
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Elixar View Post
Sorry, I'm using the old format, got confused.

http://christianityhaven.com/
I see no posts to look at...also are you sure you have set the product as active?
Reply With Quote
  #13  
Old 19 May 2015, 19:59
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by MarkFL View Post
I see no posts to look at...also are you sure you have set the product as active?
Yes it's active. And I added a post in a public forum.
Reply With Quote
  #14  
Old 19 May 2015, 20:08
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Okay, two things I would ask for you to check:

1.) Are you in a usergroup you have defined as being able to view the history information in postbits and is the user whose post you are viewing in a usergroup who has been defined to show the history in the postbit?

2.) In the postbit template you are using, see if the hook labeled "postbit_userinfo_right_after_posts" exists.
Reply With Quote
  #15  
Old 19 May 2015, 20:36
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by MarkFL View Post
Okay, two things I would ask for you to check:

1.) Are you in a usergroup you have defined as being able to view the history information in postbits and is the user whose post you are viewing in a usergroup who has been defined to show the history in the postbit?

2.) In the postbit template you are using, see if the hook labeled "postbit_userinfo_right_after_posts" exists.
1. Yes.
2. No.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:38.

Layout Options | Width: Wide Color: