![]() |
how does vb know when a forum is read or unread
from what I can tell, it uses the fetch_forum_lightbulb function in functions_forumlist.php, correct?
But in that function, it doesn't do any user-level checking. For our forum, we have "Database (automatic forum marking)" enabled. So looking at the code, this is the only real check I see: Code:
if ($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) The reason I'm asking is because from what I can tell, that is the function that forumhome uses to get the $forum[statusicon]. I'm using the exact same function for a plugin of mine (tryin to test out something) in order to see whether a forum is read or not. But it's marking them ALL as new, even though only half of them are. It thinks my $userlastvisit is May 19th, how is that? |
nobody understands how this works? :(
|
All times are GMT. The time now is 10:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|