If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
anti ban list??? (ban all others)  XML
Forum Index » Support Forum
Author Message
@ngler
Newbie

Joined: 06/09/2006 09:19:47
Messages: 3
Offline

in AGB:

is it possible to change the Ban list so I write the IPnumbers allowed and not like now, not allowed..

the problem is my guestbook is in pure Danish, meaning the one writing in it come from Denmark.. I have found all Danish IPnumbers, so I will ban all others..

is it possible?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Hmmm I don't see why not. Personally I find with non English guestbooks it's best to block posts that use English words to prevent spam.

Anyway open add.class.php and replace

if ($this->db->isBannedIp($this->ip))

with

if (!$this->db->isBannedIp($this->ip))

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
@ngler
Newbie

Joined: 06/09/2006 09:19:47
Messages: 3
Offline

I try this..

thx
@ngler
Newbie

Joined: 06/09/2006 09:19:47
Messages: 3
Offline

damn it doesnt work..

it does not block anything - i find posts from IPnumbers not on the list.. should I use * as wildcard ??? or is e4g. 200.200.200. enough ? (blocking 200.200.200.1 - 200.200.200.255)?

and I can see that many of the spammers have a IPnr with letters .sbc.ru
how does I block this?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum