Page 1 of 1

disable posting in guestbook

Posted: Tue Jul 11, 2006 1:05 am
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?

Posted: Tue Jul 11, 2006 8:19 am
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") {