Results 1 to 3 of 3

Thread: Problem with <param>

  1. #1

    Default Problem with <param>

    Hello,

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

    Code:
    <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

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    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:
    Code:
    						switch ($otag)
    						{
    							case 'br':
    							case 'hr':
    							case 'img':
    								continue;
    
    							default:
    And replace with this:
    Code:
    						switch ($otag)
    						{
    							case 'br':
    							case 'hr':
    							case 'img':
    							case 'param':
    								continue;
    
    							default:

  3. #3

    Default

    This solved the problem at once, thanks a lot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •