Log in

View Full Version : 2 options in the code replacement for using flash signatures


Christian
03-14-2001, 11:43 AM
OK, on UBB we had the option the users could use flash sigs by typing url of the movie.
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: http://www.geocities.com/carailbrubat/Logos/CarailBrubat.swf

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:

http://www.geocities.com/carailbrubat/Logos/CarailBrubat.swf 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?

03-14-2001, 12:00 PM
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

03-14-2001, 12:03 PM
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! ;)

03-14-2001, 12:06 PM
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

03-14-2001, 12:11 PM
Thanks so far!
I'm excited for your reply! ;)

03-28-2001, 09:27 PM
One question, didn't you want to tell me how to hack it? ;) :D

03-28-2001, 09:29 PM
I've allready made the hack a while ago...

Do a search for 'flashregex for the ones that need it' on this forum

03-28-2001, 09:39 PM
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?

03-28-2001, 09:46 PM
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

03-31-2001, 06:26 PM
OK, i'll do the search for your old topic and try it with the hack!
Thanks again!

03-31-2001, 06:31 PM
Nope, only this thread is lisited as match for a search on "flashregex"! :(
Would you mind to mail the hack to me?
admin@knowledge-emporium.com

04-01-2001, 07:19 PM
http://www.vbulletin.com/forum/showthread.php?s=&threadid=11503

If you had done a search in the code-hack forum with 'flash' as a keyword and on the name of "Mas*Mind" this would be the only result :)

A search-combination with a keyword and a username does also work FYI

04-01-2001, 09:20 PM
Sorry but i'd like to have a system of flahs footers ...

so i need a vbcode for that... i've read your post but what is the final regex to use where ? how ? etC...

can u make a final release :).

Thx You !

04-01-2001, 09:41 PM
Could I see a screen shot of what it looks like in the CP?
I always add the wrong text to the wrong line ect?