Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2001, 11:43 AM
Christian Christian is offline
 
Join Date: Nov 2001
Location: wuerzburg.germany.earth
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, on UBB we had the option the users could use flash sigs by typing [flash="width","heigth"]url of the movie[/flash].
I want to do that also now in vBulletin.
The problem is that the code replacement only reads 1 option!
For example:

vB Code tag: flash

vB Code replacement: <EMBED src="\7" quality=high WIDTH=\5 HEIGHT=\6 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

vB Code example: [FLASH=200,120]http://www.geocities.com/carailbrubat/Logos/CarailBrubat.swf[/FLASH]

When i do this vb reads as param \6 already the ] so that the height of the movie is 0!
I get the following result then:

[FLASH=200,120]http://www.geocities.com/carailbrubat/Logos/CarailBrubat.swf[/FLASH] is replaced with (<EMBED src="http://www.geocities.com/carailbrubat/Logos/CarailBrubat.swf" quality=high WIDTH=200,120 HEIGHT=] TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>)

How can I use both params in the first bracket?
Reply With Quote
  #2  
Old 03-14-2001, 12:00 PM
Guest
 
Posts: n/a
Default

You can't use more than one parameter just for know..

Btw: You should use the {option} and {param} codes instead of \7 and \5
Reply With Quote
  #3  
Old 03-14-2001, 12:03 PM
Guest
 
Posts: n/a
Default

i used {param} and {option} and it was replaced with \7 for param and \5 for option!

OK, when I can't use more than one parameter, how is it possible to use the movies in the correct size then?
Is there a hack which makes it possible?
I mean I would also be satisfied if the size is read out automatically, without entering the width and height!
Reply With Quote
  #4  
Old 03-14-2001, 12:06 PM
Guest
 
Posts: n/a
Default

Quote:
i used {param} and {option} and it was replaced with \7 for param and \5 for option!
My fault, this will be fixed in beta 4

It could be hacked in; I'll take alook at it later
Reply With Quote
  #5  
Old 03-14-2001, 12:11 PM
Guest
 
Posts: n/a
Default

Thanks so far!
I'm excited for your reply!
Reply With Quote
  #6  
Old 03-28-2001, 09:27 PM
Guest
 
Posts: n/a
Default

One question, didn't you want to tell me how to hack it?
Reply With Quote
  #7  
Old 03-28-2001, 09:29 PM
Guest
 
Posts: n/a
Default

I've allready made the hack a while ago...

Do a search for 'flashregex for the ones that need it' on this forum
Reply With Quote
  #8  
Old 03-28-2001, 09:39 PM
Guest
 
Posts: n/a
Default

Cool, OK!
But one thing would be even better!
To use more than one option for code replacement!
Will that be possible in 2.0 beta4?
Reply With Quote
  #9  
Old 03-28-2001, 09:46 PM
Guest
 
Posts: n/a
Default

don't know..I'm not the developer...

I wrote the bbcode-utility so I know this is not very easy to implement..I may look into it later
Reply With Quote
  #10  
Old 03-31-2001, 06:26 PM
Guest
 
Posts: n/a
Default

OK, i'll do the search for your old topic and try it with the hack!
Thanks again!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:38 PM.


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.03836 seconds
  • Memory Usage 2,221KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete