BuddyBoss Home – Web Support Forums Themes Boss. theme Cant get my comments to load for non-logged in users

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #41753
    @johnny

    Please have a look at the following post:
    http://inside.tradr.com/126-free-ways-to-get-more-traffic-to-your-small-business-website/

    There is no way for comments to display for non-logged in users. (even though you don’t have to login for commenting in the settings of the site)

    When they do login, they are presenting with the comments box.

    Then, after submission and approval, the comment appears.

    How can i get non-logged in users to work?

    Any ideas?

    Cheers,

    Johnny

    Answers

    #41762

    Alyssa
    Participant
    @alyssa-buddyboss

    @johnny the theme should show them to all users. I can see them on your site. Caching issue perhaps?

    #41789
    @johnny

    Yeah the comment is being shown..

    However, to create a new comment you have to login…

    Is it possible to add a new comment without logging in?

    I have replicated the issue on your demo site:

    http://demo.buddyboss.com/boss/the-boss-advantage/#respond

    If you are not logged in, you cannot leave a comment.

    If this is the case, perhaps, adding a link saying:

    “Please login to leave a comment” would be appropriate.

    #41812

    Alyssa
    Participant
    @alyssa-buddyboss

    @johnny ah, I see. It appears we have a custom comments.php file. I’ll see if the devs will change this to default WordPress file, no reason we should override WordPress options. On line 59 find:
    is_user_logged_in()
    change to:
    1==1
    as always copy the file to your child theme and edit there.

    #41815
    @johnny

    Thanks for checking that out.

    I will wait for the next update.

    Thanks!

    #41851

    Alyssa
    Participant
    @alyssa-buddyboss

    @johnny we can’t revert to the default wordpress file but we can remove the if statement to check if a user is logged in.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Cant get my comments to load for non-logged in users’ is closed to new replies.