We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Mailbox disable atachment? | Forum

Topic location: Forum home » Support » General Questions
Marcus
Marcus May 29 '19
How to get rid of atachments in mailbox messages. Or at least only allow photos. Im not runnung sharing site its stupid.
Patricia Zorrilla Leader
Patricia Zorrilla May 29 '19

You have two ways:

To the rough: putting the folder "tusite.com/ow_userfiles/plugins/mailbox/attachments" in "read only" mode

Or modifying the Messajes plugin 

Marcus
Marcus May 29 '19
Great gonna try changing folder permissions.

Marcus
Marcus May 29 '19
Thanks
Catkin
Catkin May 30 '19

another more simple method is to go to:

Settings > Content Settings > File Attachments > Allowed Extensions


And then remove all the file types that are not image file extentions. Much more simple task.You can also then go into:


Settings > Language > Search


and search for "Invalid file type. {$name}" and you can change the error message displayed when people upload file types not fetured in that list. for example "Image files only"


Hope this helps!


Marcus
Marcus May 30 '19
Wow so simple thanks so much
Christine David
Christine David Dec 7 '19

Quote from Jamie

another more simple method is to go to:

Settings > Content Settings > File Attachments > Allowed Extensions


And then remove all the file types that are not image diebestetest file extentions. Much more simple task.You can also then go into:


Settings > Language > Search


and search for "Invalid file type. {$name}" and you can change the error message displayed when people upload file types not fetured in that list. for example "Image files only"


Hope this helps!


Thank you so much for sharing such a useful information. I will definitely share this with others.
The Forum post is edited by Christine David Dec 7 '19
Marcus
Marcus Dec 7 '19
The only way to truly get rid of it is by altering core code.