andreluizfelix
2011-04-11T18:17:56Z
I would like to enable uploading to the posts, but I can not.
could someone help me?
Sponsor
Dimi
  •  Dimi
  • 100% (Exalted)
  • YAF All-the-Time
2011-04-11T18:49:02Z
Originally Posted by: andreluizfelix 

I would like to enable uploading to the posts, but I can not.
could someone help me?


Well, the upload directory should be writable. 🙂 If it's not that detailed you will need to make the entire Virtual Directory writable. Also check the Upload path in your config file. it's usually OK by default. Finally check the forum settings for each group - the upload is not enabled by default in User Access Masks.
Dimi
UserPostedImage
JP
  •  JP
  • 100% (Exalted)
  • YAF Leader
2011-04-11T18:49:31Z
If you want registered members to be able to upload stuff, you have to enable it through the "Access Masks"...

By default the upload is disabled in the member Access Mask.

So you go to "Admin" -> Select "Users and Roles" in the left side menu -> Select "Access Masks" -> Select "Edit" on the Access Mask you wish to have uoload access and check the checkbox for Upload access.

If you wish to have also non-registered members being able to see & download the uploaded files (eg pics), you must also grant Download access to the "Read Only Access" mask.


Hope this helps a little...

/JP

And what Dimi says is also crucial, the uploads folder must have Windows file write access - you need to grant "Network Service" and maybe also "IUSR" write access to the uploads folder...
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
mcp
  •  mcp
  • 53.6% (Neutral)
  • YAF Forumling
2011-05-12T20:50:56Z
Also If you get a Maximum request length exceeded.you can put

<httpRuntime
maxRequestLength="1048576"
executionTimeout="3600"
/>

in your web.config

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved