Page 1 of 1

script in email field for logged in user

Posted: 07 Apr 2013, 16:17
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

Re: script in email field for logged in user

Posted: 08 Apr 2013, 00:17
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?

Re: script in email field for logged in user

Posted: 09 Apr 2013, 00:47
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

Re: script in email field for logged in user

Posted: 09 Apr 2013, 04:25
by essiele
o...k...

Well, thanks for replying, anyway.