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)
-   -   How many threads and posts since your last visit! (https://vborg.vbsupport.ru/showthread.php?t=59583)

DCX 01-19-2004 03:14 AM

yes i was.

KuraFire 01-24-2004 07:39 PM

The COUNT(*) method of doing the query is rather intensive for your server if you have it in phpinclude_start - it's a slow query (the more posts and threads, the slower) that can really hog down a server. I'm interested in seeing NTLDR's method though...

Mijae 01-25-2004 01:01 AM

Quote:

Originally Posted by Reverend
I was merely pointing out that some people might want to change the grammar.

Geez,sorry for mentioning it. :devious:

How many queries does this use? It is too hard on the server?

Gary King 01-25-2004 01:33 AM

Quote:

Originally Posted by Mijae
How many queries does this use? It is too hard on the server?

2 queries, and no, the queries aren't really that much of a strain on the server :)

Boofo 01-25-2004 01:46 AM

Quote:

Originally Posted by KuraFire
The COUNT(*) method of doing the query is rather intensive for your server if you have it in phpinclude_start - it's a slow query (the more posts and threads, the slower) that can really hog down a server. I'm interested in seeing NTLDR's method though...

How would you do it? ;)

KuraFire 01-25-2004 09:51 AM

Quote:

Originally Posted by Boofo
How would you do it? ;)

Haven't looked into it much, but apparently NTLDR has a working method :)

Boofo 01-25-2004 10:31 AM

NTLDR, buddy, can you share it with us? ;)

WetWired 01-26-2004 02:24 PM

Quote:

Originally Posted by Reverend
For anyone that has installed the instructions_newthreads.txt version you might want to make a grammatical change to the phrase content

From this:

Code:

There have been {1} threads and {2} posts since your last visit!
To this:

Code:

There have been {2} posts in {1} threads since your last visit!

For those arguing over this, it's quite simple. If you installed the version that counts old threads with new posts as new threads, then those threads aren't neccessarily new. Therefore, "There have been {2} posts in {1} threads since your last visit!", because the number of "new threads" is really the number of threads with new posts in them. If you installed the version that only lists threads started since the last visit, then the original phrase is more correct.
Not installing this 'cause of the permissions thing. Gonna take some time and look into it myself.

ogden2k 02-01-2004 03:19 PM

I've found a problem with this, if I go to new posts, there's 8 new let's say, New Posts shows all 8. But, when I view all of the 8 posts, the hack still shows that they are new. Shouldn't the hack show 5 new threads if I've read 3 of the 8?

Can this be fixed?

Gary King 02-01-2004 04:40 PM

Quote:

Originally Posted by ogden2k
I've found a problem with this, if I go to new posts, there's 8 new let's say, New Posts shows all 8. But, when I view all of the 8 posts, the hack still shows that they are new. Shouldn't the hack show 5 new threads if I've read 3 of the 8?

Can this be fixed?

Nope, that's how vBulletin works. Click on 'marks forum read' or wait until you expire (time limit depends on what you set in your Who's Online options) then check back on the forums :)


All times are GMT. The time now is 04:17 PM.

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.01271 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (6)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