Back to vBulletin 3.8 Template Modifications

Innovative Small MP3 Player BB Code
Mod Version: 0.0.1, by TheLastSuperman

vB Version: 3.8.x Rating: (5 votes - 4.40 average) Installs: 82
Released: 21 Dec 2008 Last Update: Never Downloads: 628
Supported Additional Files Re-usable Code  

Innovative Small mp3 Player BB Code

By:


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

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. djgalix!

Time to install: 1-2 mins

Instructions:
  • Download the .zip and extract the SWF player
  • Upload the player_mp3.swf into your forum root folder
  • Add new BB code:

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

Title: mp3
Tag: mp3
Replacement:
Code:
<object type="application/x-shockwave-flash"
        data="player_mp3.swf?mp3={param}" width="200" height="20" />
  <param name="movie" value="player_mp3.swf?mp3={param}" />
  <param name="wmode" value="transparent">
</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! (Thanks for the catching that bug where it did not display joh!)

Now use the tags [mp3]Full Song URL Here![/mp3]

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

http://www.tournamentgamingworld.com/online/index.php?t=981

Quote by Mp3 Player Not Working?!?! See Below
Quote by brandonroy
That doesn't seem to work either. Hmmm. I'm using hostgator - I don't know what the problem is.

Oh well!
Ahh HostGator, I bet it's the mod securities they have enabled on your server, if you have had other problems (specifically with vBa CMPS or vBa Links etc) then you must have them disable the mod securities. This mod also will not work if you have DJ's AME Mod installed.

For some who cannot get the mod to work etc, it is usally the AME mod, a Mod Security enabled on your server per your host OR something in your .htaccess file.

If you have an htaccess file add this to it:

Code:
RewriteEngine On 
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoururl.com/.*$ [NC]
Replace the yoururl with your url, note I left the .com so if you are .net or .org change that, also leave the www as-is unless you have something setup like forums.yoursite.com etc etc.

Hope that helps some, and remember to always PM me if I do not reply promptly to your posts.

S-MAN
Enjoy!

TheLastSuperman
http://www.innovationbyinstinct.com

EDIT: If your looking for an MP3 Player that can handle a playlist please check out Macc's new release in April 09 --> Mp3player block for CMPS

Download

File Type: %1$s player_mp3.zip (4.8 KB, 717 downloads)

Similar Mods

BB Code Enhancements Rhapsody Music Player BB Code vBulletin 3.6 Add-ons
BB Code Enhancements Innovative Small MP3 Player BB Code vBulletin 3.7 Template Modifications
BB Code Enhancements Innovative Small MP3 Player BB Code vBulletin 3.6 Template Modifications
BB Code Enhancements Media Player Embeded External Video Link BB Code vBulletin 3.6 Add-ons
BB Code Enhancements MP3 Player On Showthread / BB Code vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024