PDA

View Full Version : BB Code Enhancements - Innovative Small MP3 Multi-Player


TheLastSuperman
05-21-2009, 10:00 PM
Innovative Small mp3 Multi-Player

By:
https://vborg.vbsupport.ru/external/2010/08/16.png


This BB Code will allow users to have a small mp3 player in:


Posts in the forums
Signatures i.e. Song of the day/week etc.
anywhere you can use BB Code Tags


*** This Player will have multiple song playing capability and will be UPDATED ASAP.

I found this while browsing: http://www.phpbb3bbcodes.com as I have some phpBB boards of my own and was tinkering as usual ;). It was rather simple to add as a BB Code to VBulletin and did not take much time to make it work in vB via the {param} tags etc!

Credit for the Code goes to phpbb3codes.com and the creator of the .swf player i.e. Stoker!

Time to install: 1-2 mins

Instructions:


Download the .zip and extract the SWF player
Upload the dewplayer-multi.swf into your forum root folder
Add new BB code:


Also I have decided post mods on vb.org by password protecting the .zip, please view the code while logged-in, below.

Hopefully you users will not be too harsh on me! The .zip is password protected, and the password displayed within a "code" bbcode so at least the users have to be logged in to obtain the password.

The Zip's password is: vborgmp3

AdminCP --> Custom BB Codes --> Add New BB Code

Title: Multi-Song MP3 Player
Tag: manymp3
Replacement: <object type="application/x-shockwave-flash" data="dewplayer-multi.swf?mp3={param}&amp;showtime=1" width="240" height="20"><param name="wmode" value="transparent" /><param name="movie" value="dewplayer-multi.swf?mp3={param}&amp;showtime=1" /></object>

Use {option} = NO

*The Player .swf file HAS to be in your forums ROOT folder, this will make it NOT visible in AdminCP as that is another folder i.e. admincp folder BUT it will display FINE in the forums via FireFox and Internet Explorer!

Now use the tags Full Song URL Here!

*Experienced Users can take the code replacement and hard code into forums where desired!

Demo (http://www.tournamentgamingworld.com/online/showthread.php?p=17252)

Enjoy!

TheLastSuperman :rolleyes:
http://www.innovationbyinstinct.com

EDIT: This MP3 Player will soon have multiple song playing capabilities after a related coding issue is resolved HOWEVER if your looking for an MP3 Player that can handle a playlist please check out Macc's new release in April 09 --> https://vborg.vbsupport.ru/showthread.php?t=210115

lm3a.net
05-24-2009, 04:47 AM
thanks,

Robert Paulson
05-29-2009, 06:45 PM
Do you know why it wont play a song uploaded to our servers? I've tried a few different sources and the player will not play any of the songs, though I do get the graphic of the player.

TheLastSuperman
05-29-2009, 06:49 PM
Do you know why it wont play a song uploaded to our servers? I've tried a few different sources and the player will not play any of the songs, though I do get the graphic of the player.

It has an .mp3 extension in the link correct? If you followed the instructions it should work fine. Make sure you have it setup correctly and get back to me.

Also, the player will play multiple songs via the previous/next button if you hard code it in to your forums but I have not got around to using the option in bb code yet that is all.

S-MAN

Robert Paulson
05-29-2009, 06:55 PM
It has an .mp3 extension in the link correct? If you followed the instructions it should work fine. Make sure you have it setup correctly and get back to me.

Also, the player will play multiple songs via the previous/next button if you hard code it in to your forums but I have not got around to using the option in bb code yet that is all.

S-MAN

Its strange. When I directly copy the code from your original post, I get nothing when I use the tag. When I use the code from the phpbb3 site, I get the dewplayer graphic, but it will not play the song.

The URL does have the .mp3 extension, yes. I've tried songs from our servers and from lightningmp3.com. Neither will work correctly in the player. The ability to play multiple songs caught my eye initially, pretty swanky.

TheLastSuperman
05-29-2009, 06:59 PM
Its strange. When I directly copy the code from your original post, I get nothing when I use the tag. When I use the code from the phpbb3 site, I get the dewplayer graphic, but it will not play the song.

The URL does have the .mp3 extension, yes. I've tried songs from our servers and from lightningmp3.com. Neither will work correctly in the player. The ability to play multiple songs caught my eye initially, pretty swanky.

I was just working on that part of it ;)

Hmm sounds odd, if you want to provide admincp and ftp access via pm, make temp accounts so you can delete when done and I'll look into it, you might have the same situation as TheKdd(3.7 thread) but I would have to check.

S-MAN

TheLastSuperman
05-29-2009, 07:20 PM
Try it now, the FTP was not to your forum root however if the graphic displayed the songs should now play, you became confused is all and had pasted over or pasted parts from the phpbb site and did not use the tags around in the example as seen in your other bb codes so it was not going to work properly in vB unless you used that w/ the option box checked and had it coded in properly. Update later on the mp3 so it will do multiple songs mark as installed and look for it.

Post example code in your forums to confirm, let me know. If it is working delete those temporary accounts you made.

S-MAN

Robert Paulson
05-29-2009, 07:23 PM
Try it now, the FTP was not to your forum root however if the graphic displayed the songs should now play, you became confused is all and had pasted over or pasted parts from the phpbb site and did not use the tags around in the example as seen in your other bb codes so it was not going to work properly in vB unless you used that w/ the option box checked and had it coded in properly. Update later on the mp3 so it will do multiple songs mark as installed and look for it.

Post example code in your forums to confirm, let me know. If it is working delete those temporary accounts you made.

S-MAN

Thanks, S-Man. Where was it uploaded if not to the root? :confused: Oh well..


It seems that this didn't work either, as I'm not even seeing the graphic now. Awesome! ;)

TheLastSuperman
05-29-2009, 07:49 PM
Thanks, S-Man. Where was it uploaded if not to the root? :confused: Oh well..


It seems that this didn't work either, as I'm not even seeing the graphic now. Awesome! ;)

What I meant was the FTP info you provide was to an empty directory and I could not go up levels to the folders I needed i.e. the root, let me check the code again but I need to verify the location of the .swf file. It will work we just need to make sure the code pasted is correct I edited but let me straight copy/paste.

S-MAN

Robert Paulson
05-29-2009, 08:03 PM
What I meant was the FTP inof you provide was to an empty directory and I could not go up levels to the folders I needed i.e. the root, let me check the code again but I need to verify the location of the .swf file. It will work we just need to make sure the code pasted is correct I edited but let me straight copy/paste.

S-MAN

Thanks, S-Man for your help.

TheLastSuperman
05-29-2009, 08:13 PM
Thanks, S-Man for your help.

NO PROBLEM :D

Ok, it's working now as we have discussed in your admin forums, you had to run so I'll check w/ you later and make sure you have it uploaded right and code corrected before I delete the .swf off my server.

Give me a shout if any problems later on, I'll be off and on tonight while doing some other forum work.

S-MAN