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

XF 1.3 Manipulating Last User Activity Manually

Discussion in 'XenForo Questions and Support' started by Recep Baltaş, Mar 24, 2014.

  1. Recep Baltaş

    Recep Baltaş Well-Known Member


    I want to have full control over my board, so I check every single topic and answer to questions if required. But somtimes, I miss some topics.

    In vbulletin, I was running a querry to set my login date to a previous date and then click on New Posts and voila, everything after that date was in front of me.

    I want to do the same with Xenforo. So, my question is, is this code OK ?

    UPDATE  `technopa_xenforo`.`xf_user` SET  `last_activity` =  '1394379900' WHERE  `xf_user`.`user_id` =1;
  2. Mike

    Mike XenForo Developer Staff Member

    I suppose you can do that if you want, but you're generally not going to see us recommend queries.

    You simply don't need to do that in XF. Last activity is not for tracking read content. That is tracked individually already.
    Amaury likes this.
  3. Recep Baltaş

    Recep Baltaş Well-Known Member

    I am not traying to track read content. By altering the last activity date, I will assume that I have not visited the site until that day. So when I login again, I will be able to track all the updated topics.

    This worked well with vBulletin.
  4. Amaury

    Amaury Well-Known Member

    As stated, you don't really need this in XenForo. Threads will be shown as unread until you read them or mark the forums read.
  5. Recep Baltaş

    Recep Baltaş Well-Known Member

    Logging in and out ? Can I still see the topics that I have not visited ?
  6. Amaury

    Amaury Well-Known Member


Share This Page