YAFLogo

andreluizfelix
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Also If you get a Maximum request length exceeded.you can put

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

in your web.config
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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