Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Edit infraction points/expiration (3.6-4.x) Details »
Edit infraction points/expiration (3.6-4.x)
Mod Version: 1.00, by MoMan (Coder) MoMan is offline
Developer Last Online: Sep 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.8 Rating: (0 vote - 0 average) Installs: 11
Released: 09 Nov 2010 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code  

This mod will allow you to edit the expiration date and points of infractions through your admin panel. The stock vbulletin installation only supports reversal and deletion, so I think this is a handy addition if you frequently use infractions on your forum. In case someone screws up and adds too many points, issues an infraction instead of a warning, or sets the duration too high, you can use this to make a discrete edit without having to delete and then re-issue the infraction.

This mod doesn't support the editing of other parameters as I didn't see a need for that. If you'd like to add further functionality on your own, you're welcome to modify and re-post this code as long as you give attribution.

Should work with vB 3.6.x and above!

Note: this mod requires additions directly to vbulletin code. I don't recommend you proceed unless you are comfortable with editing PHP files.

Open /admincp/admininfraction.php

Add above print_cp_footer():

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

Find:

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

Add below:

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

Find:

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

Add below:

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

Download Now

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

Screenshots

Click image for larger version

Name:	Screenshot-1.png
Views:	213
Size:	17.7 KB
ID:	123508   Click image for larger version

Name:	Screenshot-2.png
Views:	206
Size:	10.7 KB
ID:	123509   Click image for larger version

Name:	Screenshot-3.png
Views:	99
Size:	7.4 KB
ID:	123510  

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 10 Nov 2010, 06:27
mitch84 mitch84 is offline
 
Join Date: Mar 2008
nice, tagged but I think you should put modification in a file text for download
Reply With Quote
  #3  
Old 11 Nov 2010, 11:31
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
So many times this would have come in handy lol. I wish this was default ^^

Thanks.
Reply With Quote
  #4  
Old 22 Nov 2012, 03:46
diddy29 diddy29 is offline
 
Join Date: Sep 2012
Installed on 4.1.3. Seems to work well at the moment.

I can't believe this hasn't come as a default setting.

It was a bit of a pain though, editing admininfraction.php.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:06.

Layout Options | Width: Wide Color: