This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

Audio BBcodes - how do i change it?

support for all bbcodes release in this forum only! for other music bbcode support post in the bbcodes support/request forum!
Post Reply
Syxguns

Audio BBcodes - how do i change it?

Post by Syxguns »

Cisco007,
I followed the directions and everything works fine. However, I had a question to ask you. Here is the current code that I'm using.

Code: Select all

<object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55">
      <param name="allowScriptAccess" value="sameDomain">
      <param name="movie" value="mp3player/emff_lila_info.swf" />
      <param name="quality" value="high">
      <param name="FlashVars" [color=#FF0000]value="src={URL}[/color]" />
      <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55">
    </object>
<br>
<small>MP3 by: cisco007</small>
Please notice that I added, "MP3 by: cisco007" to show at the bottom of the link.

What I've been trying to do, but seem to do unsuccessfully is change the BBCode so that I do not have to type the same thing every time. For example: http://www.mywebsite/Music/Artist/NameOfSong.mp3. I have tried using the, {SIMPLETEXT} format and changing:

Code: Select all

 <param name="FlashVars" [color=#FF0000]value="src={URL}[/color]" />
to:

Code: Select all

 <param name="FlashVars" [color=#FF0000]value="src=http://www.mywebsite/Music/{SIMPLETEXT}.mp3[/color]" />
and a couple of other variations of the sort to try to make it work the way that I want. In other words on my site I have two locations for music. One folder is called, "Free_Music" and the other is called "Music". I do not want to have to type the entire URL each time. My site is still under construction and has a ways to go, but you may view it here: Link to Place 4 Musicians. As you can guess from the name of the site, I plan on having a lot of music on it, and the time it takes to write each URL is very time consuming. I'm hoping you have an idea on how to correct this problem.

Many thanks!!
Syxguns
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Audio BBcodes

Post by cisco007 »

well first i didn't know you could add BBCODE tags in HTML replacement like the color tag!
second then you might have to add two tokens for that!

Code: Select all

http://www.mywebsite/{SIMPLETEXT1}/Artist/{SIMPLETEXT2}.mp3.
and all you will have to input is:
EXAMPLES
[mp3]Free_Music,song name[/mp3]
[mp3]Music,song name[/mp3]
Image
Syxguns

Re: Audio BBcodes

Post by Syxguns »

Sorry, I didn't pay attention!

Code: Select all

    <param name="FlashVars" [color=#FF0000]value="src=http://www.mywebsite/Music/{SIMPLETEXT}.mp3[/color]" />

should have been

    <param name="FlashVars" value="src=http://www.mywebsite/Music/{SIMPLETEXT}.mp3" />
I was trying to add the color red to place emphasis on the line of the subject. You are correct that it does work, with the exception that I have two folders back to back. Folder1/Folder2 that I need the {SIMPLETEXT} to work.

Should I create a new folder within a folder? I'm going to play with it a little and see if I can get it to work.
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Audio BBcodes

Post by cisco007 »

you would need to change each folder with {SIMPLETEXTx} for each replacement folder x being a ascending number depending on your html layout, or it might just be easier to add the whold url like the original!
Image
Syxguns

Re: Audio BBcodes

Post by Syxguns »

Code: Select all

[MP3F]{SIMPLETEXT1}{SIMPLETEXT2)[/MP3F]
<param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT1}/{SIMPLETEXT2}.mp3" />
using this method does not work. It was the first method that I tried. I type:

Code: Select all

[MP3F]Artist_Name, Artist_Song[/MP3F]
Any suggestions?
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Audio BBcodes

Post by cisco007 »

no that won't work try this!

Code: Select all

[MP3F]{SIMPLETEXT1},{SIMPLETEXT2)[/MP3F]

Code: Select all

<object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55">
  <param name="allowScriptAccess" value="sameDomain">
  <param name="movie" value="mp3player/emff_lila_info.swf" />
  <param name="quality" value="high">
  <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT1}/{SIMPLETEX2}.mp3" />
  <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55">
</object>

Code: Select all

[MP3F]Artist_Name,Artist_Song[/MP3F]
if you have a comma in the bbcode you must have a comma in the BBcode usage, and check for the spaces!
Image
Syxguns

Re: Audio BBcodes

Post by Syxguns »

I tried it like you suggested but I'm still not getting it to work. smile_brokenheart

Current BBCode Usage:

Code: Select all

[MP3F]{SIMPLETEXT1},{SIMPLETEXT2)[/MP3F]
HTML Replacement:

Code: Select all

<object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55">
      <param name="allowScriptAccess" value="sameDomain">
      <param name="movie" value="mp3player/emff_lila_info.swf" />
      <param name="quality" value="high">
      <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT1}/{SIMPLETEXT2}.mp3" />
      <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55">
    </object>
<br>
<small>MP3 by: cisco007</small>
Preview of usage:

Code: Select all

Preview:
[MP3F]Hubert_Gaskin , Only_Yesterday_Adjusted[/MP3F]
I tried using:

Code: Select all

[MP3F]{SIMPLETEXT1} , {SIMPLETEXT2)[/MP3F]
and:

Code: Select all

[MP3F]{SIMPLETEXT1}, {SIMPLETEXT2)[/MP3F]
But it doesn't seem to work. I also tried adding a folder called Songs:

Code: Select all

http://www.place4musicians.com/Free_Music/{SIMPLETEXT1}/
Songs/{SIMPLETEXT2}.mp3
That didn't work either. It must have something to do with using "{SIMPLETEXT}" more than once? I'm not real sure. I tried using the following:

Code: Select all

http://www.place4musicians.com/Free_Music/{SIMPLETEXT}.mp3

and placing the code like this:
[MP3F]Hubert_Gaskin/Only_Yesterday_Adjusted[/MP3F]
And I still could not get it to work. I change the URL to include, "Hubert_Gaskin" and just placed the song name in the SIMPLETEXT area and it would work. I just need to use two folder names for it to be perfect for me.

Thanks for your help with the matter! :D
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Audio BBcodes

Post by cisco007 »

did you read the last part of my previous post, no spaces if you don't have any spaces in the bbcode usage added in the ACP,
what i posted should work, but maybe {SIMPLETEXT} doesn't work because you are using underscore in the name, so maybe try using

Code: Select all

{INTTEXT1},{INTEXT2}
Image
Syxguns

Re: Audio BBcodes

Post by Syxguns »

cisco007 wrote:what i posted should work, but maybe {SIMPLETEXT} doesn't work because you are using underscore in the name, so maybe try using
What you said did work. The strange thing was that it was not working at first! I changed the comma to a colon, and it worked. I decided that I would try the comma again, and I was amazed to find that it was still working!!

Thank you cisco007! smile_clapping
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Audio BBcodes

Post by cisco007 »

no problem Syxguns (6guns) glad you finally got it!
Image
Post Reply