miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Flash swf files BB code

 
Author mario
Partaker
#1 | Posted: 1 Apr 2003 19:59 
Hello:
How can add and preview .swf files.
Thanks in advance

Author Sergei
Team member
#2 | Posted: 1 Apr 2003 21:42 
You mean like images through [img] BBcode? Yes, if you'll modify bb_codes.php file and add one more bbcode for swf. Current version of miniBB has only image insertion option.

Author Paul
Lead Developer 
#3 | Posted: 15 Apr 2003 10:34 
The following codes SHOULD work (I've just tested them on my server, so if you are experiencing an error, try to find it yourself):

encodeBB():

$pattern[] = "/\[flash\](.+?)\[\/flash\]
/is";
$replacement[] = '<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="\\1"></OBJECT>';

decodeBB():

$pattern[] = "/<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME=\"movie\" VALUE=\"(.+?)\"><\/OBJECT>/s";
$replacement[] = '[flash]\\1[/flash]';

Author Marius
Partaker
#4 | Posted: 5 Feb 2007 14:21 
Thanks...

Author Danny2000
Partaker
#5 | Posted: 2 Nov 2009 06:19 
How can we change size of flash make it bigger or smaller?

Author Paul
Lead Developer 
#6 | Posted: 3 Nov 2009 09:16 
Danny2000:
How can we change size of flash make it bigger or smaller?
It depends on how your flash movie is set up via HTML params... probably there must be some additional code to pass in <param> vars or URL itself.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Flash swf files BB code
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑