Posted on: 10/30/05 08:14am
By: jnordquist
I installed GUS revently and have a couple problems.
The whosonline block when in block admin shows phpblock_gusstats() as the PHP block. This does not occur in lib-common or lib-custom, yet somehow works.
Essentially, what I need to do is remove the referrers from the whosonline block. Under the old visitor stats block, that was easy. Now I cannot locate where I can disable this.
We're a family/community oriented site, and referrers somethimes include porn sites, and of course, kids can click on the front page of our site for porn.
Anyone know whjere to find this phpblock_gusstats if it isn't in lib-custom/common?
Thanks
GUS and Whosonline
Posted on: 10/30/05 09:23am
By: asmaloney
Hi John.
The php block is in GUS's functions.inc, but you don't need to change anything there. There are two ways to do what you want:
1) Set $_GUS_CONF['wo_refs'] is your GUS config.php to false
2) Set up the GUS Who's Online to be only visible by you, then set the regular Who's Online block to be visible only by everyone else. This is what I do and it works great.
- Andy
GUS and Whosonline
Posted on: 10/30/05 09:25am
By: jnordquist
COOL! Tahnk you!