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 13:06]
ben
firestats [2013/03/19 05:34]
ben removed
Line 3: Line 3:
 It is noted in the code, but I'll repeat it here: 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://tatewake.com/wiki/projects:google_analytics_for_dokuwiki|his plugin page]] for details.+//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 should ​stay entirely with him.+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: Concerning this rendering of the code:
Line 16: 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 ======
  
-====== File/​Directory structure: ​======+The plugin archive file is {{:​dokufirestats.tgz|here.}} 
 + 
 +====== Details ====== 
 + 
 + 
 +===== File/​Directory structure: =====
  
 dokufirestats/​\\ dokufirestats/​\\
Line 26: 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:
Line 37: Line 42:
 * See: http://​www.dokuwiki.org/​plugin:​googleanalytics * See: http://​www.dokuwiki.org/​plugin:​googleanalytics
 *  *
 +* My changes to the code were made on 05/05/2010.
 +*
 */ */
  
Line 48: 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 76: Line 83:
 </​code>​ </​code>​
  
-====== Metadata.php ​======+===== Metadata.php =====
 <​code>​ <​code>​
 <?php <?php
Line 82: 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 89: 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>​