Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:
Write your message below:
Hello,
First, can I say that this script is superb - I was using Openbook guestbook but it was targeted by spammers and there were no anti spam measures had it was easier to take it down than to keep removing the posts - I have since ported all the entries to this.
Anyway, my question is, is it possible to disable the 'private message function' and, obviously, if so, how ?
Thanks a lot
zztb
Disable private post
Hi,
In gbook.php delete line 551:
Regards
In gbook.php delete line 551:
Code: Select all
<p align="center"><input type="checkbox" name="private" value="Y">Make this post private</p>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
-
- Posts: 9
- Joined: Fri Apr 28, 2006 8:54 pm
Hi,
Thanks for the rapid reply. I have installed the xhtml version ( the one with with ip logging ) and the code is different but I found it based on your reply.
I deleted
<input type="checkbox" id="private" name="private" value="Y" /><?php echo $lang['add_pri']; ?><br />
and it works a treat.
Sorry I don't know the line number - no script editor.
This really is a superb script.
Thanks again,
zztb
Thanks for the rapid reply. I have installed the xhtml version ( the one with with ip logging ) and the code is different but I found it based on your reply.
I deleted
<input type="checkbox" id="private" name="private" value="Y" /><?php echo $lang['add_pri']; ?><br />
and it works a treat.
Sorry I don't know the line number - no script editor.
This really is a superb script.
Thanks again,
zztb
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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