vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Small BBCODE translation.. Should be a sinch for some of you guys :) (https://vborg.vbsupport.ru/showthread.php?t=66422)

SaltedSlug 06-22-2004 10:30 PM

Small BBCODE translation.. Should be a sinch for some of you guys :)
 
I really would like the hack in this post:
[removed link.]

Edit: What I'm looking for is a [flash] bbcode that i can use in vb3, that allows for URL, Height & Width parameters...

Except, now I use vb3 and I'm not sure how to apply this hack, as it was made for vb2 and some things have changed since then.

Giveit2u43 06-23-2004 07:25 AM

I did this by setting up a custom bb code in the admincp with the following settings:

Code:

Title: flash

Tag: Flash

Replacement: <embed src={option} width={param} height={param} type=application/x-shockwave-flash></embed>

Example: [flash=http://www.domain.com/example.swf]400[/flash]

Description: Flash BBCode

then to add a flash to a post, use the tag:

[flash=flash file url]flash size[/flash]

SaltedSlug 06-23-2004 11:35 AM

Ah, but it appears that it uses the same parameter for both width and height?

Width and height in flash movies are often different :(

Thanks though! Maybe you can ammend it.

SaltedSlug 06-23-2004 12:13 PM

Sokay guys, i worked out the solution myself.

Blam Forumz 07-07-2004 09:15 AM

Well at least post the solution

Merjawy 07-07-2004 11:10 PM

Quote:

Originally Posted by Blam Forumz
Well at least post the solution

heres what I use on 3.0.1

PHP Code:

<object width="550" height="400">
<
param name="movie" value="{param}">
<
embed src="{param}" width="550" height="400" type="application/x-shockwave-flash"></embed>
</
object

and Options set to No

DS MrSinister 08-18-2004 06:13 PM

thanks been looking for this thanks works great..


All times are GMT. The time now is 08:31 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.01678 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete