This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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]
 
wood burning stoves
 
subject: Is it possible not allow users to edit their posts?
 
Similar Threads
Interface quiestion
java runtime
Edit button for old posts
coderanch won't let me edit anything
editing posts