Page 1 of 1

SHOWlog Webstatistic

Posted: Thu 27. Apr 2006, 11:45
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