This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes How can I disable attachments in all forums? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "How can I disable attachments in all forums?" Watch "How can I disable attachments in all forums?" New topic
Author

How can I disable attachments in all forums?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I want General Users to have attachements forbidden in every forum. How can I do that?
[originally posted on jforum.net by manugarciac]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
manugarciac wrote:I want General Users to have attachements forbidden in every forum. How can I do that?

Try going into Admin Control Panel / Attachments: Configuration / Maximum Number of Attachments = set to 0 (zero).
[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I would prefer for the attatch button to be disabled...
[originally posted on jforum.net by manugarciac]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
OK .. go into the Admin Control Panel / Groups / Permissions (for the General group) / Attachments .... highlight all the forums you do NOT want the general group to be able to upload attachments in. This may seem a bit counter-intuitive, since the highlighted forums are not allowed to have uploaded attachments for this group, but when you select anything other than "allow all" it becomes a restriction. Then click on the "save" button.

Now the "attach" button will not show for members of the General group in those selected forums.

(and remember to reset your max number of attachments in the control panel back to what it should be for other groups that are allowed to post attachments ... default is 3)

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
But it's the other way around, you highlight the ones you want to be able to upload in...
[originally posted on jforum.net by manugarciac]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
manugarciac wrote:But it's the other way around, you highlight the ones you want to be able to upload in...
\
Have you tried it? You may be surprised ..
[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Actually, yes, I had tried it... But it seems I had tried it wrong, because now it seems to be working.
[originally posted on jforum.net by manugarciac]
 
wood burning stoves
 
subject: How can I disable attachments in all forums?
 
Similar Threads
ConnectionFactory lookup returns null
Increase memory for tomcat
I've bought Sybex Java 2 Certification Virtual Trainer
Hide Standart Buttons in Taskbar
Assertion Doubt.