The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
top10stats in 1 query?
Hi all,
I've some top10 statistics on my index.php, in total 5 different ones. To make it a bit easier, lets call them stats1, stats2, stats3, stats4, stats5. This means that a query has to be run 5 times, to select the data, then sort them. I was wondering if something like this could be done in a cronjob (lets say once a day) and that the results of those 5 querys would be inserted in a new table. The newtable would be something like: stats1_userid, stats1_username, stats1_posts, stats2_userid, stats2_username, stats2_posts, etc, etc. While doing this, I could save 4 querys on my index.php, wich is heavily modded and I am desperate to look for something that could be done with less querys. Is this possible? if yes, how? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|