Hello Kazuldur, I have some issue using the nastyhosts system..
When I enable it and try to block by ISP name, it don't seem to work..
And I got some issues when I try to disable NH on admin panel(don't remember the code error, maybe 500).. And I have to disable NH by phpmyadmin..
My IP status:
{"status":200,"asn":{"asn":263653},"country":{"code":"BR","country":"Brazil"},"hostnames":["245.241.74.177.mksnet.com.br"],"suggestion":"allow"}
It's not possible to block by ISP name, how are you trying to do that? Hostnames aren't exactly the same as ISP names.
I can't really help you with problems with disabling NH without the precise error. Could you please set $display_errors = true; in your config.php file and try again? It should show real error then.
About the ISP names, I was testing with pageview block, not the claim block.. my fault
This error appears with display_errors=true:
Notice: Undefined variable: is_admin_link_true in /customers/c/f/6/bitcoinamerica.com.br/httpd.www/faucet/templates/default/setup.php on line 162 Notice: Undefined variable: is_admin_link_false in /customers/c/f/6/bitcoinamerica.com.br/httpd.www/faucet/templates/default/setup.php on line 162
Maybe because I deleted some part of the code on index template.. so I put the original file to test(now show no errors)
However I click to disable the NH and save.. and it always back to enabled mode.. If it's only happen with me, maybe I just need clear my cookies or something like that.. dont worry about it!
Well, my main question was about if the NH was working or not.. Like I say, I was testing it with pageview block, not with the claim block, my fault..
And thanks for clarify about ISP/ASN, maybe I was doing it wrong too!