Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show Activity Comments To Everybody

  • @djsix

    Participant

    People who are not logged in to my site can see posts and new registered users in the activity section, however, they cannot see comments on the posts that are located in the activity section.

    After doing a Google search, I have found other people with this complaint, but no solution.

    I would like to encourage people to join my site by seeing actually activity in the activity section.

    Is there a plug-in or a code for this?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • @djsix

    Participant

    So nobody can help me with this? I don’t get it.

    The plug-in, “Buddypress Sitewide activity widget” shows ALL activity to EVERYONE (logged in or not), but it is in the sidebar, and I would prefer it be in my activity stream, not the the sidebar.

    Is there a way to get the activity stream to show ALL activity to even the non-members?

    @mrjarbenne

    Participant

    This isn’t standard behaviour. By default BP has no privacy settings, so what you see as an anonymous user is the same as what you see when you are logged in. By default, comments are threaded in the activity stream, but it could be that your theme developer has decided to add this additional functionality. What happens when you revert back to a default theme like twenty eleven? Do you still see the same behaviour?

    @djsix

    Participant

    Thank you for your reply!

    That did it. When I changed themes they showed up. I’m using the Gamepress theme, and I’d like to keep it. Is there something I can look for to fix in the theme?

    @mrjarbenne

    Participant

    I’m not familiar with that theme, but clearly it contains a bit of custom BP magic beyond just providing a content area. Depending on how the theme has been coded (and crossing your fingers that the theme has well-documented inline comments to explain what each function does) I would take a look in the functions.php file of that theme and see if you can find something with if ( is_user_logged_in() or if ( current_user_can('read') ) to see if they are trying to identify logged in and logged out users.

    @daughterknight

    Participant

    I have the exact same problem but I am using the Buddypress Default theme – and I have never tinkered with the code.

    I would be very grateful if anyone could give me an idea of what might be going on and how to fix it.

    @djsix

    Participant

    So, I decided to give up on trying to figure out the code for that theme, and just went ahead and switched to Twenty Fourteen, and I have the same problem; no comments in the activity stream.

    I realized, when I said the problem was resolved by switching to another theme, I was actually logged in, and that is why I could see the comments.

    So, I still have the same problem, on two different blogs, there are no comments shown to logged out users, in the activity stream.

    @r-a-y

    Keymaster

    Hi Djsix,

    The problem occurs because a check is added to see if a user is logged in before the activity comments block is displayed.

    I’ve created a new ticket about this here:
    https://buddypress.trac.wordpress.org/ticket/5567

    In the meantime, you can override the specific template by copying wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php to your theme.

    The file should reside here – wp-content/themes/YOUR-THEME/buddypress/activity/entry.php. Then, make the file change listed in the patch linked in the ticket above.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show Activity Comments To Everybody’ is closed to new replies.
Skip to toolbar