PDA

View Full Version : Problem with <param>


veenuisthebest
02-10-2009, 11:55 PM
Hello,

I have a youtube BBCODE that works perfect and validates xhtml.

<object type="application/x-shockwave-flash"
data="http://www.youtube.com/v/{param}"
width="350" height="275">
<param name="movie"
value="http://www.youtube.com/v/{param}" />
</object></param>

Now, ONLY on the vbadvanced page, a </param> is being added at the end i.e. after </object> which is giving xhtml errors. I have no clue what could be causing this. Happening only on my vba portal page and not in thread pages.

Thanks

Brian
02-11-2009, 11:27 AM
Thank you for pointing this out. You should be able to correct the issue by looking in your modules/news.php file for this code:
switch ($otag)
{
case 'br':
case 'hr':
case 'img':
continue;

default:


And replace with this:
switch ($otag)
{
case 'br':
case 'hr':
case 'img':
case 'param':
continue;

default:

Our Sponsors
 

veenuisthebest
02-18-2009, 06:10 PM
This solved the problem at once, thanks a lot :)