Log in

View Full Version : "New posts" icon isn't being updated!


Jujubee
07-22-2001, 02:30 PM
Here, and on other forums, when I view a "new" thread and then go back to the threadlist, the new/hot/old thread icon changes to the "No New Posts".

But on my board the "New posts" icon remains! I can view the thread 20 times and force a refresh on the thread page and threadlist pages, but the icon stays at "New posts". :confused:

It only reverts to "No New Posts" when I leave the board and return 15 minutes later (that's what my cookie timeout is set to).

Why is it doing this? I looked through forumdisplay.php and it seems cosher:


if ($bbuserinfo[lastvisitdate]=='Never') {
$thread[newoldhot]='new'.$thread[newoldhot];
} elseif ($thread[lastpost]>$bbuserinfo[lastvisit]) {
if (!isset($bbthreadview) or $bbthreadview[$thread[threadid]]<$thread[lastpost]) {
$thread[newoldhot]='new'.$thread[newoldhot];
}
eval("\$thread[gotonew] = \"".gettemplate('forumdisplay_gotonew')."\";");
}

eva2000
07-22-2001, 02:34 PM
i believe the cookie is forum wide so hence you need to wait 15 mins

Jujubee
07-22-2001, 02:57 PM
Thanks for the response, Eva.

My problem is not the cookie timeout.

It's that the behaviour I describe only occurs on my board! (Hmmm...just tried yours and it's the same "problem")

Here and on most of the other Vb boards that I've tried, if I view a thread (icon: https://vborg.vbsupport.ru/) and then click Forum Jump GO (to go back to the thread list), the thread I just viewed shows as "No New Posts" (icon becomes https://vborg.vbsupport.ru/).


(BTW, I force refresh on every page just to make sure it's not my cache, but it makes no difference)

eva2000
07-22-2001, 03:01 PM
Originally posted by Jujubee
Thanks for the response, Eva.

My problem is not the cookie timeout.

It's that the behaviour I describe only occurs on my board! (Hmmm...just tried yours and it's the same "problem")

Here and on most of the other Vb boards that I've tried, if I view a thread (icon: http://www.vbulletin.com/forum/images/newfolder.gif) and then click Forum Jump GO (to go back to the thread list), the thread I just viewed shows as "No New Posts" (icon becomes http://www.vbulletin.com/forum/images/folder.gif).


(BTW, I force refresh on every page just to make sure it's not my cache, but it makes no difference) same happens with mine but i just thought it was the cookie that's all

Freddie? Kevin? Ed?

ztsky
07-22-2001, 03:09 PM
go to your admin cp .set the cookies timeout.

Nobody
07-22-2001, 03:11 PM
You must stay inactive for the X amount of seconds the thing in the CP tells you. You can of course adjust it.

Jujubee
07-22-2001, 03:26 PM
Hmm, I don't think it's the cookie -- unless most boards have the timeout set to 1 second.

It works fine on these boards:

http://www.chins-n-quills.com/forums/
http://www.dvdtalk.com/forum/
http://www.vbulletin.com/forum/ ;)

TO TEST:

1- Click thread title
2- immediately click "Go" on the Forum Jump (don't use BACK!)
3- look at the icon for the thread you clicked in #1

Now go to http://animeboards.com and try the same procedure - the icon won't change.