chriscoe71
2009-09-30T13:19:00Z
One of our requirements was to limit the number of attachments that could be placed on a single post.

Attached is the Patch file for the changes that were done.

This adds a new textbox under Admin > Host Settings called "Maximum Number of Attachments per Post". I set the Default to 5, which was our requirement.

If the number is greater than 0 and the user has uploaded the maximum, then the Upload table row is hidden from the client. If they delete one of their attached files, then the Upload table row is displayed again.

Jason

File Attachment(s):
maxnumberofattachments.zip (2kb) downloaded 42 time(s).

Sponsor
midwestSS
2009-09-30T13:47:50Z
herman_herman
2009-09-30T13:53:08Z
Excellent.Thanks
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2009-10-01T16:53:03Z
Committing to the trunk... thanks!
chriscoe71
2009-10-02T01:11:39Z
Jaben wrote:

Committing to the trunk... thanks!



Thanks to you and the rest of the contributors! This is an excellent project and I am happy to help where and when I can.

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