2.2.7.5. Forum User Listener

This plugin is used to create a profile in the Forum for each new user and process the user information when the user is deleted.

You can find the configuration file of this component at: extension/webapp/src/main/webapp/WEB-INF/ks-extension/ks/ks-configuration.xml.

To use the plugin in the component configuration, you must use the following target-component:


<target-component>org.exoplatform.services.organization.OrganizationService</target-component>

Sample Configuration


<component-plugin>
  <name>forum.user.event.listener</name>
  <set-method>addListenerPlugin</set-method>
  <type>org.exoplatform.forum.service.conf.ForumUserListener</type>
  <description>creates a profile in forum for each new user and calculate info when deleted user.</description>
  <init-params>
    <properties-param>
      <name>user.profile.setting</name>
      <description>set default user profile</description>
      <property name="timeZone" value="GMT"/>
      <property name="shortDateFormat" value="MM/dd/yyyy"/>
      <property name="longDateFormat" value="DDD,MMM dd,yyyy"/>
      <property name="timeFormat" value="hh:mm a"/>
      <property name="maxTopic" value="10"/>
      <property name="maxPost" value="10"/>
    </properties-param>
  </init-params>
</component-plugin>

In which:

See the explanation about properties of this plugin here.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus