Results 1 to 6 of 6

BBCode Media

This is a discussion on BBCode Media within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, I have installed this hack: http://www.vbulletin.org/forum/showt...hreadid=106239 When I try to play a flash file, it works fine in firefox ...

  1. #1
    Member
    Join Date
    Nov 2005
    Posts
    90
    Liked
    0 times

    BBCode Media

    Hi,

    I have installed this hack:
    http://www.vbulletin.org/forum/showt...hreadid=106239

    When I try to play a flash file, it works fine in firefox but not it doesn't play in IE.

    I switched off 'cleanup html' in vbseocp and now it works.

    Is there a way to fix this with cleanup html enabled?

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Probably the modification's html code is not pretty good. check the templates and correct the mistakes. that way your problem will be solved.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    90
    Liked
    0 times
    Quote Originally Posted by Lizard King
    Probably the modification's html code is not pretty good. check the templates and correct the mistakes. that wa[y your problem will be solved.
    Hi, this is the template. Since I am not proficient in html, could you spot the mistakes? Thanks in advance

    <!-- AnyMedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com Start -->
    <style type="text/css">
    .player_mozilla{display:block;}
    </style>
    <!--[if IE]>
    <style type="text/css">
    .player_mozilla{display:none;}
    </style>
    <![endif]-->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$media[layout]">
    <tr>
    <td class="tcat"<if condition="$media[type]=='torrent'"> colspan="2"</if>>
    <span style="float:$stylevar[right]"><a href="#" onclick="return toggle_collapse('media_$media[id]')"><img id="collapseimg_media_$media[id]" src="$stylevar[imgdir_button]/collapse_tcat.gif" border="0" /></a></span>
    <a href="#" onclick="return toggle_collapse('media_$media[id]')">$vbphrase[anymedia_player]</a></td>
    </tr>
    <tbody id="collapseobj_media_$media[id]">
    <if condition="$media[type]!='torrent'">
    <tr>
    <td class="alt1" align="center">
    <if condition="$media[type]=='adobe_flash'">
    <!-- Abode Flash -->
    <object data="$media[url]" type="$media[mime]" width="$media[width]" height="$media[height]" class="player_mozilla">
    <param name="play" value="$media[autoplay]" />
    <param name="wmode" value="opaque" />
    <param name="quality" value="high" />
    </object>
    <!--[if IE]>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="$media[width]" height="$media[height]">
    <param name="movie" value="$media[url]" />
    <param name="play" value="$media[autoplay]" />
    <param name="wmode" value="opaque" />
    <param name="quality" value="high" />
    </object>
    <![endif]-->
    </if>
    <if condition="$media[type]=='quick_time'">
    <!-- Quick Time -->
    <object data="$media[url]" type="$media[mime]" width="$media[width]" height="$media[height]" class="player_mozilla">
    <param name="autoplay" value="$media[autoplay]" />
    </object>
    <!--[if IE]>
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="$media[width]" height="$media[height]">
    <param name="autoplay" value="$media[autoplay]" />
    <param name="src" value="$media[url]" />
    </object>
    <![endif]-->
    </if>
    <if condition="$media[type]=='real_media'">
    <!-- Real Media -->
    <!-- IE or Mozilla -->
    <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="$media[width]" height="$media[height]">
    <param name="src" value="$media[url]" />
    <param name="controls" value="Imagewindow" />
    <param name="console" value="clip$media[id]" />
    <param name="autostart" value="$media[autoplay]" />
    <embed src="$media[url]" type="$media[mime]" autostart="$media[autoplay]" console="clip$media[id]" width="$media[width]" height="$media[height]" controls="Imagewindow"></embed><br />
    </object>
    <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="$media[width]" height="42">
    <param name="src" value="$media[url]" />
    <param name="controls" value="ControlPanel" />
    <param name="console" value="clip$media[id]" />
    <param name="autostart" value="$media[autoplay]" />
    <embed src="$media[url]" type="$media[mime]" autostart="$media[autoplay]" console="clip$media[id]" width="$media[width]" height="42" controls="ControlPanel"></embed>
    </object>
    </if>
    <if condition="$media[type]=='windows_media'">
    <!-- Windows Media -->
    <object data="$media[url]" type="$media[mime]" width="$media[width]" height="$media[height]" class="player_mozilla">
    <param name="autoplay" value="$media[autoplay]" />
    </object>
    <!--[if IE]>
    <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="$media[width]" height="$media[height]">
    <param name="autoplay" value="$media[autoplay]" />
    <param name="filename" value="$media[url]" />
    </object>
    <![endif]-->
    </if>
    <if condition="$media[type]=='adobe_pdf'">
    <!-- Adobe PDF -->
    <object data="$media[url]" type="$media[mime]" width="$media[width]" height="$media[height]" class="player_mozilla">
    </object>
    <!--[if IE]>
    <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="$media[width]" height="$media[height]">
    <param name="src" value="$media[url]" />
    </object>
    <![endif]-->
    </if>
    <if condition="$media[type]=='image'">
    <!-- Image -->
    <img src="$media[url]" alt="" onload="if(this.width>$media[width]) {this.width=$media[width];this.alt='$vbphrase[anymedia_resized]';}" onmouseover="if(this.alt) {this.style.cursor='pointer';}" onclick="if(this.alt) {window.open('$media[url]');}" />
    </if>
    <if condition="$media[type]=='torrent_error'">
    <!-- Torrent Error -->
    $vbphrase[anymedia_torrent_error]
    </if>
    <if condition="$media[type]=='unknown'">
    <!-- Wrong Type -->
    $vbphrase[anymedia_wrong_type]
    </if>
    </td>
    </tr>
    <else />
    <!-- Torrent -->
    <if condition="$media['name']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_name]: </td>
    <td class="alt1">$media[name]<if condition="$media[length]"> ( $media[length] )</if></td>
    </tr>
    </if>
    <if condition="$media['publisher']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_publisher]: </td>
    <td class="alt1"><if condition="$media['publisher_url']"><a href="$media[publisher_url]" target="_blank" title="$vbphrase[anymedia_torrent_publisher_url]">$media[publisher]</a><else />$media[publisher]</if></td>
    </tr>
    </if>
    <if condition="$media['created_by']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_created_by]: </td>
    <td class="alt1">$media[created_by]</td>
    </tr>
    </if>
    <if condition="$media['creation_date']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_creation_date]: </td>
    <td class="alt1">$media[creation_date]</td>
    </tr>
    </if>
    <if condition="$media['encoding']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_encoding]: </td>
    <td class="alt1">$media[encoding]<if condition="$media[codepage]"> ( $vbphrase[anymedia_torrent_codepage]: $media[codepage] )</if></td>
    </tr>
    </if>
    <if condition="$media['piece_length']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_piece_length]: </td>
    <td class="alt1">$media[piece_length]</td>
    </tr>
    </if>
    <if condition="$media['announce']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_announce]: </td>
    <td class="alt1">$media[announce]</td>
    </tr>
    </if>
    <if condition="$media['nodes']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_nodes]: </td>
    <td class="alt1">$media[nodes]</td>
    </tr>
    </if>
    <if condition="$media['files']">
    <tr>
    <td class="alt2" width="20%">$vbphrase[anymedia_torrent_files]: </td>
    <td class="alt1">$media[files]</td>
    </tr>
    </if>
    </if>
    <if condition="$vboptions[anymediadownload] OR in_array('torrent','torrent_error','unknown')">
    <tr>
    <td class="tfoot" align="center"<if condition="$media[type]=='torrent'"> colspan="2"</if>><a href="$media[link]" target="_blank">$vbphrase[anymedia_download]</a></td>
    </tr>
    </if>
    </tbody>
    </table>
    <!-- Anymedia BBCode for vBulletin 3.5.x by Crist Chsu @ VBZH.com End -->

  4. #4
    Junior Member
    Join Date
    Jan 2006
    Posts
    12
    Liked
    0 times
    I edit, and him work for VBB 3.5.3
    Download: http://dshue.com/tulieu/soft/vbb/AnyMedia_1.0.0.rar

  5. #5
    Member
    Join Date
    Nov 2005
    Posts
    90
    Liked
    0 times
    Quote Originally Posted by sorenlowell
    I edit, and him work for VBB 3.5.3
    Download: http://dshue.com/tulieu/soft/vbb/AnyMedia_1.0.0.rar
    Hi,

    What did you exactly change (which files)?

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hi!

    This hack uses the IE-specific code (<!--[if IE]>), which is stripped, since this is HTML comment. We've added this to the exclusion list in coming vBSEO release so that it will work with "HTML Cleanup" option enabled too.

Similar Threads

  1. Australian Media Center Community
    By guvner in forum Analysis: Traffic & SERPS
    Replies: 2
    Last Post: 02-16-2006, 08:27 AM
  2. Attachments not rewritten with [attach] bbcode.
    By ADM in forum Bug Reporting
    Replies: 1
    Last Post: 12-12-2005, 11:11 AM

Posting Permissions

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