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

Filetypes allowed in newsfeed? | Forum

Topic location: Forum home » Support » General Questions
Rev. Curt Guldenschuh
When attempting to upload several different types of files to my newsfeed status I was greeted with a remark stating that certain filetypes were not allowed.  What filetypes are allowed in the newsfeed?  Can I alter the allowed filetypes?

ross Team
ross Team
ross Feb 8 '15
Only these formats are allowed: 'jpg', 'jpeg', 'png', 'gif'

To change this is considered as a custom code modification. You're free to do that on your own or hire a programmer. You can do that here: http://www.oxwall.org/market/specialists


Also you can make a post in the custom code modification section of the forum, probably some community member will assist you with that. 

Rev. Curt Guldenschuh
Sorry for placing the post in the incorrect forum.  I would prefer to make the change myself.  I would also appreciate if someone could give me an idea which file I need to modify.

ross Team
ross Feb 9 '15
ow_system_plugins/base/controllers/attachment.php 
Rev. Curt Guldenschuh
Thank you, sir.

Rev. Curt Guldenschuh
Where am I able to upload files such as ZIP, DOC, PDF, etc.?  I've attempted to do so in the newsfeed as well as in the groups and neither allow this.  I have not tested the forums yet.  I have checked my configs as well as the MySQL database and from what I can see I should be able to upload these types of files.


ross Team
ross Feb 10 '15
If you're referring to the allowed extensions indicated here: www.site.com/admin/settings/user-input these are for forum attachments. 
Rev. Curt Guldenschuh
Ok.  I tested attaching a PDF in a forum.  The post registered.  I did not receive any kind of error, however I cannot find where the attachment went nor can I find anything that tells me it even exists with the post.

ross Team
ross Feb 10 '15
the file went to ow_userfiles/plugins/forum/
Rev. Curt Guldenschuh
Here's a clip from the forum....

Attachments:
  forum.png (18Kb)
Rev. Curt Guldenschuh
It allows me to attach images but no other type files?  What do I need to do to correct this?  My server at Active Webhosting does allow the filetypes I have attempted to attach.


Rev. Curt Guldenschuh
The only file in that folder is the image I attached.  The DOC and PDF are nowhere to be found.

Rev. Curt Guldenschuh
This shows the image attachment...

Attachments:
  forum2.png (30Kb)
Rev. Curt Guldenschuh
I stand corrected.  I'm old and my brain has leaks.  My CGI server does not allow the DOC, PDF, etc., but does allow the image files.  My regular webspace does allow the DOC, PDF, etc.  I guess I need to find a way to redirect to my web rather than the CGI.  Please accept my humble apology.

Rev. Curt Guldenschuh
You have my permission to delete this thread.

ross Team
ross Feb 10 '15
Alright, thanks for letting us know. I'm going to leave the topic here, probably some community member will find it useful. 
Rev. Curt Guldenschuh
Wait till you get my age and try to keep things from falling out of your brain and getting lost.