I have been searching for a way to do that, but haven't found a way that works 100% I will look into it once more soon.Thanks for this amazing add-on!
is there a way to stop parsing links/urls withing a BB Code?
"Do not parse links/urls within this BB Code."
I have a bbcode similar to the IMG bbcode and whenever I enter the image url, the image doesn't show, the url becomes a link.
Thanks
I'm sorry, what do you mean? Any xen:x syntax is strictly templates.so no way to use template conditional inside the php code??
Replace {option} with %s. Put everything before {param} in the "replacement begin" and everything after it in "replacement end."
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}&fs=1" width="644" height="390"><param name="movie" value="http://www.youtube.com/v/{param}&fs=1" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><a href="http://www.youtube.com/watch?v={param}">http://www.youtube.com/watch?v={param}</a></object>
Media BB Code is built in to the software by default - you should be able to edit the existing YouTube BB Code to cater for that.
ACP -> Home -> BB Code Media Sites (left hand menu)
[media=youtube]hkAJ-CQvkwA[/media]
[yt]hkAJ-CQvkwA[/yt]
Some are tagged as:
[yt]sigQfHVayoo&feature=topvideos[/yt] where the media tag strips out the & and beyond
We use essential cookies to make this site work, and optional cookies to enhance your experience.