What is the xf_thread_read table actually used for.

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.
 
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.
 
Top Bottom