Forum File Attachment

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/12/2010 8:46:19 AM
Gravatar
Total Posts 154

Forum File Attachment

How can I configure attaching files to certain posts?  I don't think we want any user to be able to upload files to the forum though.  We would want to be able to share certain files with customers and would like to post them directly to the forum.  Is this possible?

10/12/2010 9:05:17 AM
Gravatar
Total Posts 18439

Re: Forum File Attachment

As an admin you have the full toolbar in the editor and you can upload and link to files using the link toolbar item which allows uploading and browsing to files to link to.

Hope it helps,

Joe

10/12/2010 9:38:30 AM
Gravatar
Total Posts 154

Re: Forum File Attachment

Thanks Joe!  Is there anyway I can make the file secure so it can only be downloaded through that forum.  Certain files we have need to be protected through users authentication.

How can I modify what file types are allowed to be uploaded?

10/12/2010 11:15:09 AM
Gravatar
Total Posts 18439

Re: Forum File Attachment

The only thing we have that can protect files by role is the Shared Files feature. You could potentially upload the file in a page with Shared Files protected by the same roles as your forum page. Then you could copy and paste the download link from the Shared files into the link in your forum post.

As far as allowed upload extensions, from memory I don't think shared files limits the allowed extensions since it does not store the file on disk with the original extension.

For files uploaded through the editor or file manager it is constrained by settings in Web.config

Hope it helps,

Joe

10/12/2010 11:34:31 AM
Gravatar
Total Posts 154

Re: Forum File Attachment

I liked the shared files option better.  It works really nice.  I think it will be easier to maintain too!  Thanks Joe!

10/12/2010 2:15:26 PM
Gravatar
Total Posts 154

Re: Forum File Attachment

I will need to upload some large files.  This one in particular is 1.6GB.  During the upload it failed and I got this error.  Error: Thread was being aborted.  Any ideas on how I can get this to go through?

10/13/2010 6:47:07 AM
Gravatar
Total Posts 18439

Re: Forum File Attachment

ThreadAbortException will happen if the request times out before the file finishes uploading.

That is a very large file, I hope you have really good hosting if you plan to have lots of users downloading large files like that from your site.

http://www.mojoportal.com/supporting-large-file-uploads.aspx

Best,

Joe

10/13/2010 10:10:15 AM
Gravatar
Total Posts 154

Re: Forum File Attachment

Got it!  Thanks Joe!  We have 20M up and down on fiber.  This file is worst case scenario and wont be downloaded very often.

12/29/2010 12:59:20 PM
Gravatar
Total Posts 154

Re: Forum File Attachment

Hi Joe!  Is there any way we can allow attaching of a file to a forum without allowing the users administrative privileges.  One of my managers would like to allow the users to post files right to the forum without having to go through the downloads page. 

5/3/2011 12:03:43 PM
Gravatar
Total Posts 154

Re: Forum File Attachment

I was wondering if my last question is possible?  We have a growing need for our customers to be able to attach files to their forum posts without giving them administrative privileges.

 

 

5/3/2011 1:40:51 PM
Gravatar
Total Posts 18439

Re: Forum File Attachment

You can do this currently by going to Administration > Site Settings > Permissions > Roles that can upload and browse but only in a user specific location, and check the box for "Authenticated Users"

Then users can upload images in the forums using the image toolbar item in the editor and can upload files and link to them from the link dialog in the editor which allows browsing/uploading files.

Best,

Joe

5/3/2011 2:02:38 PM
Gravatar
Total Posts 154

Re: Forum File Attachment

How do I modify the allowed file types? Are there any plans to add a browse and attach file directly to the forum post page?

5/3/2011 2:11:22 PM
Gravatar
Total Posts 18439

Re: Forum File Attachment

How do I modify the allowed file types? 

Look at the settings in Web.config for allowed file extensions, you can copy that to user.config and modify it.

Are there any plans to add a browse and attach file directly to the forum post page?

That is what this allows, users can upload a file and create a link to the file, it isn't an attachment in the same sense as email has attachments because this is not email it is a forum and a forum is just a web page in a web page you can link to files. There is no different implementation planned. If by attachment you mean you want to have an icon next to the link like a paper clip that could already be done by some clever css based on file extensions, no feature needs to be implemented to do that.

Best,

Joe

5/3/2011 2:38:13 PM
Gravatar
Total Posts 154

Re: Forum File Attachment

I would like the users to be able to click "file upload", click browse, select the file, and the file will appear as a link in the post or right below the post text.  Similar to what you have with less steps involved.  Maybe Joe from i7 can code this for us?

You must sign in to post in the forums. This thread is closed to new posts.