![]() |
This adds a new bbcode option to include flash-files in posts
syntax: [swf height="x" width="x"]http://domein.com/path/to/swf.swf[/swf] Instructions (Note: The instructions in the attachment on the next post are more accurate since there seems to be a bug with \\; \\5 gets replaced by\\1)
That's it! Let me know if it works (didn't used it at my server) [edit]For some strange reason \\5 gets replaced with \\1, so \\1 should be: \\5[/edit] |
1 Attachment(s)
this get's a little complicated (strange bug \\1 gets replaced with \\5), see my attachment for valid instructions:
|
hmz....First it gets requested a couple of times and now no-one needs it?
|
I'll give it a try
|
You don't need to do that at all, you can simply create a bb code from the control panel using the {option} I've done it and it worked great!
|
yeah, I know that (I've written that utitity myself), but there is a limitation on that and that's that it doesn't accept more than 1 parameter. For this bbcode there are 2 parameters necessary: width and height..
I may rewrite the custom-bbcode thingy some day to allow this... |
i'm trying it out right now. seems to work fine
|
Quote:
I even tested with transparent backgrounds! |
yeah, but then you probably do it like this
[swf parameters="width=50 height=10 this=dat"]swf/url[/swf] It's a solution, but not the nicest solution.. |
actually no, the way I have set up you would use a code like this:
Code:
[swf=http://yoursite.com/yourmovie.swf wmode=transparent height=# width=# anyotherparams][/swf] Code:
[swf=http://yoursite.com/yourmovie.swf][/swf] vB code tag: swf vB Code replacement: Code:
<embed src={option} type=application/x-shockwave-flash></embed> |
i have a verson 2 beta 3 of vb. I am trying to implement this hack but it just doesnt work.
I even updted threads and followed instructions twice through. What shall i do ? I need a flash hack so i can edit boy the y size and x size thank you ..... |
Is there any way to set limitations on the file that the users can add.
I want to use this for users sigs...so I don't want it too large. Also .. what about limiting regular image size in users sigs? Anyone know anything about that? |
If you are talking about the hack you have to ask Mas Mind, if you are talking about the BB code I posted, then yes you can set up a fixed width and height, the problem is that it will be fixed so they can't have anything smaller either.
you can do this simply by setting it up on the code replacement. It would go like this: vB Code tag: swf vB Code replacement: Code:
<embed src={option} width=200 height=100 type=application/x-shockwave-flash></embed> vB Code example: Code:
[swf="http://yoursite.com/yourmovie.swf"][/swf] Use parameter: YES This should work fine! |
All times are GMT. The time now is 10:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|