script in email field for logged in user

Phoca Guestbook - creating guestbooks in Joomla! CMS
essiele
Phoca Member
Phoca Member
Posts: 10
Joined: 03 Aug 2011, 11:39
Location: UK
Contact:

script in email field for logged in user

Post by essiele »

Hi guys,

Firstly, congratulations on a brilliant extension.

I have an issue where the email field in the form shows a script when a user is logged in to the site:
<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy1407 = 'user' + '@'; addy1407 = addy1407 + 'domain' + '.' + 'net'; document.write('<a ' + path + '\'' + prefix + ':' + addy1407 + '\'>'); document.write(addy1407); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>This email address is being protected from spambots. You need JavaScript enabled to view it. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>
Now, I think I understand what it's meant to be doing... however, from a user's standpoint, it may look like an error. Is there a way to make it not look like a script? Furthermore, it says I "need JavaScript enabled to view it", but I was always under the impression that JavaScript was enabled for the website on which I'm working. How can I check this?

Many thanks in advance. I look forward to your reply.

PS: As soon as I'm able, I'll be making a donation so I may obtain the Latest entries module... a must-have, in my opinion (but then so is the cash :oops: ).

Ess
essiele
Phoca Member
Phoca Member
Posts: 10
Joined: 03 Aug 2011, 11:39
Location: UK
Contact:

Re: script in email field for logged in user

Post by essiele »

I do apologise if this was a dumb question... but I've been searching through the entries in the Phoca Guestbook forum and can find nothing similar.
I admit, I'm a novice at all this, but I'm a quick and willing learner... if someone can just point me in the right direction... please?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: script in email field for logged in user

Post by Jan »

Hi, I think you need to ask on Joomla.org forum as this is a Joomla! feature, not Phoca Guestbook feature. This protection is made by Joomla! methods and you can find it in other parts of Joomla!

Jan
If you find Phoca extensions useful, please support the project
essiele
Phoca Member
Phoca Member
Posts: 10
Joined: 03 Aug 2011, 11:39
Location: UK
Contact:

Re: script in email field for logged in user

Post by essiele »

o...k...

Well, thanks for replying, anyway.
Post Reply