Hi @b1gft,
Did you find a way to do this? I need something resembles this.
Thanks
Hope
No, if you come across a solution will you please let me know.
Hi @b1gft,
I’m also using Custom Community theme. What I wanted is to hide the long list of comments on the activity stream and only show the last comment with a link “show all comments” above it.
I could do this by doing the following:
in the “_inc” folder of “Custom Community” theme, open global.js file and change number ‘5’ in the following 2 lines to the number you want (I put 1 to only show the last comment):
1- if ( jq(this).children(‘ul’).children(‘li’).length < 5 )
2- if ( i < comment_lis.length – 5 )
In the previous lines, the latest 5 comments will be shown and a link “show all comments” will appear above comments. Of course this will happen when number of comments is above 5 (change the number to what you want).
As I saw this (alone) didn’t work with the last custom community update, what I had to do to make it work (beside modifying the number above) is commenting the following style commands:
.activity-comments .hidden{
display:none;
visibility: inherit;
}
in the file style.php of the theme folder (Core –> theme-genertaor –> style.php).
In this way everything will be ok. Hope this might help you in any way.
Regards
Hope
There is a plugin for this function
I think It is buddpress extras plugin
You can disable comments for activity post.
Im currently not At My pc
But if It isnt The correct name just reply and ill send You The plugin name