Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.

Question Shorten text in activity stream.

More
15 years 7 months ago #65730 by fxstein
Based on the high demand and my wife letting me spend my night on this, I have some good news for you guys... ;-)

I was able to add an activity stream limit into the config (0 for unlimited, otherwise number of characters) in addition to a new Read More... link at the bottom of that message.

This has been committed into the 1.6.1 trunk and will head to our testers shortely. Expect to see this out there within a week or 10 days - as long as we don't find any more serious 1.6 issues.

Hope this helps!

Go check it out (for new post and replies only): www.kunena.com/people


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim arcu, cursus non consectetur pellentesque, suscipit pulvinar eros. Donec molestie, diam ut pharetra sodales, nulla sem facilisis diam, vitae convallis libero tellus sed nulla. Integer venenatis libero eu ligula vestibulum consequat. Cras rhoncus, nisi facilisis vulputate egestas, enim massa sagittis nibh, sed euismod est magna non est. Donec eu ultricies tellus. In hac habitasse platea dictumst. Duis vestibulum, dolor in molestie consectetur, felis ante hendrerit nulla, vitae vestibulum orci diam sed nisi. Aenean iaculis tempus orci, at sollicitudin tortor fermentum eu. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In iaculis, est at feugiat malesuada, justo nulla dapibus massa, non facilisis risus ipsum eu est. Vivamus malesuada mi ac diam volutpat et dictum dui posuere. Cras quis purus eget ipsum tincidunt imperdiet sed sed felis. Sed euismod, dui placerat tristique aliquet, arcu augue semper urna, in facilisis enim massa ut quam.

Donec vehicula laoreet tortor vel viverra. Nulla nunc ipsum, lacinia et vestibulum et, pretium id magna. In facilisis, justo vel dictum dignissim, risus lectus elementum dui, sed congue tellus magna ut felis. Praesent quis leo sit amet ante sollicitudin condimentum ut eget lorem. Donec sit amet arcu sed diam vestibulum tempus luctus id nisl. Sed eget tortor turpis. Phasellus gravida ligula sit amet nunc ornare tincidunt. Duis magna justo, vulputate non dictum vel, dignissim non eros. Maecenas posuere justo a leo feugiat pellentesque. Donec elit dui, varius eget lacinia et, cursus nec nibh. Donec in fermentum neque. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod leo fringilla felis tempus accumsan. Ut eu mauris nibh, sed hendrerit neque. Nullam sollicitudin mauris et mauris venenatis auctor. Pellentesque bibendum enim dolor, non sodales tortor.

In hac habitasse platea dictumst. Duis bibendum orci sed turpis dignissim convallis. Cras mollis vulputate erat sit amet cursus. Integer pellentesque vehicula nisi, nec dictum sem convallis id. Aliquam erat volutpat. Vestibulum semper nunc et arcu sodales quis auctor augue rutrum. Proin vel est lectus, ut feugiat nisi. Praesent tempor, magna ut placerat pulvinar, justo mi cursus dolor, ac lacinia elit tortor vitae lorem. Quisque mi libero, auctor eget rhoncus ut, scelerisque congue lorem. Quisque eget augue ut elit mattis aliquet eu non lorem. Etiam aliquam odio eget ligula interdum blandit.

We love stars on the Joomla Extension Directory . :-)
The following user(s) said Thank You: woonydanny, MarkBoy81, dylanphelan

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #65763 by dylanphelan
That's great! looks forward to trying it out!

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #65819 by WinuxFF
fxstein

Just a small thought
How is possible to generate the exact link in "Read More" but not in the activity item itself?

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #65820 by fxstein

WinuxFF wrote: fxstein

Just a small thought
How is possible to generate the exact link in "Read More" but not in the activity item itself?


Very good question. This is the essence of what many have asked before.

We use something that is called Activity Stream Aggregation in JomSocial. The aggregation allows us to pu multiple replies against a single topic into a single line of the activity stream, with all the names of the repliers listed. You can see that on our own activity stream with topics that have multiple replies in a single day. This is important for all larger forums as replies to a single topic would otherwise 'spam' the stream with the same topic.

The logic for doing that requires a very specifc syntax inside the activity stream, as the aggregation is performed by JomSocial and not by Kunena - we just supply the data.

We basically have to provide the user data seperate from the Activity header and detail text. It is that activity header that is being used by JomSocial to perform the aggregation. We can embed a link or anything we want,

BUT

that header must be EXACTLY identical for all entries that we want to get aggregated. If you vary the entry by a single byte or a different page number or post id, the aggregation will not recognize this as the same topic. There for the embedded link to the topic must be the same for all entries.

That all is for the header of the activity stream entries.

Now the body of the activity stream can contain any text - the actual text used to display the item. It has nothing todo with the aggregation and will vary from entry to entry. JomSocial displays the latest one of these under the header in the activity stream. Because of that, we can stick anything we want into that activity body, including a Read More... link to the exact location of the post - not only the thread - like it is in the header.

With the implementation of the activity stream body character limit, we combined it with that new Read More button... (an by the way we use the JomSocial read more css class to make it follow the styling of your JS template).

Hope this clarifies a few things.

We love stars on the Joomla Extension Directory . :-)
The following user(s) said Thank You: WinuxFF

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago - 15 years 7 months ago #65839 by Blogmudgeon
That is incredible. fxstein, you ARE the man...:P

This will end that nasty little compromise of limiting all of the JS activity feeds by hacking the default template activities.index.php file.

P

73 de Patrick

Joomla! 1.5.22
JomSocial 1.8.11
Kunena 1.6.1
EasyBlog 1.1.116
Last edit: 15 years 7 months ago by Blogmudgeon. Reason: Flash flood in the kitchen

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #65846 by WinuxFF
So basically, header must be the same for all activities that will be cumulated into one.
It makes perfect sense now.
Thanks for clarification @fxstein
Although its not the time and place, i must admit your rather useful insight just helped me to better understand JS activity stream and problems i had while trying to use it with other components :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.255 seconds