Boyakki
02-22-2008, 05:05 PM
How to install statistics on board?
I use slimstat and google-analytics. On no vb page i include this code:
<?php
If ($vbulletin->userinfo['userid']!=1){
@include_once( "/home/site/ftp/slimstat/inc.stats.php" );
echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1245009-1";
urchinTracker();
</script>';
}
?>
and all works. How to include this code on forum?
I use slimstat and google-analytics. On no vb page i include this code:
<?php
If ($vbulletin->userinfo['userid']!=1){
@include_once( "/home/site/ftp/slimstat/inc.stats.php" );
echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1245009-1";
urchinTracker();
</script>';
}
?>
and all works. How to include this code on forum?