HomeUnityBlogs
 
 
pziral

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.
bad
1
good
 
 

Comments

laurent
laurent 116 days agocomment permalink
 
You can delete what you do not need in inc/site_stat.inc.php
 
bad
0
good
 
 
pziral
pziral 116 days agocomment permalink
 
Thank you!!
 
bad
0
good
 
 
famarx
famarx 76 days agocomment permalink
 
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')
// THAT'S IT ";
 
bad
0
good
 
 
pziral
pziral 11 days agocomment permalink
 
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 :(
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
pziral Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.466125011444