Page 1 of 1

Remove the "Your e-mail:" section from the "S

Posted: Mon Sep 08, 2008 9:32 pm
by juanjo
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:

How can you remove the "Your e-mail" part from the "Sign Guestbook". I only want my visitors to put their names, where are they from, comments,etc. I don´t need them to write their e-mails.

Thank You

Posted: Tue Sep 09, 2008 4:11 pm
by Henrie
hello juanjo,

Currently this can only be done by editing the gbook.php file.

Remove lines 855 - 866 (in Gbook version 1.6)

Code: Select all

<tr>
<td valign="top"><?php echo $lang['t52']; ?></td>
<td><input type="text" name="email" size="30" maxlength="50" value="<?php echo $email; ?>" />
<?php
if ($settings['hide_emails']) {
?>
    <br /><i><?php echo $lang['t66']; ?></i>
<?php
}
?>
</td>
</tr>
Greetings,
Henrie

Posted: Tue Sep 09, 2008 11:13 pm
by juanjo
Thanks Man worked like a charm.

I´m almost done setting up the gbook and everything looks great.

Awesome script, awesome support.