User Tools

Site Tools


firestats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
firestats [2010/05/05 12:49]
ben
firestats [2013/03/19 05:34]
ben removed
Line 1: Line 1:
 ====== Firestats Plugin for Dokuwiki ====== ====== Firestats Plugin for Dokuwiki ======
 +
 +It is noted in the code, but I'll repeat it here:
 +
 +//This code is almost entirely copied from the Google Analytics plugin by Terence J. Grant. ​ See [[http://​www.dokuwiki.org/​plugin:​googleanalytics|his plugin page]] for details.
 +//
 +Credit for the work should ostensibly be his- I merely deleted a few lines and changed a configuration name.
 +
 +Concerning this rendering of the code:
  
 See [[http://​www.firestats.cc|firestats.cc]] for information on what Firestats is and how to use it. See [[http://​www.firestats.cc|firestats.cc]] for information on what Firestats is and how to use it.
Line 8: Line 16:
  
 An example URL looks like: http://​yoursite.com/​yourfirestats/​js/​fs.js.php?​site_id=2 An example URL looks like: http://​yoursite.com/​yourfirestats/​js/​fs.js.php?​site_id=2
 +====== Download ======
 +
 +The plugin archive file is {{:​dokufirestats.tgz|here.}}
 +
 +====== Details ======
 +
  
-====== File/​Directory structure: ​======+===== File/​Directory structure: =====
  
 dokufirestats/​\\ dokufirestats/​\\
Line 18: Line 32:
 dokufirestats/​conf/​\\ dokufirestats/​conf/​\\
 dokufirestats/​conf/​metadata.php\\ dokufirestats/​conf/​metadata.php\\
-====== Action.php ​======+===== Action.php =====
 <​code>​ <​code>​
 <?​php ​ <?​php ​
 /* /*
-* 
 * *
 * This code is almost entirely copied from the Google Analytics plugin by: * This code is almost entirely copied from the Google Analytics plugin by:
 * *
-* Terence J. Grant <​tjgrant@tatewake.com>​ +* Terence J. Grant 
-* http://tatewake.com/wiki/​projects:google_analytics_for_dokuwiki+* See: http://www.dokuwiki.org/plugin:googleanalytics 
 +*  
 +* My changes to the code were made on 05/05/2010.
 * *
-* Credit should stay entirely with him. 
-*  
 */ */
  
Line 42: Line 55:
  
  return array(  return array(
- '​author'​ => '​Benjamin Hall (code Heavily borrowed ​from Terrence ​J. Grant\'​s Google Analytics Plugin)',​+ '​author'​ => '​Benjamin Hall (base code from Terence ​J. Grant\'​s Google Analytics Plugin)',​
  '​email' ​ => '​ben@benhall.com',​  '​email' ​ => '​ben@benhall.com',​
  '​date' ​  => '​2010-05-05',​  '​date' ​  => '​2010-05-05',​
Line 70: Line 83:
 </​code>​ </​code>​
  
-====== Metadata.php ​======+===== Metadata.php =====
 <​code>​ <​code>​
 <?php <?php
Line 76: Line 89:
 $meta['​dont_count_admin'​] = array('​onoff'​);​ $meta['​dont_count_admin'​] = array('​onoff'​);​
 $meta['​dont_count_users'​] = array('​onoff'​);​ $meta['​dont_count_users'​] = array('​onoff'​);​
 +?>
 </​code>​ </​code>​
-====== Settings.php ​======+===== Settings.php =====
 <​code>​ <​code>​
 <?php <?php
Line 83: Line 97:
 $lang['​dont_count_admin'​] = '​Don\'​t count admin/​superuser';​ $lang['​dont_count_admin'​] = '​Don\'​t count admin/​superuser';​
 $lang['​dont_count_users'​] = '​Don\'​t count logged in users';​ $lang['​dont_count_users'​] = '​Don\'​t count logged in users';​
 +?>
 </​code>​ </​code>​