Author |
Message |
21/09/2004 11:56:04
|
The Old Man
Beginner
Joined: 10/09/2004 12:52:00
Messages: 7
Location: UK
Offline
|
Hi all,
I've been bothered by the way the otherwise excellent Advanced Guestbook displays e-mail addresses in the normal view. I think its a good thing to protect your vistors from e-mail address harvesting robots by preventing Guestbook from displaying them.
I think someone else asked about this elsewhere but I searched and couldn't find it.
To prevent Guestbook displaying e-mail address of visitors, make a backup of templates/entry.php then open entry.php in a text editor such as Notepad or Crimson Editor.
Then remove lines 15 to 17 inclusive.
Originally the section of entry.php looks like this:
Remove the lines:
So that the section looks like this:
Although the guestbook still asks for an e-mail address when someone signs it, its stored for Admin reasons but not displayed. if you need to see the e-mail address, its still displayed in the Easy Admin section of the Control Panel.
Hope this helps.
|
|
06/10/2004 05:29:39
|
midnite
Newbie
Joined: 30/09/2004 22:17:11
Messages: 1
Location: Canada
Offline
|
The e-mail address is also displayed under the "Comments" section, as the tiny little envelope icon. This will also enable robots and such to possibly steal the address again without anyone's permission.
Further down in the entry.php file is the "$EMAIL" variable.
... remove that, and there are truly no e-mails displayed.
TB
|
..love your life.. |
|
06/10/2004 16:50:47
|
The Old Man
Beginner
Joined: 10/09/2004 12:52:00
Messages: 7
Location: UK
Offline
|
That's great, thanks for that! Much appreciated.
|
|
07/10/2004 12:25:26
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Hate to be blunt but your visitors are obviously not concerned about being caught by a spam bot otherwise they would simply just not put the email address in. I suggest you still leave the option in but put a warning beneath the email field.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
08/07/2005 22:31:42
|
Anonymous
|
midnite wrote:The e-mail address is also displayed under the "Comments" section, as the tiny little envelope icon. This will also enable robots and such to possibly steal the address again without anyone's permission.
Further down in the entry.php file is the "$EMAIL" variable.
... remove that, and there are truly no e-mails displayed.
TB
Remove that and you wind up with a black background and nothing at all but the address book??? I am using 2.3.1 does it work here?
|
|
09/07/2005 00:06:09
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Think they just mean the $EMAIL part.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|