[geeklog-users] Site stats reset and view priviledges

Donald Wheeling donw at designevo.com
Thu Feb 27 14:40:33 EST 2003


On Thursday, Feb 27, 2003, at 12:15 America/Denver, Dirk Haun wrote:

> Donald Wheeling <donw at designevo.com> wrote:
>
>> and was wondering where I reset the site stats and if
>
> There's no easy way to reset the stats. The values that are displayed 
> in
> the stats are all over the database. There's a total hits counter in
> gl_vars, every story and link has its own hit counter, etc.
>
>
>> It's possible to make them viewable by only admin?
>
> You can configure Geeklog to make the stats only visible by logged-in
> users by setting
>
>     $_CONF['statsloginrequired'] = 1;
>
> in config.php. Then, in stats.php, replace
>
>     if (empty ($_USER['username']) &&
>
> with
>
>     if (!SEC_inGroup ('Root') &&
>
> After that change, only members of the Root group will be able to see 
> the
> stats.
>
> bye, Dirk
>
>
> -- 
> http://www.haun-online.de/
> http://www.haun.info/
>
> _______________________________________________
> geeklog-users mailing list
> geeklog-users at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-users
>
>
Thanks for the very helpful quick response.




More information about the geeklog-users mailing list