The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Thanks for the code, TECK, but I already had figured out a solution
![]() ![]() PHP Code:
|
#12
|
||||
|
||||
![]()
No need to do a SUM since you only want to count the total.
Code:
$ourtime = time() - 259200; $hits_query = mysql_query(" SELECT COUNT(*) AS totalhits FROM hits WHERE time>$ourtime AND siteid=$site[siteid] "); |
#13
|
||||
|
||||
![]()
Actually, I do, because my database is structured so that it updates hits in a batch when an updating script parses a much less stressful flat file that saves sites visited. So "hitscount" is the number of hits to that site within the 15 minutes between the cron job running
![]() |
#14
|
||||
|
||||
![]()
True, it makes sense if you have it set this (better) way.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|