PDA

View Full Version : Hits Since Board Was Begun


Thug
12-30-2005, 12:34 AM
looking for a hack where it wil lshow Hits Since Board Was Begun

Mr Chad
12-30-2005, 03:55 AM
couldnt you just sum all the post views, to do somthing like this? like update the count every 12 hours or sumthin.

Zachery
12-30-2005, 05:00 AM
looking for a hack where it wil lshow Hits Since Board Was Begun

Try a webstats program, like webilizer and run it agasint your apache logs. Theres no hack like this, since it wouldn't have been loggin since the begining, and would do you little good now.

Mr Chad
12-30-2005, 05:14 AM
Sumthin like this:


$query = "SELECT SUM(views) as pageviews FROM" . TABLE_PREFIX . "thread";
$pageviewsa = mysql_query_eval($query,$link);
$pageviewsb = mysql_fetch_array($pageviewsa);
$pageviewss=number_format($numb['pageviews']);
mysql_free_result($pageviewsa);

Thug
12-30-2005, 09:39 AM
Try a webstats program, like webilizer and run it agasint your apache logs. Theres no hack like this, since it wouldn't have been loggin since the begining, and would do you little good now.
well ye i no it wudnt run since begining for me but forother people who have new forums

Zachery
12-30-2005, 12:09 PM
well ye i no it wudnt run since begining for me but forother people who have new forums

Again, this is better left to an web analitics program, considering the massive ammount of resoureses things like these consume.

Thug
12-30-2005, 01:38 PM
true true,but wanted to show hits on my site like phpbb has