Log in

View Full Version : How to install statistics?


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?

notrious
02-22-2008, 05:07 PM
Doesn,t Seems google-analytics Code. Well If it is paste it in forumhome. or at very end of footer.

Regards
Suny

Boyakki
02-22-2008, 05:16 PM
In footer style template this code doesnt't work, in this place any php code doesnt't work.

Boofo
02-22-2008, 05:51 PM
Try adding it to the global_start hook without the php tags.