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

What is the xf_thread_read table actually used for.

Discussion in 'XenForo Development Discussions' started by rainmotorsports, Dec 5, 2013.

  1. rainmotorsports

    rainmotorsports Well-Known Member

    Figured it would be rather simple to figure out the intended use and behaviour before I determine there is a problem and or determine whether I can use the table like Ragtek did.

    Ragtek's old thread reader addon used the information in the table to display who has read a particular thread. But on 1.2.2 (err having one of my programmers test this on 1.2.3 tomorrow) after importing my previous board it seems this table is only used when a user posts. Views of threads results in no entries but a posting does.

    Due some earlier keyed entries missing in my database I was afraid this was actually used like thread views was used in vB (probably Xenforo as well) to defer sometime of calculation. But there is no reason you would need to do that for posts only as that is calculated fairly easily from existing data.
     
  2. rainmotorsports

    rainmotorsports Well-Known Member

    Okay I tested myself on the 1.2.3 install real quick. Made a user viewed the test threads, the entries were made to the table.

    Any idea what permission would inhibit writing to that table that a user has viewed a thread? I think something got set on the import. That question kinda shifts this back to the other forum area... lol.
     
  3. AndyB

    AndyB Well-Known Member

    In the Admin Control Panel, check the "Read Marking Data Lifetime (Days)" setting.
     

Share This Page