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 on http://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 from http://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 url http://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

462 user(s) are online (7 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 462


more...

Donat-O-Meter

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

Did you know ?

There are many support sites in different languages across the world?

Random question

Is there a way to set a cookie to a users machine that will remember his login information as well as his preferences for which ever theme he likes to view the site with?

I have over 1100 registered users at vmoa.net many of them find it a hassle to have to always type in their passwords and then switch to a different theme.... The default theme was choosen by the president of the organization... I am adding alternate themes as they are suggested... I am only the webmaster... and can only implement technical changes not content...

Later/wetsteve