vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Cookies... Hmmm (https://vborg.vbsupport.ru/showthread.php?t=10451)

conan 03-04-2001 07:14 PM

Ok I was thinking about the cookies and I had an idea that in my humble opinion would look great.

See how when you read a thread the folder resets to read when you go back to the forum?

What I had in mind was so whenever you visit all new threads in a forum, the whole forum would be marked as read.

I imagine that is not too hard to do, and I think other people might be interested in that!

03-05-2001 09:26 PM

Anyone agree with me? :(

03-06-2001 07:03 AM

You'd need a cookie per forum, but with the existing cookie routines it might not be to hard to do.

Anyway, it would probably be a nice feature for some (wouldn't use it personally, since I go back and forth between forums quite often)

03-06-2001 05:33 PM

I don't know if you understood what I meant.
I'm saying that a forum will be marked as read only if all posts on that forum were read, right now even if you read all posts on a forum the forum is still on!

I think it would be nice to have it this way

03-07-2001 07:36 AM

if you only want the forum to be marked as read of *all* messages have been read would be almost impossible, and at the very least add alot of stress. After all, you'd have to track every user.

03-07-2001 08:11 AM

Could be done though...

Now it's set in your cookie when you read a message. You could make some while loop that checks every new msg in that forum against the cookie -> if all new messages are listed in the cookie of the user -> forum marked as read...

I don't know if you'll need an extra query for this though, but I guess you will...(for asking all new message-id's per forum)


All times are GMT. The time now is 05:57 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.00945 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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