Change Site Stats

pziral posted 14th of April 2008 in Community Voice. 6 comments.
Is it possible to change the site stat modul so it doesn't display the Music, Video and Profile Video stats. I plan to turn off video and music uplod but the statistic in the Site Stats module on home page still show the statistic for video and music. Is it possibe to change it?

Best regards.
 
Comments
·Oldest
·Top
Please login to post a comment.
laurent
You can delete what you do not need in inc/site_stat.inc.php
famarx
It works, but all changes will be rewrited after every compilation.

The best thing to do is define what are the fields that you want do be shown at /inc/design.inc.php by adding a line at line 1190:

$sqlQuery = "SELECT `Name` as `name`,
`Title` as `capt`,
`UserQuery` as `query`,
`UserLink` as `link`,
`IconName` as `icon`,
`AdminQuery` as `adm_query`,
`AdminLink` as `adm_link`
FROM `SiteStat`
// ADD THIS
where NAME in ('all','pph','onl','ntd','tps','nwk','pts','nmh','tgs','nyr','frs','blg')
// see more THAT'S IT ";
pziral
no go with the 6.1.4 dolphin...it does't work with "where name in..." and can't find the site_stat.inc.php file :(
carnid
This worked fine for me on version 6.1.6, thank you very much for posting this!
thanks for this, worked perfect for me on 6.1.6
 
 
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.
PET:0.053096055984497