1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot "mark" thread as read after changing last_post_date

Discussion in 'XenForo Development Discussions' started by mgl, Apr 10, 2015.

  1. mgl

    mgl Member


    I'm changing the last_post_date of selected threads to the current time (bumping them):

    $this->_updateThreadsBulk($threads$forums, array('last_post_date' => time()), 'threadUP');
    The code works. But then the selected threads will always be marked as unread, no matter how many times I open them. They can only be marked as read if I mark all forum as read.

    Any idea why this is happening?

    Thank you

Share This Page