sign guestbook

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
mirnot
Posts: 38
Joined: Mon Aug 07, 2006 4:57 pm

sign guestbook

Post by mirnot »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

can i delete the words "sign guestbook"
just above the required fields... line?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Open gbook.php in a text editor (Notepad, Wordpad) and search for the text, then replace it with whatever you like
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
mirnot
Posts: 38
Joined: Mon Aug 07, 2006 4:57 pm

Post by mirnot »

thanks
can i delete that heading altogethet?
I tried and the whole script went wrong with a list of errors coming up at the top of the page before the form
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Yes you can.
Find this piece of code (in GBook version 1.43 starting at line 887)

Code: Select all

echo '<h3 align="center">'.$settings['gbook_title'].'</h3>
<p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a>
| <a href="gbook.php">View guestbook</a>
| <a href="gbook.php?a=sign">Sign guestbook</a></p>
<div align="center">
<center>
';
Delete the parts you don't need. But remember, this code is written on every page, so if you remove a part of it here, it will be removed on every page.
To just delete the Sign guestbook part, delete this

Code: Select all

| <a href="gbook.php?a=sign">Sign guestbook</a>
To delete all three Back to My lovely website | View guestbook | Sign guestbook links, delete this

Code: Select all

<p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a>
| <a href="gbook.php">View guestbook</a>
| <a href="gbook.php?a=sign">Sign guestbook</a></p>
Greetings,
Henrie
mirnot
Posts: 38
Joined: Mon Aug 07, 2006 4:57 pm

Post by mirnot »

caan i delete this line

echo '<h3 align="center">'.$settings['gbook_title'].'</h3>

i tried and i get the following error

www.moshiachforkids.com/gbook/gbook.php
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

You may not delete the echo ' part, only the <h3 align="center">'.$settings['gbook_title'].'</h3> part.

Greetings,
Henrie
Post Reply