disable posting in guestbook

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
ravetildon1
Posts: 28
Joined: Tue Mar 07, 2006 5:56 am

disable posting in guestbook

Post by ravetildon1 »

Script URL: http://www.pleasanton-daycare-childcare.com/gbook.php
Version of script: 1.35
Have you searched THIS FORUM for your problem: yes

I would like to disable guestbook posting at this time. these 3 people post all day long on my site! :)

I read this thread:

viewtopic.php?t=586

but it's for a different version. It look ssimilar so I changed line 66 to this:

problem("We do not accept new posts at the moment!");

Now it appears to work. When I click on the link:

http://www.pleasanton-daycare-childcare ... php?a=sign

It gives the message that no new entries are able to be accepted at this time.

BUT, I am still getting entries in the guestbook. They must know some hack?

Any other ideas on how to not let any more posts go thru?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

1. you should upgrade to 1.41 (has improved anti-spam filters)

2. try adding the same code

Code: Select all

problem("We do not accept new posts at the moment!");
just below this line (585 in 1.41)

Code: Select all

function addEntry($name,$from,$email,$url,$comments,$isprivate="0") {
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
Post Reply