Flash file created by custom bbcode
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
-
- Registered User
- Posts: 9
- Joined: Tue Jun 06, 2006 8:23 am
Flash file created by custom bbcode
Since I don't get a proper reply at phpbb.com, I'll give it a try here. If that's something I'm not supposed to do, lock this topic, I'll get over it eventually But I still like to get this thing solved.
So what's the problem? I can't get a flash file to work as custom bbcode. The flash file is configured via an html code (with some variables that can be edited). The code works perfectly in an html file.
Through bbcode I just need users to be able to edit one variable. So I made a custom bbcode which replaces the html code (which includes the flash file). But this does not work... it just outputs the bbcode as entered by the user...
So there are limitations on the use of html... or am I doing something wrong?
Thanks in advance
So what's the problem? I can't get a flash file to work as custom bbcode. The flash file is configured via an html code (with some variables that can be edited). The code works perfectly in an html file.
Through bbcode I just need users to be able to edit one variable. So I made a custom bbcode which replaces the html code (which includes the flash file). But this does not work... it just outputs the bbcode as entered by the user...
So there are limitations on the use of html... or am I doing something wrong?
Thanks in advance
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Flash file created by custom bbcode
First... this is phpBB3 not phpBB2.
So even something I post may not help you if you are running a phpBB2 board.
Now, IF you are running phpBB3
The way to use Flash BBCode is like this:
Example:
And then you have to make sure that:
If it shows up as: [ FLASH ]
Then it means that you don't have flash enabled board-wide, or you don't have flash viewing enabled via your UCP.
Hope that helps.
- Highway 8)
So even something I post may not help you if you are running a phpBB2 board.
Now, IF you are running phpBB3
The way to use Flash BBCode is like this:
Code: Select all
[flash=width,height]url[/flash]
Code: Select all
[flash=600,400]http://mywebsite.com/media/flash.swf[/flash]
- Flash is enabled board wide on your board.
- Flash viewing is enabled in your UCP.
If it shows up as: [ FLASH ]
Then it means that you don't have flash enabled board-wide, or you don't have flash viewing enabled via your UCP.
Hope that helps.
- Highway 8)
-
- Registered User
- Posts: 9
- Joined: Tue Jun 06, 2006 8:23 am
Re: Flash file created by custom bbcode
Hey, thanks, but
1. of course I'm running a phpBB3 board
2. I can get a flash file to play like that, but this way I can't change a variable. The flash file's output depends on variables which I would like to input via html.
This works fluently in a stand-alone html file; but not when I make it a custom bbcode. So that's why I wondered if there are limitations on the use of html for a custom bbcode. And if so, why is that?
1. of course I'm running a phpBB3 board
2. I can get a flash file to play like that, but this way I can't change a variable. The flash file's output depends on variables which I would like to input via html.
This works fluently in a stand-alone html file; but not when I make it a custom bbcode. So that's why I wondered if there are limitations on the use of html for a custom bbcode. And if so, why is that?
Re: Flash file created by custom bbcode
I think it would greatly help determining the problem if you finally post your custom bbcode code (the bbcode text and the html replacement text). Enclose it within [code] tags.
-
- Registered User
- Posts: 9
- Joined: Tue Jun 06, 2006 8:23 am
Re: Flash file created by custom bbcode
Original html:
BBCode usage:
HTML replacement:
Code: Select all
<p><object id="audioplayer1" type="application/x-shockwave-flash" height="18" width="218" data="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf">
<param value="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf" name="movie" />
<param value="playerID=1&bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x1CC600&soundFile=http://www.confidanza.com/m2-demo.mp3" name="FlashVars" />
<param value="high" name="quality" />
<param value="false" name="menu" />
<param value="transparent" name="wmode" /></object></p>
Code: Select all
[sound]{URL}[/sound]
Code: Select all
<p><object id="audioplayer1" type="application/x-shockwave-flash" height="18" width="218" data="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf">
<param value="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf" name="movie">
<param value="playerID=1&bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x00ccff&soundFile={URL}" name="FlashVars">
<param value="high" name="quality">
<param value="false" name="menu">
<param value="transparent" name="wmode"></object></p>
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Flash file created by custom bbcode
Try this instead...
HTML replacement:
Eliminate the newlines, as this could cause a problem in the BBCode.
For example, your previous example would be parsed like this:
HTML replacement:
Code: Select all
<p><object id="audioplayer1" type="application/x-shockwave-flash" height="18" width="218" data="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf"><param value="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf" name="movie"><param value="playerID=1&bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x00ccff&soundFile={URL}" name="FlashVars"><param value="high" name="quality"><param value="false" name="menu"><param value="transparent" name="wmode"></object></p>
For example, your previous example would be parsed like this:
Code: Select all
<p><object id="audioplayer1" type="application/x-shockwave-flash" height="18" width="218" data="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf"><br /><param value="http://this.bigstereo.net/wp-content/plugins/audio-player/player.swf" name="movie"><br /><param value="playerID=1&bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x00ccff&soundFile={URL}" name="FlashVars"><br /><param value="high" name="quality"><br /><param value="false" name="menu"><br /><param value="transparent" name="wmode"></object></p>
-
- Registered User
- Posts: 9
- Joined: Tue Jun 06, 2006 8:23 am
Re: Flash file created by custom bbcode
Highway that's it!
Thanks so much!! 8)
Thanks so much!! 8)
Re: Flash file created by custom bbcode
works great btw.
http://einherjer-guild.de/newforum/view ... ?f=16&t=15" target="_blank
thanks for the idea ^^
http://einherjer-guild.de/newforum/view ... ?f=16&t=15" target="_blank
thanks for the idea ^^
-
- Registered User
- Posts: 9
- Joined: Tue Jun 06, 2006 8:23 am
Re: Flash file created by custom bbcode
soulcore wrote: works great btw.
http://einherjer-guild.de/newforum/view ... ?f=16&t=15" target="_blank
thanks for the idea ^^
Wow, respect for your forum lay-out! 8)