Disable Attachments on board

Started by aED, January 16, 2009, 12:59:25 AM

Previous topic - Next topic

aED

Link to Mod

Disable Attachments on board

By default SMF has the option to enable or disable attachments but it would disable attachments on all your boards.

This mod will allow you to set which boards you do not want your members to upload attachments while still allowing other boards to accept attachments.

- To enable  this mod goto
   ~ Admin -> Features and Options and look for the new setting labeled "Disable attachments on this boards".    

- you must enter the board id and they must be separated by a comma. No comma after the last number. (i.e. 2,3,7,8,5,10)

brandonroy

Awesome. I'll probably try this because I really don't like attachments. I'd rather members use the image tags to post pictures.

:)

aED

Thanks! well if your really don't like attachments on your forum you can actually disable them straight from SMF. This is only used to disable attachments on specific boards that you do not want attachments. I used it in my forum because sometimes members attached files on board that is purely for discussion.



brandonroy

Quote from: aED on January 16, 2009, 10:28:24 PM
Thanks! well if your really don't like attachments on your forum you can actually disable them straight from SMF. This is only used to disable attachments on specific boards that you do not want attachments. I used it in my forum because sometimes members attached files on board that is purely for discussion.




I knew that! Where is my brain tonight?

Marcus Forsberg

Swedish translation:

Help.swedish.php
$helptxt['disable_attachments_on_board'] = 'Det här låter dig ange i vilka ämnen du inte vill låta medlemmar bifoga filer. Ange tavlornas ID och separera med kommatecken. Inget kommatecken efter det sista numret. (t.ex 2,3,7,8,5,10)';



ModSettings.swedish.php

$txt['disable_attachments_on_board'] = 'Inaktivera bifogade filer i följande tavlor.<br /><span class="smalltext">(Måste separeras med kommatecken. T.ex 2,3,7,8,5,10)</span>';

aED


Sabre™

Nice mod mate.
It may come in handy sometime.

Thanks :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


eledhel

does anyone know if this still works with 1.1.9?

thanks  :)

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


eledhel


madman71

Anyone know if this will work on 2.0 RC3?

Advertisement: