SlimStat provides sweet statistics for your blog. It uses SlimStat, by Stephen Wettone - see http://wettone.com/code/slimstat.
| General Plugin info | |
|---|---|
| Current Version: | 0.3 |
| Download: | here (.zip, 36KB) |
| Demo: | screenshots here |
| Forum Thread: | here |
include_once(”/usr/home/pstella/public_html/nucleus/plugins/slimstat/inc.stats.php”);
Access www.yoursite.domain/stats to see the sweet statistics
If you want to upgrade from 0.1 to 0.3 and keep your current data, do not uninstall the plugin and install the new one. Instead, follow the instructions:
Doing this, the plugin will just update the database table, adding a needed extra column.
On the other hand, if you have version 0.1 installed and want to start from zero, just uninstall the old version, update the plugin files and reinstall the plugin (all your data will be lost).
As the v0.2x uninstaller will leave the database tables intact, you can safely use it to upgrade to v0.3. After uninstalling it, overwrite all files with the new ones and then use the v0.3 installer.
Versions 0.2 and up support internationalization, so you can translate the stats into your own language. Follow the author’s instructions:
To translate SlimStat, add a new file at /plugins/slimstat/i18n/language-code/index.php, by making a copy of i18n/en-gb/index.php, where language-code is your language code (like “pt-br”). To use the new language, change the language setting in _config.php from its default of en-gb.
If you’ve translated SlimStat into a different language, please send me the file and I’ll include it in future releases.
If you get an error message “Warning: Failed opening...”, it is probably because you have placed some files in the wrong place. To make things clearer, here’s an explanation about the plugin directory structure. Inside the compressed package (NP_SlimStat.zip), there are two directories:
The contents of the /nucleus/plugins directory should be placed inside your /nucleus/plugins directory. These are the files
The contents of the “stats” directory should be placed in a directory in the same level of config.php. Say, you see config.php? Create a folder “stats” in that level and put the files of the folder “stats” inside it. These are the files: