The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Yep, i was figuring out that myself ;-)
I think it's faster in a way, thanks Xenon! But i can't really tell the difference though, because the server load changes every second on my page. Here's the current result: --------------------------------------------------------------------- Query: SELECT count(*) AS posts FROM post INNER JOIN thread USING(threadid) WHERE post.dateline > 1077229208 AND thread.forumid NOT IN (16, 54) Time before: 0.49642205238342 Time after: 0.50070309638977 --------------------------------------------------------------------- |
#12
|
||||
|
||||
that looks fast enough
|
#13
|
||||
|
||||
Enough?
I think you know better than that, because it's never ever fast enough. And my sorry ass is depending completely on your scripting skills LOL ;-) |
#14
|
||||
|
||||
*gg* well but 0.01 sec is ok
|
#15
|
||||
|
||||
Quote:
|
#16
|
||||
|
||||
[sql]SELECT count(postid) AS posts, count(DISTINCT threadid) AS threads
FROM post INNER JOIN thread USING(threadid) WHERE post.dateline > '1077204189' AND thread.forumid NOT IN (16, 54)[/sql] but it doesn't give you the new threads, just the UPDATED threads |
#17
|
||||
|
||||
How would you get new threads started with that?
|
#18
|
||||
|
||||
well it's doable in one query, but it would reduce the speed of the query alot, so you better devide them up in two queries
also don't use the above query if you do not want to restrict forums, as it's not nessesary for just getting the new posts |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|