SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I setup php-stats?
Php-stats is an excellent free third party site monitoring sript. It is released under the GPL/GNU liscence. I have used it happily for three years and can highly recommend it.

php-stats is written by an Italian prgrammer, so it is a little difficult for non Italian speakers to setup. If yu want to see a demo of the stats program you can see it working onhttp://houseofstrauss.co.uk Here you will find the VIEW SITE STATISTICS in the left panel about half way down. Clicking VIEW FULL STATISTICS will open the full application (ecept admin of course)

Download php stats fromhttp://www.php-stats.com/

php stats does have an english FORUM
if you need further help, although this guide should suffice.

If you want a quick and dirty setup guide here it is. Ive done this several times and its very easy
----------------------------------------
In stats/config.php. Set these parameters

$option['host']='localhost'; // Host
$option['database']='PhpStats019'; // Database name
$option['user_db']='user'; // User
$option['pass_db']='pwsd'; // Password
$option['script_url']='http://www.tuosito.it/stat'; // URL of stats script
$option['exc_pass']='pass'; // Password utilizzata da php-stats per abilitare l'esclusione degli ip dinamici.


=======================

For a first time installation:
1) Edit the config.php as above whith sqlhost, username, password stats' url etc....
2) Upload the whole folder to your webspace
3) CHMOD 666 or may be 777 the options folder, the php-stats.log and the config.php
4) Open your browser and go to the urlhttp://www.mysite.com/stats/setup.php
5) choose your language and follow the istructions.
6) after you have set up the stats scripts you need to go to /stats/admin.php?action=preferenze and make any changes there
7) Also copy the Javascript code shown here;
"Javascript to put in your pages in order to activate stats monitoring
"
and place it just above the closing html tag in theme.html of your site. This makes the stats call to the script for every page served.

8) to get the counter on your pages, you need to generate code from the section;
"Javascript to put in your pages in order to view desired stats"
and put this in a custom block. save it as html. Several options can be created in this section and also different types of fonts etc.


The comments are owned by the author. We aren't responsible for their content.
user

 Javascript?


The Javascript part of your tutorial is missing..?

 
user

 PHP-Stats new website


The new website for PHP-Stats is:http://www.phpstats.net

So far only an Italian version of the website is available.

 
user

 Re: PHP-Stats new website


Thanks very much for this information. I was beginning to worry development had stopped.

 
user

 Re: PHP-Stats new website


It looks like they continue their project.
The latest version available is 0.1.9.1 (was still beta on the old website).

 
user

 Display Previous Visit and View stats.


Carnuke,

I would like to display Previous Visit and View stats. like your page, can you shed some lights on how this is done.

thanks, mate.

 


Login

Who's Online

180 user(s) are online (2 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

Did you know that the xoops icons are available in a vast range of colours.

Random question

How do I connect to a database?