![]() |
Calculating averages problem
I have run into a wall here. I am trying to calculate the averages for site visits. I have done it exactly like the average threads and posts but for some reason it is way off. Here is what I am using:
Code:
$pagehits_counter = $vbulletin->boofocounter; The hourly pagehits should be around 48.?? but it is showing up as 0.05. Can anyone spot what I am doing wrong or what is missing? --------------- Added [DATE]1275380790[/DATE] at [TIME]1275380790[/TIME] --------------- I figured out what I was doing wrong. I forgot to add strtotime to the code. All is working now. I must be losing it in my old age to overlook something so simple. I'm ready to be punished now. :( |
All times are GMT. The time now is 08:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|