vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Flash for VBB2 rc2 (https://vborg.vbsupport.ru/showthread.php?t=16676)

Cruz 05-13-2001 12:11 AM

Can anyone tell me the exact way to add flash capabilities to my board via the bbreplacement code in the control panel? All of the other threads have been tried, and none of them work with VBB2 rc2 :(
I would be very grateful! Thanks :)

DeMoN 05-13-2001 11:48 AM

i think you have to put it in embed tags <embed> or sommin. not sure :)

ztsky 05-13-2001 03:32 PM

vB Code tag£ºswf

vB Code replacement:

<embed src={option} width=200 height=100 type=application/x-shockwave-flash></embed>

vB Code example:

[swf="http://yoursite.com/yourmovie.swf"][/swf]

vB Code explanation:
insert a SWF

Use parameter£ºYES

DeMoN 05-13-2001 06:49 PM

i did it like

tag : flash

vB code replacement : <embed src="{option}" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>

code example : [flash]url to flash...[/flash]

explaination : Just put the URL to the flash between the tags and there ya go.

use param : no

works a charm

xshArp 05-14-2001 06:05 AM

PHP Code:

 function flash_msg($msg) {
$msg=eregi_replace("\\[swf width=([^\\[]*) height=([^\\[]*)\\]([^\\[]*)\\[/swf\\]","<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4\,0\,2\,0\" width=\"\\1\" height=\"\\2\"><param name=quality value=high><param name=\"SRC\" value=\"\\3\"><embed src=\"\\3\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"\\1\" height=\"\\2\"></embed></object>"$msg);
 return 
$msg;



xshArp 05-14-2001 06:14 AM

Quote:

Originally posted by DeMoN
i did it like

tag : flash

vB code replacement : <embed src="{option}" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>

code example : [flash]url to flash...[/flash]

explaination : Just put the URL to the flash between the tags and there ya go.

use param : no

works a charm

or u can use follow well~

<embed src="{param}" quality=high type="application/x-shockwave-flash" width="{option}"></embed>

vB Code tag:flash

vB Code example:
[flash=200]http://www.justdn.org/vv2.swf[/flash]

Der``Bauer 05-14-2001 03:13 PM

thx a lot 2 U all ;)

THat Work great ;)

Nick - Icerealm 05-20-2001 11:46 AM

thank you to ztsky, your one worked the best for my board :)

MicKeY R@t 05-27-2001 01:42 AM

but wat if i want it to be able to insert option width and height? :confused:

MicKeY R@t 05-27-2001 01:37 PM

huh? :confused:


All times are GMT. The time now is 05:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete