vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Real "read/not read" threads and "new messages in forum" highlighting v1.2 (https://vborg.vbsupport.ru/showthread.php?t=62748)

codemonkey 03-24-2004 02:47 PM

ohh now it works fine. there is only one problem: The "mark all forums as read" function doenst work.

JohnWoo 03-24-2004 03:45 PM

"mark all forums as read" must mark as read last thread in each forum. After all forums on index.php must not be highlighted. It don't work? Or may be you want to be marked as read all threads in all forums? If yes? then there is no way to mark all threads in all forums as read (because it will update all threads in database ) - sorry.

codemonkey 03-24-2004 04:30 PM

Quote:

Originally Posted by JohnWoo
"mark all forums as read" must mark as read last thread in each forum. After all forums on index.php must not be highlighted. It don't work? Or may be you want to be marked as read all threads in all forums? If yes? then there is no way to mark all threads in all forums as read (because it will update all threads in database ) - sorry.

But then your hack makes no sense. sorry but why will not every thread mark as read? Like in phpBB or something else.

JohnWoo 03-24-2004 04:48 PM

I know nothing about phpBB, but lets say that you have board with 100.000 threads and 10.000 members. Then when some member will deside to "mark all threads read", vB will have to run query with 100.000 affected rows. And update of text field in 100.000 rows at once will kill your MySQL server, and if it will be still alive, what if 200 members at once will decide to do same thing? So I am sure that it will never be possible in that highlighting scheme. Besides i don't understand what for do you need it - sorry :)

enginethatcan't 03-26-2004 01:48 AM

installed but problem.....

everything is lit up as if there were new replys to everything. but only one thread has been made. Everything is bold. did I need to change something? and where?

JohnWoo 03-26-2004 05:05 AM

sorry, but i am not sure that i understand :)
If somebody post reply to thread that was marked as read ( marked for you) it must become bold (unread) because it means that you have not read it yet completely?
Or all threads become unread after reply to one single thread? If first, it was supposed to be so, and if second, you need to check changes in newreply.php :)

enginethatcan't 03-26-2004 09:03 AM

no replies whatsoever right now

JohnWoo 03-26-2004 09:17 AM

Still understand nothing - sorry :)
You always see all threads as unread or you never tried to open that threads or they all turn to unread after one single reply ?

enginethatcan't 03-26-2004 05:38 PM

I'm sorry but I really don't understand what you don't get from my pics and explination.

I installed this. EVERYTHING shows up as UNREAD no matter what!

JohnWoo 03-26-2004 08:39 PM

then if you completely sure that scripts were changed correctly, extra field was created as
NOT NULL
(it was fixed in v.1.1) and you have no NULL values in that field for all posts, I have no ideas - sorry... It works on my side.


All times are GMT. The time now is 11:07 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.00950 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete