PHP Extra SSI Functions Introduction: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
m (Bot: Automated text replacement (-  + ))
 
(8 intermediate revisions by 4 users not shown)
Line 4: Line 4:


Hit Counter:
Hit Counter:
 
{{code|1= <?php trackStats(array('hits' => '+')); trackStats(); ?>}}
<div class="codeheader">: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation"></a></div><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php&nbsp;trackStats</span><span style="color: #007700">(array(</span><span style="color: #DD0000">&#039;hits&#039;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">&#039;+&#039;</span><span style="color: #007700">));&nbsp;</span><span style="color: #0000BB">trackStats</span><span style="color: #007700">();&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code>
Add the ability to track the number of hits on your website to be included to the number of hits on your [[Forum]] (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).
Add the ability to track the number of hits on your website to be included to the number of hits on your [[Forum]] (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).


[[category:develop smf]]
[[Category:Developing SMF]]
[[category:ssi]]
[[Category:Integrating SMF]]
[[category:SSI]]

Latest revision as of 12:06, 1 July 2013

There are quite a few extra features you can have working on your website by using SSI.php. Below are some advantages that are not listed in the examples.

  • PHP Extra SSI Functions List

Hit Counter:

<?php trackStats(array('hits' => '+')); trackStats(); ?>

Add the ability to track the number of hits on your website to be included to the number of hits on your Forum (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).



Advertisement: