The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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! ![]() |
#4
|
|||
|
|||
![]() Quote:
It could be hacked in; I'll take alook at it later |
#5
|
|||
|
|||
![]()
Thanks so far!
I'm excited for your reply! ![]() |
#6
|
|||
|
|||
![]()
One question, didn't you want to tell me how to hack it?
![]() ![]() |
#7
|
|||
|
|||
![]()
I've allready made the hack a while ago...
Do a search for 'flashregex for the ones that need it' on this forum |
#8
|
|||
|
|||
![]()
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? |
#9
|
|||
|
|||
![]()
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 |
#10
|
|||
|
|||
![]()
OK, i'll do the search for your old topic and try it with the hack!
Thanks again! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|