How do you block an abusive GB user by their IP address ?

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Ted Hut
Posts: 2
Joined: Wed Jul 19, 2006 10:05 pm

How do you block an abusive GB user by their IP address ?

Post by Ted Hut »

Script URL:
Version of script:
Version of PHP: PHP Guest Book 1.42
Hosting company:
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: IP Blocking

Write your message below:

How do you block an abusive GB user by their IP address ?

I could have sworn that I found info posted about IP Blocking in the past, but I couldn't find anything this time.
I tried to see if I could simply add an abuser's IP Address to the 'CHECKMAIL' email list, but it didn't appear to work.
(I tried tested it using my own IP address, but I could stiil make an entry.)

I know you should be able to block users from your web site entirely by using an 'HTACCESS' file, but it would be nice to be able to just block entries to the guestbook.
Ted Hut
Ted Hut
Posts: 2
Joined: Wed Jul 19, 2006 10:05 pm

Suggestion to add user friendly Email & IP Blocking

Post by Ted Hut »

Oops, I just found the IP Blocking info I was looking for under "Block Email'.

Unfortunately, the IP Blocking info is more extensive and confusing than the Email Blocking info.

I probably would have scrapped guest books altogether if I hadn't researched your user forum to find how to customize settings & gbook files to block specific automated abusers. (ie. antony@gmail.com !)

Your GuestBook would be more user friendly (and would eliminate related user forum research that inexperienced users won't bother with) if you added the ability to block specific abusers by simply adding email and/or IP entries in appropriate sections in the settings.php file.
Ted Hut
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

True, it's on my "to do" list.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mr tart
Posts: 4
Joined: Sun May 14, 2006 8:31 pm

Post by mr tart »

sorry to be a dumb idiot but can someone post a link to the "block ip" thread as I cant find it, even with the search.



Is it possible to block subnet ip's as the last 3 digits are always changing?


Thanks,



Matt
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Here is the link
viewtopic.php?p=1733#1733

The mentioned line numbers can be different because of added code in newer versions of the gbook.php file.

Greetings,
Henrie
Post Reply