This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JForum and the fly likes Is it possible not allow users to edit their posts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Is it possible not allow users to edit their posts?" Watch "Is it possible not allow users to edit their posts?" New topic
Author

Is it possible not allow users to edit their posts?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
Is there possibility to set that user can't edit even their own posts after it was posted? Event better would be if they can't edit post after somebody has already replied to it.
[originally posted on jforum.net by palko]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A quick and dirty way to do this would be to modify the templates to disable editing. You might be able to use Freemarker's script to check for replys as well.

A more full-proof way would be to modify the PostAction.edit() method to do what you want.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible not allow users to edit their posts?