vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   "New posts" icon isn't being updated! (https://vborg.vbsupport.ru/showthread.php?t=23367)

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:


PHP Code:

  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

Quote:

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.


All times are GMT. The time now is 07:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01024 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete