Is there no help on here anymore......................

9 views
Skip to first unread message

mad andi

unread,
Oct 15, 2010, 3:09:39 PM10/15/10
to SlimStat
I am trying to not record my own visits and have put the following in
config file

/** Don’t log hits from these IP ranges */
var $ignored_ips = array();// '192.168.', '10.',
'127.','92.21.157.0' ) ;

/** Anonymise IPs with a mask. 255.255.255.255 means no masking.
0.0.0.0 will disable tracking IPs. **/
var $anonymise_ip_mask = '255.255.255.0';

it not stop it, see my slimstat at www.equicab.limewebs.com/slimstat

I also want to stop it recording slimstat/js every time when one of my
pages loads in a browser from the main site www.equicab.limewebs.com

what advice is there?


please can i have some replies....

Domi

unread,
Oct 18, 2010, 2:53:04 AM10/18/10
to SlimStat
You have to put your IP in the array like this:

var $ignored_ips = array('92.21.157.0');

The IPs next to // are examples and are excluded.

mad andi

unread,
Oct 19, 2010, 3:47:17 PM10/19/10
to SlimStat
/** Don’t log hits from these IP ranges */
var $ignored_ips = array();// '192.168.', '10.', '127.',
'92.21.157.52', '92.21.157.0' ) ;


is what i put at http://madandi.freei.me - my test bed url

it does not ignore me

also shows '0' instead of '52' at the end of ip

any ideqas?

mad andi

unread,
Oct 19, 2010, 3:44:36 PM10/19/10
to SlimStat
/** Don’t log hits from these IP ranges */
var $ignored_ips = array();// '192.168.', '10.', '127.',
'92.21.157.52', '92.21.157.0' ) ;

still not working......... thats in there now and if you visit
www.madandi.freei.me you will see that ip is recording. this is my
test bed url. also does not show last 2 digits, in my case the '52'
slimstat results show '0'

i confused

thanks for your response btw. a further one to assist would be
appreciated


On Oct 18, 7:53 am, Domi <horn.domi...@3we.de> wrote:

mad andi

unread,
Oct 19, 2010, 3:49:29 PM10/19/10
to SlimStat
SORRY

HTTP.EQUICAB.FREEI.ME

is the right url for my test bed..

Stephen Wettone

unread,
Oct 20, 2010, 4:24:27 AM10/20/10
to slim...@googlegroups.com
On 19 Oct 2010, at 20:44, mad andi wrote:
> /** Don’t log hits from these IP ranges */
> var $ignored_ips = array();// '192.168.', '10.', '127.',
> '92.21.157.52', '92.21.157.0' ) ;
>
> still not working......... thats in there now and if you visit
> www.madandi.freei.me you will see that ip is recording. this is my
> test bed url.

You need to add the IP addresses before the double slashes, as has been previously said. PHP ignores everything after the double slashes.


> also does not show last 2 digits, in my case the '52'
> slimstat results show '0'

Change the netmask in config.php:

/** Anonymise IPs with a mask. 255.255.255.255 means no masking.
0.0.0.0 will disable tracking IPs. **/
var $anonymise_ip_mask = '255.255.255.0';


Stephen

mad andi

unread,
Oct 20, 2010, 10:17:00 AM10/20/10
to slim...@googlegroups.com
got it..... ha ha, sorry, i was puttin it after as you saw and i didn't  ....
 
DOH!!!!!

mad andi

unread,
Oct 20, 2010, 10:21:14 AM10/20/10
to slim...@googlegroups.com


On Wed, Oct 20, 2010 at 3:17 PM, mad andi <madd...@gmail.com> wrote:
got it..... ha ha, sorry, i was puttin it after as you saw and i didn't  ....
 
DOH!!!!!
ALSO CHANGED THE MASK..... wonderful..... so easy when you know how....thanks
 
 
 
does anyone know of a php website creator - an easy wysiwyg one?
Reply all
Reply to author
Forward
0 new messages