Hello,
I'd like to remove the option for guests to leave a web site address with their guestbook post. I'm sure this is possible by deleting a section of the code -- can anyone assist in telling me which specific line needs to be deleted?
I used a similar fix to remove the "private post" option and it worked like a charm.
Thanks,
Mike
Remove the "website" listing in a gb post?
Hello mikeja7575,
In GBook version 1.34 following lines change:
Lines 262-266 (website text in private post view). Changeto
Line 456 (website text in notify e-mail). Remove
Lines 523-526 (Website text in add entry page). Remove
Lines 561-565 (Website text displayed the guestbook). Changeto
This should be it.
Greetings,
Henrie
In GBook version 1.34 following lines change:
Lines 262-266 (website text in private post view). Change
Code: Select all
<font class="smaller">From: '.$from.'</font><br>
<font class="smaller">Website:</font> ';
if (strlen($url)>0) {
echo '<a href="go.php?url='.$url.'" target="_blank" class="smaller">'.$url.'</a>';
}
Code: Select all
<font class="smaller">From: '.$from.'</font>';
Code: Select all
Website: $url
Code: Select all
<tr>
<td>Your website:</td>
<td><input type="text" name="url" value="http://" size="40" maxlength="80"></td>
</tr>
Code: Select all
<font class="smaller">From: '.$from.'</font><br>
<font class="smaller">Website:</font> ';
if (strlen($url)>0) {
echo '<a href="go.php?url='.$url.'" target="_blank" class="smaller">'.$url.'</a>';
}
Code: Select all
<font class="smaller">From: '.$from.'</font>';
Greetings,
Henrie