By Julian on Tuesday, 22 July 2014
Replies 13
Likes 0
Views 662
Votes 0
Hi everybody,

when a Comment of Kommento creates an Activity, the Acticity can be commented in the activity-STream. This makes no sense: Users will comment in different places. It would much more sense to deactivate Activities in the Activity-Stream.

If you don´t want to deactivate them completely, maybe you could add an option in the backend: No Comments for Activity-Stream.

How can I change that as a quick soltuion on my installation?

All the best, Julian!
Hello Julian,

You can deactivate the comment activities in backend>Komento>Integration>Activities>Easysocial : http://screencast.com/t/ox1hx5Lgbt . And the arror show the option is you want to sync comment. This means that if you comment on the stream, it will be added as a reply in the comment for the blog post.
·
Tuesday, 22 July 2014 11:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Uh, that´s great.
I did not expect it to be so fluent.
Will test it today. ;-)
·
Tuesday, 22 July 2014 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, sorry, not correct:
I am using JomSocial, not Easysocial.
So the sync of comments does not work for me.

Wich brings me back to the original question:
When the Comments in the stream are not synced, I need to deactivate the commetns in the stream.
·
Tuesday, 22 July 2014 12:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

We are sorry but the comment in the stream is controlled by Jomsocial. But if you wish to deactivate the whole activities about new comment posted, you can turn off this option: http://screencast.com/t/04vkGsN3i . With this turned off, it won't generate any stream item if you comment on Komento.
·
Tuesday, 22 July 2014 12:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

that´s not what I mean.
The Activity itself is posted by Kommento. And while posting an Activity to the stream, it is possible to set the option that the Activity can´t be commented.
If you look at the actvity-streams of Kunena you will see exactly that behaviour: The Activity can be liked, but not commented.

Do you understand what I mean?

All the best, Julian!
·
Tuesday, 22 July 2014 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

I've discussed with the lead developer and seems like currently, it is not possible to do so unless we hack the Jomsocial activity file. You might want to replace the attached file in ..\components\com_community\templates\default\activities.actions.php and see how it goes.
·
Tuesday, 22 July 2014 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik,

that makes no sense to me.
How is Kunena doing it?

Kunena-Postings can´t be commented in the Activity-stream. And I didn´t hack anything of the Kunena-Files or JomSocial-Files.

All the best, Julain!
·
Tuesday, 22 July 2014 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

Perhaps if you can send us a copy of the plugin or even provide us with the access to your site, we'll take a look at what was done with Kunena. As per jomsocial's documentation, there's no way to actually do this.
·
Wednesday, 23 July 2014 00:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

well ... this is easy:
http://www.jomsocial.com/forum/modules-plugins-and-applications/7428-disable-comment-function-in-kunena-activity-stream-posts

My presupposition was, that the Activity-Plugin for Kommento-Comments is done by your component.
Well, obviously it seems like it´s not done by a plugin, but much more by a little hack in the core-elements of Jomsocial.
So sorry that I assumed it can directly be controlled by you.

What you maybe could do: If you could change the app-name for the Stream to "kunena.post", it would be possible to control that without any core-hack.
It is not the most elegant solution, but this way your Stream-Activities wou ld be handeled the same way as Kunena-postings, so no more Comments on Stream-Activities. Just as a thought ...

All the best, Julian!
·
Wednesday, 23 July 2014 01:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

Thanks for the information. We will see what we can do and will update you once we figured this out.
·
Wednesday, 23 July 2014 10:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

I've read the forum and I found that the solution is the same as my previous post. As you can see here:
This is pretty much simple, but as it is now, you will need to hack the activities.actions.php template file of jomsocial
Just add something like this
if($appName == 'appname'){
$allowComment = false;
$allowLike = false;
}


Here means, you still need to modify the Jomsocial's activities.actions.php file to make it work.
·
Wednesday, 23 July 2014 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, great, thank you .

All the best, Julian!
·
Thursday, 24 July 2014 09:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Julian,

You're welcome.
·
Thursday, 24 July 2014 10:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post