Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Exclude Users from Reported Post Emails Details »
Exclude Users from Reported Post Emails
Mod Version: 0.1, by fatal1980 (Coder) fatal1980 is offline
Developer Last Online: Feb 2017 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (0 vote - 0 average) Installs: 7
Released: 08 Oct 2009 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code Is in Beta Stage  

Hi, I whipped this up quick. I'm not a programmer, so excuse the lack of proper coding. The code works, I just don't know what it breaks if anything. But I've tested it my self.


**NOTE** Make a backup of every file mentioned here when modifying them.


First, open up your "includes/config.php" file and add the following. Replace the numbers with the userid's of the users who you don't want to receive the emails. Typically these will be administrators who are mostly your technical staff, they don't get involved with the forums that much other than fixing them.


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

Next open up "includes/class_reportitem.php" and go to line 201.

below:

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

insert the following:

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

Then on line 203 below:

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

insert the following:

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

That's it, the users you specify will be skipped when the array is created to notify moderators/super moderators/administrators of a reported post via email.

I created this because I know of people who don't need to receive these emails and sometimes they can get annoying on bigger sites.

Download Now

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

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 08 Oct 2009, 08:29
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Reserved post.
__________________
http://www.webhacks.co Wordpress, Forums and Server Tips/Tricks and Hacks
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 14:10.

Layout Options | Width: Wide Color: