============================================================================================================================
Modification Title: Stats Calendar

Version: 1.1

Author: WebNelly

Updated By: John Briggs, Adam Clarke

Description: This modification will provide a complete statistical calendar of total members, posts and threads per day and year with monthly totals.

Copyright:  2010 John Briggs. All Rights Reserved.

Compatability: XMB 1.9.5 SP1

Install Note: Before adding this modification to your forum, you should back up all files related to this modification.

License Note: This modification is released under the GPL License v3. A copy is provided with this software package.

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.
============================================================================================================================
=======
Step 1:
=======
================
Edit File: header.php
================
==========
Find Code:
==========

// Stats-link
if ($SETTINGS['stats'] == 'on') {
    $links[] = "<img src=\"$imgdir/stats.gif\" alt=\"$lang[altstats]\" border=\"0\" /> <a href=\"stats.php\"><font class=\"navtd\">$lang[navstats]</font></a>";
}

===============
Add Code Below:
===============

// Stats Calendar-link
if ($SETTINGS['stats'] == 'on') {
    $links[] = '<img src="'.$imgdir.'/statscal.gif" alt="'.$lang['statscal'].'" title="'.$lang['statscal'].'" border="0px" /> <a href="statscal.php"><font class="navtd">'.$lang['statscal'].'</font></a>';
}

============================================================================================================================
=======
Step 2:
=======
===============
Edit File: misc.php
===============
==========
Find Code:
==========

    } elseif (false !== strpos($url, "/faq.php")) {
        $location = $lang['onlinefaq'];

===============
Add Code Below:
===============

    } elseif (false !== strpos($url, '/statscal.php')) {
        $location = $lang['statscalonline'];

============================================================================================================================
=======
Step 3:
=======
=======================
Edit File: lang/English.lang.php
=======================
=============================
Add Code To End Of File ABOVE  ?>
=============================

// Stats Calendar Mod Begin
$lang['statscal'] = "Stats Calendar";
$lang['statscalmonthtotal'] = "Monthly Totals";
$lang['statscalmembers'] = "Members:";
$lang['statscalthreads'] = "Threads:";
$lang['statscalposts'] = "Posts:";
$lang['statscaldisplay'] = "Display";
$lang['statscalnavigation'] = "Navigation";
$lang['statscalonline'] = "Viewing stats calendar";
$lang['statscalyearlytotal'] = "Yearly Total";
$lang['statscalsun'] = "Sunday";
$lang['statscalmon'] = "Monday";
$lang['statscaltue'] = "Tuesday";
$lang['statscalwed'] = "Wednesday";
$lang['statscalthu'] = "Thursday";
$lang['statscalfri'] = "Friday";
$lang['statscalsat'] = "Saturday";
// Stats Calendar Mod End

============================================================================================================================
=======
Step 4:
=======

Upload provided image "statscal.gif" to all theme folders.
Upload provided file "statscal.php" to your forum's root folder.

============================================================================================================================
Enjoy!