Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2001, 02:30 PM
Jujubee Jujubee is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".

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')."\";");
      } 
Reply With Quote
  #2  
Old 07-22-2001, 02:34 PM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i believe the cookie is forum wide so hence you need to wait 15 mins
Reply With Quote
  #3  
Old 07-22-2001, 02:57 PM
Jujubee Jujubee is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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: ) 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 ).


(BTW, I force refresh on every page just to make sure it's not my cache, but it makes no difference)
Reply With Quote
  #4  
Old 07-22-2001, 03:01 PM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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: ) 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 ).


(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?
Reply With Quote
  #5  
Old 07-22-2001, 03:09 PM
ztsky
Guest
 
Posts: n/a
Default

go to your admin cp .set the cookies timeout.
Reply With Quote
  #6  
Old 07-22-2001, 03:11 PM
Nobody
Guest
 
Posts: n/a
Default

You must stay inactive for the X amount of seconds the thing in the CP tells you. You can of course adjust it.
Reply With Quote
  #7  
Old 07-22-2001, 03:26 PM
Jujubee Jujubee is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06627 seconds
  • Memory Usage 2,218KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (5)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete