Support » Plugin: bbPress Pencil Unread » Topics with no replies won`t get marked as read

  • Hi,

    topics with no replies won`t get marked as read due to a not reliably action hook. If a topic has no replies, the hook will not get fired.

    I changed the hook to ‘bbp_template_after_lead_topic’ which solves the issue. So the topic gets marked as read, if the user visits the topic regardless of any replies.

    #bbpress-pencil-unread.php
    Line: 243

    //add_action('bbp_template_after_replies_loop',array(&$this,'update_current_topic_read_by'));       //single topic
    add_action('bbp_template_after_lead_topic',array(&$this,'update_current_topic_read_by'));       //single topic

    Regards Philipp

  • The topic ‘Topics with no replies won`t get marked as read’ is closed to new replies.