Back to vBulletin 3.0 Add-Ons

Choose which filetypes to moderate
Mod Version: 1.00, by MrNase

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 1
Released: 27 Apr 2005 Last Update: 27 Apr 2005 Downloads: 1
Not Supported  

Hello,

This one is a really quick one. You may take this as a base for another, better hack but you have to credit me

Support:
The most important thing first: I'll give full support but Iam not responsible for any damaged caused by this mini mod.
Please use this thread for any questions you have.

What does this hack do:
My members recently uploaded some .pdf which were 'stolen' and used without credit. As my members attach images regularly I searched for an option to restrict the attachment moderation only to .pdf so that won't happen again.

What files are modified:
/includes/functions_file.php - only ~ 2 minutes

Notes and explanations:
You'll find the following array when you successfully installed this mini mod:
Code:
	$moderatethisattachments = array(
					 'pdf',
					 'txt',
					 'doc',
					 'xls'
					 );
Here you can select which files should be moderated. The code above tell the script to moderate: pdf, txt, doc and xls (which I do on my forums).

You can add more extensions quite easily.. Here's another example which only moderates .avi:
Code:
 	$moderatethisattachments = array(
					 'avi'
					 );


I hope you like this mini mod. Hopefully one of the advanced coders takes up this idea and makes a nice hack out of this one (please contact me first via PM)

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • MarcoH64

vblts.ru supports vBulletin®, 2022-2024