This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
firestats [2010/05/05 13:26] ben |
firestats [2010/05/06 03:58] ben |
||
---|---|---|---|
Line 5: | Line 5: | ||
//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. | //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 bulk of the work should be his. | + | 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 | ||
Line 49: | Line 55: | ||
return array( | return array( | ||
- | 'author' => 'Benjamin Hall (code modified 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 77: | Line 83: | ||
</code> | </code> | ||
- | ====== Metadata.php ====== | + | ===== Metadata.php ===== |
<code> | <code> | ||
<?php | <?php | ||
Line 85: | Line 91: | ||
?> | ?> | ||
</code> | </code> | ||
- | ====== Settings.php ====== | + | ===== Settings.php ===== |
<code> | <code> | ||
<?php | <?php |