You can view an admin demo here - login with the password "default"
NOTE: Any changes made in the demo won't be saved!
This page guides you through the process of adding the online counts to your PHP files.
Include the following PHP in the file:
<?php
include('online.class.php');
$usersonline = new usersonline;
$usersonline->track();
?>
NOTE: Be sure to point to the correct location of online.class.php
Use $usersonline->count and $usersonline->record to output the current users online and record users online, for example:
<p>There are currently <?php echo($usersonline->count); ?> users online. The most users online ever was <?php echo($usersonline->record); ?></p>
The below example outputs the current users online and the total users online record using and javascript widget and the default template - which can be edited in the admin panel.
<script type="text/javascript" src="js.php"></script>
The below example shows how you can easily override the default template to suit output to your pages
<script type="text/javascript" src="js.php?override=Most%20online:%20%2$d%20Online%20now:%20%1$d"></script>