« 返回到 Page Flags Portlet

Flag Inappropriate Content

Introduction #

This functionality the portal allow users to flag content as inappropiate. (Report abuse)

There is a small icon of a red flag close to several contents (blogs, message boards and asset publisher) which enables a user to flag some content as inappropriate for a reason and warn the administrator about it. It can also be used as a portlet, so that users can report the inappropriate content in a page.

Features #

  • Any content/page in your portal can be reported
  • Editable list of reasons for reporting that can be shown to users
  • Allow or not guest users to flag your content
  • Comnnunity/organization administrators receive an email for every report with a link to the reported content

Configuration #

There are several properties in portal.properties that can be edited:

##

    1. Flags Portlet
  1. Input a list of questions used for flag reasons.

flags.reasons=sexual-content,violent-or-repulsive-content,hateful-or-abusive-content,harmful-dangerous-acts,spam,infringes-my-rights

  1. Email Notification Settings

flags.email.from.name=Joe Bloggs flags.email.from.address=test@liferay.com

flags.email.subject=com/liferay/portlet/flags/dependencies/email_flag_subject.tmpl flags.email.body=com/liferay/portlet/flags/dependencies/email_flag_body.tmpl

  1. Set this to true to enable guest users to flag content

flags.guest.users.enabled=false}}}

Development #

There is a taglib called <liferay-ui:flags> which allows to flag any type of content or pages in any portlet.

0 附件
33691 查看
平均 (0 票)
满分为 5,平均得分为 0.0。
评论
讨论主题回复 作者 日期
Good! So now, users can just put the tag on the... Anand Abhyankar 2009年12月14日 上午3:52
I want to add a report abuse functionality in... Satabdi Aditya 2010年6月29日 上午2:21
Very nice, especially that it is integrated... Hiran Chaudhuri 2011年7月31日 上午8:43

Good!
So now, users can just put the tag on the page to mark it inappropriate! excellent!!
Will it be available for document library, image gallery etc?
Waiting for it
在 09-12-14 上午3:52 发帖。
I want to add a report abuse functionality in the wiki portlet for individual wikis.Could anybody please help me in how to do so?
在 10-6-29 上午2:21 发帖。
Very nice, especially that it is integrated into each and every bit of Liferay content.
But apart from the emails, is it possible to display all the flags that have been created by users so they can be worked off by a team?
在 11-7-31 上午8:43 发帖。