Page 1 of 1

If we require the e-

Posted: 16 Nov 2007, 04:44
by baijianpeng
If we require the e-mail for signing new guestbook entry, then this e-mail address will be displayed obviously at frontend. This may have some risk since it could be collected by spambot.

So I think we can add an option to hide this e-mail from public view, though we still require it. Or just cloak this e-mail address as image or something else.

Thanks.

No, I think, there i

Posted: 16 Nov 2007, 13:18
by Jan
No, I think, there is a some antispam controll (mail function in Joomla!)...try to disable javascript and you will see it...

Administrator can set the e-mail as not required

Hi Folks,

Posted: 31 Dec 2007, 17:26
by slaughty
Hi Folks,

thats exactly the function I need for my website - hiding email for spam protection. Is it possible to edit the guestbook template file?

thx & so long
slaughty

Yes you can edit it.

Posted: 31 Dec 2007, 21:40
by Jan
Yes you can edit it. Now there is a anti-spam function from joomla framework, just disable javascript and you will see it...

Jan

Hi Jan,t

Posted: 05 Jan 2008, 13:27
by slaughty
Hi Jan,

thanx for the information. But unfortunately I have no influence on the website's users to disable javascript on their computer that's why in my opition it would make sence to have a function to disable showup of the mail-adress...

However, could you give me a hint in which file i can delete the code showing the mail adress?

thx a lot
slaughty from germany

Disabling Javascript

Posted: 05 Jan 2008, 15:03
by Jan
Disabling Javascript I have meant, you only see the spam protection. Not mean, it is only work with disabling javascript.

components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php

Jan

A temporary solution

Posted: 05 Jan 2008, 21:27
by thijeleo
A temporary solution could be to open components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php
en replace:

if ($values->email != '')
{
$msgpg .= ' ('. JHTML::_( 'email.cloak', $values->email ).')';
}

width

//- if ($values->email != '')
//- {
//- $msgpg .= ' ('. JHTML::_( 'email.cloak', $values->email ).')';
//- }

In other words: disable these lines. Email won't show up in the front, but will be available for the admin.

Or am i thinking wrong?

Posted: 06 Jan 2008, 13:38
by Jan

Glad to see I wasn&#

Posted: 06 Jan 2008, 13:56
by thijeleo
Glad to see I wasn't thinking wrong.