Change Site Stats
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.
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