PDA

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


Christian
14 Mar 2001, 12:43
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?

14 Mar 2001, 13:00
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

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

14 Mar 2001, 13:06
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

14 Mar 2001, 13:11
Thanks so far!
I'm excited for your reply! ;)

28 Mar 2001, 22:27
One question, didn't you want to tell me how to hack it? ;) :D

28 Mar 2001, 22:29
I've allready made the hack a while ago...

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

28 Mar 2001, 22:39
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?

28 Mar 2001, 22:46
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

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

31 Mar 2001, 19:31
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

01 Apr 2001, 20:19
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

01 Apr 2001, 22:20
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 !

01 Apr 2001, 22:41
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?