MyBB Community Forums

Full Version: X-Threads issues please help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Friends,

First of all thanks for this great plugin.

I am using this : <strong>Website URL: </strong><a href={VALUE} target="_blank" /a><br />

In display format...it is doing everything great just like this forum. But the problem Im facing is it is parsing the URL entered in the field in the Message body of the thread...

Let me explain it by an example :

My Custom Field is : Website URL:

So if I put http://www.mywebsite.com in Website URL

and

this is another thread - as the body of the thread.

So it is getting displayed as :

Website URL:
this is another thread

So basically it is parsing the url in the thread body itself

So please help me with this thing..

Thanks
just a note: though we have X-Threads experts here, it would be better to seek support at the official site of the plugin
No need to be XThreads expert here. It's invalid HTML.
<a href=http://www.mywebsite.com target="_blank" /a><br />
Code contains 3 mistakes.

1) URL ({VALUE}) should be inside "" as any other HTML attribute.
2) <a> tag is not closed properly.
3) It doesn't wrap anything. So unless it's modified with CSS somehow, which I doubt, it can't be clicked.

So proper code should look like this:
<strong>Website URL: </strong><a href="{VALUE}" target="_blank">{VALUE}</a><br />
^ Thank You Smile somehow I haven't noticed that code Shy Sleepy
(2013-10-21, 06:49 PM)Destroy666 Wrote: [ -> ]No need to be XThreads expert here. It's invalid HTML.
<a href=http://www.mywebsite.com target="_blank" /a><br />
Code contains 3 mistakes.

1) URL ({VALUE}) should be inside "" as any other HTML attribute.
2) <a> tag is not closed properly.
3) It doesn't wrap anything. So unless it's modified with CSS somehow, which I doubt, it can't be clicked.

So proper code should look like this:
<strong>Website URL: </strong><a href="{VALUE}" target="_blank">{VALUE}</a><br />

Hey thanks its working...even I was using the same thing like {VALUE} in "" , then was editing the stuff and was doing hit and trial...and copy pasted the same here....BTW its working now so thanks a lotz...