Site Stats Query

Hi

 

I have been running a dolphin website for around 6 months now. Going okay and have over 400 members. The other day I was attempting to refine the "Site Stats" section with a work around, where by you amend the cached SiteStat.inc file in /inc/db_cached, then change the permissions of the file to 644. Which means only the owner has write permissions to it. I know, it is a hack. I followed a web page tutorial on how to do this, but every time I did something in admin, the site stats file got over written with a newly generated SiteStat.inc. I do not know 'much' about web servers / php, but know a little about linux, as I work with it as a programming platform for most of the day - nothing web related. So I thought I would change the permissions of the SiteStat.inc file to 444 i.e. basically no one has write permissions to the file. No joy as it kept getting over written. Does the website server directly over write this file with a copy action in the php code? If this is so then will the work around will not work permanently. Work around is here:

 

http://www.dialme.com/articles/entry/Change-or-Remove-Items-From-Site-Stats-Block

 

Maybe I was wrong to follow that article and there is a better way. If you know so, I would be grateful if you could let me know of one. If there is nothing that can be done I will just, as normal, hack away at the code/database. It was just this seemed like a nice simple work around.

Cheers

Paul

Quote · 27 Apr 2009

One way to hide some of the SiteStat if you don't need they on your page and sort all they other

Quote · 27 Apr 2009

Worked a treat. Thanks

Quote · 28 Apr 2009

This didn't work for me!

Quote · 27 Aug 2009

Open phpMyadmin and go to your database for the site.  Towards the bottom is a table labeled "SiteStats".  Delete or rename anything in that table you want to change, then update it.  Then download and edit your sitestats.inc file.  Edit it to match your database structure for that table.  Save, upload and set permissions on it.  The reason sitestats resets is due to the fact that it's cached until such time as a call from the database to refresh it is called.  Then it reinserts whatever is in the table to update site stats.

Quote · 28 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.