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 offline
Developer Last Online: Jun 2020 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (5 votes - 4.80 average) Installs: 29
Released: 11 May 2015 Last Update: 18 Mar 2016 Downloads: 137
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:	135
Size:	64.0 KB
ID:	153157   Click image for larger version

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

Name:	userhistorypostbit.png
Views:	213
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.
  #61  
Old 20 Aug 2015, 08:45
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try this:

1.) Go to the plugin titled "Renders Usernotes/Infraction History Data On Infraction Form"

2.) Locate the line that reads:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3.) Change it to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4.) Let me know if this works.
Reply With Quote
  #62  
Old 20 Aug 2015, 09:48
killah360z killah360z is offline
 
Join Date: Jul 2013
didn't work
Reply With Quote
  #63  
Old 20 Aug 2015, 16:01
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by killah360z View Post
didn't work
Try repairing your tables.
Reply With Quote
  #64  
Old 20 Aug 2015, 17:37
killah360z killah360z is offline
 
Join Date: Jul 2013
Originally Posted by MarkFL View Post
Try repairing your tables.
that didn't work either
Reply With Quote
  #65  
Old 11 Dec 2015, 07:57
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
For some reason your mod interferes with mod QAS: http://www.vbulletin.org/forum/showthread.php?t=237286

If your mod is active, changing active user works quirky. At the moment I find QAS more important. But, if you're willing to test why your mod breaks QAS, it would be great.

And, testing your mod, I didn't succeeded to see postbit info, but it's not that important.
Reply With Quote
  #66  
Old 18 Mar 2016, 14:38
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 2.4:
  • Corrected typo preventing templates from being cached.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #67  
Old 19 Mar 2016, 10:20
Innsomnimaniac Innsomnimaniac is offline
 
Join Date: Sep 2015
Real name: Max Evans
Where are the options located? I can't seem to find them.
Reply With Quote
  #68  
Old 19 Mar 2016, 14:14
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by MaxwellMorphine View Post
Where are the options located? I can't seem to find them.
Follow:

AdminCP -> Settings -> Options -> MarkFL: Show User History v2.4
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #69  
Old 06 May 2017, 23:32
Leebo89122 Leebo89122 is offline
 
Join Date: Jun 2014
Originally Posted by killah360z View Post
when giving an infraction


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

happens on v2.2 & 2.3

--------------------------------------------

nvm looks like it magically got fixed on its own ;d

--------------------------------------------

its back again


I too keep getting this error when it's installed. Any idea why this is occurring?
Reply With Quote
  #70  
Old 06 May 2017, 23:55
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Leebo89122 View Post
I too keep getting this error when it's installed. Any idea why this is occurring?
No idea...I have this running on two sites, and have never seen that error.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #71  
Old 19 Aug 2017, 16:48
migratoria migratoria is offline
 
Join Date: Oct 2011
ONLY FOR INFO

Yet Another Award System generate a conflicts during the uninstallation phase with:

MarkFL: Show User History 2.4
Reply With Quote
  #72  
Old 19 Aug 2017, 18:56
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by migratoria View Post
ONLY FOR INFO

Yet Another Award System generate a conflicts during the uninstallation phase with:

MarkFL: Show User History 2.4
Can you be more specific?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #73  
Old 19 Aug 2017, 19:30
migratoria migratoria is offline
 
Join Date: Oct 2011
If both are installed on vbulletin 4.2.5 "Yet Another Award System" generate a conflicts during her uninstallation

MY LOG:
mod_fcgid: stderr: PHP Fatal error: Call to a member function fetch_array() on null in /forum/includes/class_postbit.php(345) : eval()'d code on line 261

This error Generates a crash when displaying a topic
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 00:39.

Layout Options | Width: Wide Color: