I thought it might be interesting to share some info about the last development I've been involved on these last days. This development has been sponsored by a client and consists on a new functionality in the portal which will allow users to flag content as inappropiate.
There will be a red flag icon near to several contents (blogs and message boards by now, and more to come) which will enable a user to flag some content as inappropriate for a reason and warn the administrator about it.
After a user flags some content as inappropriate, the administrators of the community/organization in which this content is located will receive an email explaining the content reported, the url where it can be seen, the author of the content, the reporter of the abuse... etc
We've made this feature configurable through several properties (although we are thinking of creating a user interface accessible through the control panel for them). These properties allow you to specify:
- Whether guest users are allowed or not to flag content
- The reasons for the inappropriate content
- The content of the email that is sent to the administrator as a result of the content being flagged
Besides adding this feature to several of the core portlets we've also created a new taglib called <liferay-ui:flags> which allows a developer to add it to their own portlets.
More information can be found in this wiki article: Flag Inappropriate Content.
By the way, don't flag this blog as inappropiate, the title was just an example... :P