By Fred Schonenberg on Monday, 21 August 2017
Posted in General Issues
Likes 0
Views 481
Votes 0
Hi,

In our Easysocial site I would like to disable 'comments' on Discussions.
It doesn't make sense to comment without joining the discussion.

Any ideas?

Thanks in advance,
Fred
Hey Fred,

Sorry but not too clear which section are you referring to here. Would it be possible for you to provide the link to the post or perhaps a screen shot of the "comment" that you are referring to?
·
Tuesday, 22 August 2017 00:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

See attachment..
The page is the group 'Intranet' timeline.
People shouldn't comment, but join the discussion.
·
Tuesday, 22 August 2017 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently we do not have an option to disable this, but you can modify this file -> JoomlaFolder/media/com_easysocial/apps/user/discuss/discuss.php


// LINE 122
if ($verb != 'create') {
$item->comments = false;
}

//replace with

//if ($verb != 'create') {
$item->comments = false;
//}
·
Tuesday, 22 August 2017 19:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks
unfortunately we dont have this file /media/com_easysocial/apps/user/discuss/discuss.php

I'll add this code to my user.css:
.es-context-discussions .o-grid .action-title-comments {
visibility: hidden;
}

Same result, discussions only and visibility isn't going to break any of your script.
Thanks anyway!

Fred
·
Tuesday, 22 August 2017 19:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright Fred , thanks for getting back to us your resolved your issue.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 22 August 2017 20:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post