Version: 1.1, by SEW810
Developer Last Online: Nov 2022
Category: BB Code Enhancements -
Version: 4.0.3
Rating:
Released: 02-05-2010
Last Update: 05-03-2010
Installs: 87
Additional Files
No support by the author.
What does it do?
This BB Code allowes to insert .swf animations into your posts or user's signatures.
When you click on "F" button (see zip file) you have to do this:
1.- Enter height and width values (see screenshot 1)
2.- Enter your .swf URL (see screenshot 2)
3.- That's all !!
Title: Flash BB Code
BB Code Tag Name : swf
Replacement:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" {option} id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{param}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent">
<param name="menu" value="false"/>
<embed src="{param}" quality="high" bgcolor="#ffffff" {option} wmode="transparent" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="Adobe - Adobe Flash Player" />
</object>
Example: [swf="height=100 width=400"]http://www.seusers.com/intro.swf[/swf]
Description: This BB Code allowes to insert .swf animations into your posts or user's signatures.
Use {option}: Yes
Button Image (Optional) : Upload from zip file to /images/editor or /your_style/images/editor if you are not using vbulletin default style.
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No (Not available in 3.8.x or lower, just omit it)
Disable Automatic Link Parsing Within This BB Code: Yes (Not available in 3.8.x or lower, just omit it)
History
1.0 Release
1.1 Fixed some code. Now working with vb 3.8.x and 4.0.3
Make sure the example works fine first and then things will do the work.
Cheers
How to Make sure the example works?
I used the one in your post:
[swf="height=100 width=400"]http://www.seusers.com/intro.swf[/swf] Edit:
I found your example is not working, then I got another one and used it, and test it in Test your BB Code screen and it is working there, but when I used the same flash link in the example as test in the thread page, I get the same blank space, even when I modify the post I find the BB code disappears!!
Edit 2:
I found the problem
this is what I get: when i click the flash icon in thread or post to enter the swf link in the (Please enter the option for your [SWF] tag pop up screen:
[SWF=[swf="height=100 width=400"]http://www.mobileguide-mea.com/vb/images/ads/SIII.swf[/swf]][/SWF]
when I delete the things in red, it is working, so how to prevent these words in red to appear?
and sometimes it comes without the size option!! and it is not working till I write this part manually : [swf="height=100 width=400"
2 - the swf file appear smaller than original, how to make it appear with the original size?
3- how to prevent all users from using this bbcode (as I read for security reasons) and allow only the admin to use it?