URL in content not shown as hyperlink

Phoca Guestbook - creating guestbooks in Joomla! CMS
palderweireldt
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Jan 2009, 13:33

URL in content not shown as hyperlink

Post by palderweireldt »

Hi

A contact submited a post in my guestbook and in the content he typed a link to his home page. When I edited this item in the administrative back end I saw this hyperlink (href was existing, text was blue, underlined and clickable).
At the front end this hyperlink is not working. This hyperlink is only shown as text, but not clickable.

Although my global configuration is set to allow maximum 5 URLs, it has no impact on showing correctly this hyperlink.

Can someone help?

Regards
Pascal
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL in content not shown as hyperlink

Post by Jan »

Hi, maybe the links was not correctly added, try to add some other link to the guestbook...

Jan
If you find Phoca extensions useful, please support the project
palderweireldt
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Jan 2009, 13:33

Re: URL in content not shown as hyperlink

Post by palderweireldt »

Hi Jan

I tried it as well with my own post in the guestbook. I even checked the HTML source code of the Guestbook Item and clearly stated <a href="... and in the it was shown as a hyperlink in the item, but not on my web page.
I even used the editor and hyperlink button to verify and retype the link, but is no solution as well.

Regards
Pascal
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL in content not shown as hyperlink

Post by Jan »

can I see the site where this occures?
If you find Phoca extensions useful, please support the project
Silko
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jun 2010, 09:25

Re: URL in content not shown as hyperlink

Post by Silko »

I have nearly the same problem. In the entries of the guestbook I installed on my site, sometimes web URLs are shown as clickable links and sometimes they just appear as underlined text. I mentioned this while permanently updating the browser result. No difference using IE or Mozilla.
I checked the HTML result. In those cases, the web URLs are not shown as clickable links the HTML code changes from

Code: Select all

<a href="http://www.poegot.org" target="_blank">www.PoeGot.org</a>
to something like that

Code: Select all

<a %phoca1.15275788492E+12phoca%="http://www.poegot.org" target="_blank">www.PoeGot.org</a>
The guestbook you can find under http://www.silkoronczka.de/gaestebuch.html. Please look at i.e. the last entry Volker Poeschel.
The option “Clear HTML code” doesn’t take any effect on this.
This seems to be a bug? Or is there any option, I didn’t see? Thanks in advance for any help.

Best regards from Germany
Silko
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL in content not shown as hyperlink

Post by Jan »

Hi, did you add this address to the editor or someone else, maybe someone tried to add some malicious code, which was reduced so it will be not dangerous :idea:
If you find Phoca extensions useful, please support the project
Silko
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jun 2010, 09:25

Re: URL in content not shown as hyperlink

Post by Silko »

Jan wrote:Hi, did you add this address to the editor or someone else, maybe someone tried to add some malicious code, which was reduced so it will be not dangerous :idea:
I added it myself, but cause of the options it's also possible to enter web-adresses via the frontend. You think, its to protect from dangerous HTML-code? But why is it correctly shown as link in one case? In the other case ist simple text and the HREF-Tag gets lost?
I can't see nothing it depends on. It seems to occure randomly.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL in content not shown as hyperlink

Post by Jan »

so maybe some method did not remove the all code.
If you find Phoca extensions useful, please support the project
Silko
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jun 2010, 09:25

Re: URL in content not shown as hyperlink

Post by Silko »

But why does it randomize??

Years years ago I was programming myself. Borland Pascal - object orientated applications. I can't imagine an randomizing algorithm in that case. Do you have any idea, how to fix it?

However, I would prefer your guestbook anytime. It's the best I 've ever seen for joomla.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48736
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL in content not shown as hyperlink

Post by Jan »

Hi, no idea there :-( I have tested a lot of code and protected a lot of code (with help of html purifier or in the code by itself) but of course you cannot say, such thing will not happen (didn't experience any such problem on my test sites or by other users yet :-(, so it is diffucult to say by what action this was added :-( )
If you find Phoca extensions useful, please support the project
Post Reply