The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How to install statistics on board?
I use slimstat and google-analytics. On no vb page i include this code: 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>';
}
?>
|
|
#2
|
|||
|
|||
|
Doesn,t Seems google-analytics Code. Well If it is paste it in forumhome. or at very end of footer.
Regards Suny |
|
#3
|
|||
|
|||
|
In footer style template this code doesnt't work, in this place any php code doesnt't work.
|
|
#4
|
||||
|
||||
|
Try adding it to the global_start hook without the php tags.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|