BuddyDev

Search

Display buddypress activity comments to non-logged in users.

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #33653

    In buddypress, Activities can be viewed by anyone visiting the site and users do not need to login.

    however the comments on these activities are displayed to only logged in users. Non-logged in users are not able to view comments on activities. Any hints on how to change this behaviour?

    Thank you

  • Keymaster
    (BuddyDev Team)
    Posts: 24642
    Brajesh Singh on #33656

    Hi,
    This is not the default behaviour. Either your theme or someplugin/code is causing it.

    By default, the activities as well as activity comments are visible to everyone. Try looking into bp-custom.php, your child theme’s functions.php and then by disabling plugins one by one.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #33672

    Hi Brajesh,

    Thanks for the quick response. I will have a look.

    Thanks
    Chandan

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #33712

    Hello Brajesh,

    Thanks for your input. You are right. It is displaying all comments.

    Is there a way to conditionally hide this comment section. For example in site wide activity page i want to hide comment section but in individual activity page like ‘site/members/username/activity/123’ i want to display this comment section. Is it possible? Any pointers on this.

    Thanks
    Chandan

You must be logged in to reply to this topic.

This topic is: not resolved