-
Author
-
September 24, 2017 at 22:48 #174666monsurc1Participant
Hi,
There is a load more button under activity stream. and there is a view comment button for every user each new comments It is good. Is it possible to have it under the comment/conversation section under site-wide activity as well? upto 3/5 replies may be good to show and then more/Load more can expand the rest of the replies or like view comments under user activity stream.
I think the system is there, just you need to add it.
Thank you.
Attachments:
You must be logged in to view attached files.September 24, 2017 at 23:19 #174671Kieran_SQModeratorHi,
This is a long standing issue in BuddyPress with how it calculates how many items to show, you can adjust how many items are shown by going to WP Admin > Settings > Reading > Scroll to: Blogs to show at most.
Though I will also move this ticket to Feature Requests as others may well be interested in having this feature.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 25, 2017 at 02:43 #174678monsurc1ParticipantHi Kieran_SQ,
Thanks for your reply.
Your solution has not worked for me. is there any quick solution/tweak for this?Thanks again.
September 25, 2017 at 23:44 #174760Kieran_SQModeratorHi,
I will ask one of developers, @Radu, to look into this for you as they’ll be better equipped to offer a solution. They’ll be in touch either on Tuesday or Wednesday.
Thanks for your continued patience,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 29, 2017 at 17:29 #175190monsurc1ParticipantHi Kieran_SQ,
I know you guys are busy, but I am sure someone from you know the solution.
I look forward to hearing soon.Thanks.
September 30, 2017 at 16:01 #175236Kieran_SQModeratorHi,
Please try the below snippet in your KLEO Child theme’s functions.php file. This snippet will generate a ‘Show / Hide’ button next to the comments button, by default comments will be set to hidden. I have tried this locally with success.
COPY CODE// Show or hide comments hidden by default add_action( 'wp_footer', 'add_comment_hide_show' ); function add_comment_hide_show() { ?> <style> .activity-comments ul li[id^="acomment-"]{display: none;} </style> <script type="text/javascript"> jQuery(function($) { setInterval(function() { $('.activity-meta').each(function() { if( !$(this).find('.show-comments').length ){ var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>'; $(this).find('.button.acomment-reply').after(html); } }); }, 500); $('body').on('click', '.show-comments', function(e) { e.preventDefault(); var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul li[id^="acomment-"]'); obj.slideToggle(); return false; }); }); </script> <?php }
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
October 1, 2017 at 02:06 #175308monsurc1ParticipantExcellent solution though it would be nice if you can provide me what I was looking for. Better to have 3/4 comments and then ‘show more’ button. It is in your code somewhere.
Anyway I loved it and Thanks a lot.
October 1, 2017 at 03:54 #175311Kieran_SQModeratorHi,
I have already forwarded this to a developer for review and moved this to a feature request. The solution I provided above should be used only in the meantime.
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
The topic ‘Load more’ is closed to new replies.