SHOWlog Webstatistic

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
wingover
Posts: 58
Joined: Wed 13. Apr 2005, 13:18
Contact:

SHOWlog Webstatistic

Post by wingover »

Hi,

I was searching for a good webstat and I found SHOWlog.
I think, it`s a good system and it`s easy to use with phpwcms.
There are two versions, stable-version (v4.6.12) and alpha-version (SHOWlog v5). I`m using the alpha-version and it`s working very well.

SHOWlog Website: http://www.lady-s.org/stats
SHOWlog v5 you can find at the menu 'Developers Corner' ('Entwicklerecke').

Here are the changes in the 'index.php' of phpwcms:

1, Adding this function somewhere at the start of the 'index.php'

Code: Select all

// showlog //
function showlog()
{
	$weblog_path = 'showlog/';
	include_once($weblog_path.'weblog.php');
	$showlog_path = 'showlog/';
	include($showlog_path.'addons/sitelog/sitelog.php');
}
// showlog //
2, Change this line

Code: Select all

old:
$content['page_end'] = "</body>\n</html>";
new:
$content['page_end'] = showlog() . "</body>\n</html>";
You only have to download SHOWlog and put it in a directory 'showlog' in your phpwcms-directory and give some write-permissions. That`s all. You can change some options in showlog, if you want.

Hope that`s useful for someone...

Grüzli - Andi
---------------------------------------------------
Vol Libre - der Traum vom freien Fliegen
http://www.gleitschirm-taxi.de
Faszination Berge
http://www.mountain-panorama.com
---------------------------------------------------
Post Reply