<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Social Activity - Point in the Configuration</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110000340" />
  <subtitle>Social Activity - Point in the Configuration</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110000340</id>
  <updated>2026-04-05T07:40:31Z</updated>
  <dc:date>2026-04-05T07:40:31Z</dc:date>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110248318" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110248318</id>
    <updated>2018-06-21T13:07:36Z</updated>
    <published>2018-06-21T13:07:36Z</published>
    <summary type="html">&lt;p&gt;Hmm -- ok , then the next thing I would try is something really big
  like 99999. Can you try that and report back?&lt;/p&gt;</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2018-06-21T13:07:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110229595" />
    <author>
      <name>Dinesh M</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110229595</id>
    <updated>2018-06-20T13:34:29Z</updated>
    <published>2018-06-20T13:34:29Z</published>
    <summary type="html">&lt;p&gt;Hi Andrew &lt;/p&gt;
&lt;p&gt;We tried  setting the property as -1 but we are not able see any
  change in the statistics output.&lt;/p&gt;
&lt;p&gt;Thanks for your reply &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Dinesh M</dc:creator>
    <dc:date>2018-06-20T13:34:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110079926" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110079926</id>
    <updated>2018-06-15T18:00:22Z</updated>
    <published>2018-06-15T18:00:22Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hmm --  I think I know how the records are pulled. If you look at the liferay portal source &lt;br&gt;&lt;br&gt;/modules/apps/collaboration/social/social-user-statistics-web/src/main/resources/META-INF/resources/user_display.jsp&lt;br&gt;&lt;br&gt;you will find the following code in the scriptlet --&lt;br&gt;&lt;pre&gt;&lt;code&gt;
	&amp;amp;lt;%
	for (SocialActivityCounter activityCounter : activityCounters.values()) {
		if (!activityCounter.isActivePeriod(SocialActivityCounterConstants.PERIOD_LENGTH_SYSTEM)) {
			activityCounter.setCurrentValue(0);
		}
	%&amp;amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;the constant there is the secret. Instead of using SocialActivityCounterConstants.PERIOD_LENGTH_SYSTEM you want it to use SocialActivityCounterConstants.PERIOD_LENGTH_INFINITE. I can't find anything in the UI for changing this, but there is this (default) portal.properties setting&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;##
## Social Activity
##

    #
    # Set the length of the counter period for social activities. The value is
    # in a number of days or the special keyword "month" to specify a month.
    #
    social.activity.counter.period.length=month&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Can you try setting that property in your portal-ext with a value of -1?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2018-06-15T18:00:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110079674" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110079674</id>
    <updated>2018-06-15T17:38:55Z</updated>
    <published>2018-06-15T17:38:55Z</published>
    <summary type="html">Hi Dinesh, &lt;br /&gt;&lt;br /&gt;Ok, now I understand -- I believe there is a setting that let&amp;#39;s you specify the retention period or something like that and it defaults to 30 days. I am having a hard time tracking it down right now though -- if I find it I will let you know. But yes, there is a setting, or there used to be at least.</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2018-06-15T17:38:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110073315" />
    <author>
      <name>Dinesh M</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110073315</id>
    <updated>2018-06-15T15:34:18Z</updated>
    <published>2018-06-15T15:34:18Z</published>
    <summary type="html">hi andrew&lt;br /&gt;&lt;br /&gt;After enabling the Social Activity points, we are able see the points through the User Statistics Portlet available.&lt;br /&gt;These points are getting increased &amp;amp; rank for the user was shown in the User Statistics Portlet.&lt;br /&gt;Let us say we are not using the Site for a month (i.e., Not posting any Message Thread) the rank disappears &amp;amp; the User Statistics Portlet becomes blank. Is this the behavior of Portlet &amp;amp; also we don&amp;#39;t option select the period to show case the data.</summary>
    <dc:creator>Dinesh M</dc:creator>
    <dc:date>2018-06-15T15:34:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110002417" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110002417</id>
    <updated>2018-06-14T16:22:23Z</updated>
    <published>2018-06-14T16:22:23Z</published>
    <summary type="html">Hi Dinesh.,&lt;br /&gt;&lt;br /&gt;Sorry, but I&amp;#39;m not really understanding your question. Can you try to give me some detailed steps of what you have done so that I can reproduce it on my side -- and then tell me once more what is missing that you want to see?</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2018-06-14T16:22:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110000860" />
    <author>
      <name>Dinesh M</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110000860</id>
    <updated>2018-06-14T16:04:12Z</updated>
    <published>2018-06-14T16:04:12Z</published>
    <summary type="html">hi andrew,&lt;br /&gt;&lt;br /&gt;Yes we are setting up the points system &amp;amp; we wanted to view in the User Statistics portlet (but this portlet also show only if the message board has active users). Can we get some pointers how have look deep into detail.</summary>
    <dc:creator>Dinesh M</dc:creator>
    <dc:date>2018-06-14T16:04:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=109997974" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=109997974</id>
    <updated>2018-06-14T15:50:18Z</updated>
    <published>2018-06-14T15:50:18Z</published>
    <summary type="html">Hi Dinesh, &lt;br /&gt;&lt;br /&gt;What is it you are looking for exactly? How to set the ranks and thresholds? How a user gets points? I did some work with the social API about a year ago so I am fairly familiar with how it all comes together -- sadly at the time I didn&amp;#39;t find much in the way of documentation and in the end dedicated time to just reading the source and understanding the flow. If you have a more specific question though, I might be able to help.</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2018-06-14T15:50:18Z</dc:date>
  </entry>
  <entry>
    <title>Social Activity - Point in the Configuration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110000339" />
    <author>
      <name>Dinesh M</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110000339</id>
    <updated>2018-06-14T15:38:47Z</updated>
    <published>2018-06-14T15:38:47Z</published>
    <summary type="html">Dear All,&lt;br /&gt;&lt;br /&gt;We are working on the Message Board &amp;amp; we want to know the details about the points that can enabled in the Configuration --&amp;gt; Social Activity.&lt;br /&gt;We have more confusion after enabling the Points. Is there any document / pointer related to this was available over the Internet.</summary>
    <dc:creator>Dinesh M</dc:creator>
    <dc:date>2018-06-14T15:38:47Z</dc:date>
  </entry>
</feed>
