tatiana_k (@tatiana_k)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • tatiana_k
    Participant

    @tatiana_k

    Thank you for your reply, Stephen Edgar! I created a ticked, and I hope I haven’t messed. 🙂

    Yes, I create all protected topics manually but it’s impossible to manually protect every reply from every user.

    When I enter the topic name in the search field, I can see only the replies for the protected topics and both the topic and the replies for common topics. I guess that excludes protected posts from the search results, but since the replies are not protected automatically they are visible to everyone.


    tatiana_k
    Participant

    @tatiana_k

    Yes, I think that’s the point. I hope the developers will read this topic. I can fix it, but most people cannot…

    To secure the replies you have to do the same steps with the file loop-single-reply.php (line 65 or near). Thanks for reminding, I would have missed this.


    tatiana_k
    Participant

    @tatiana_k

    @freewpress,
    1. copy file loop-search-reply.php to your theme folder
    2. Open it and find <?php bbp_reply_content(); ?> in line 57 or near it.
    Change it with

    <?php if ( !post_password_required(bbp_get_reply_topic_id()) ) {  bbp_reply_content();  }
    else {
    ?>
    <span class="your_message_class">Sorry, you can't read this reply.</span>
    <?php } ?>

    Anyway, I hope the plugin authors check this issue.

Viewing 3 replies - 1 through 3 (of 3 total)