Quote:
Originally Posted by PcFreak
I am sure you did not Step 6.
HTML Code:
==============================
== step 6 ==
==============================
Now let's activate the statistics and count of visitors
---------------------------------------------------------------------
6.1) Open Template "headinclude" in your AdminCP
add the following code at the end of the template in the last line!
---------------------------------------------------------------------
<script type="text/javascript" src="clientscript/statistic_java.js"></script>
---------------------------------------------------------------------
6.2) Open Template "phpinclude_start" in your AdminCP
add the following code at the end of the template in the last line!
---------------------------------------------------------------------
include("./statistic_counter.php");
--------------
Hint:
--------------
For a forum with several Styles you must do the change for each Style
or you have to put it into your Master Style.
(but think about vB Updates which is overwriting the Master Style!)
|
Yes I do, here my templates,
phpinclude_start :
Code:
/*
// Example of how to include a seperate file:
ob_start();
include('yourheader.html');
$your_code = ob_get_contents();
ob_end_clean();
include("./statistic_counter.php");
// Now place a reference to $your_code where you want the resulting HTML to be displayed.
// This will most likely be the header or footer template.
*/
headinclude :
Code:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
<script type="text/javascript" src="clientscript/statistic_java.js"></script>