This is how I did it,
First download the JW MP3 PLAYER here
http://www.jeroenwijering.com/?item=JW_MP3_Player
Then Upload all the files to the forums root folder.
Now we go to the admin panel of the forums, there go to Styles then click on templates, Click on edit and on the dropdown menu look for overall_header.html. On the overall_header.html file add this code before the </head>
Code: Select all
<script type="text/javascript" src="swfobject.js"></script>
Now click on Posting Tab on the admin panel, and click on Add a new BBcode
On the BBCode usage box insert these code
Code: Select all
[mp3]{URL}[/mp3]
Code: Select all
<p id="player3"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var s3 = new SWFObject("mp3player.swf", "line", "240", "20", "7");
s3.addVariable("file","{URL}");
s3.addVariable("repeat","true");
s3.addVariable("showdigits","false");
s3.addVariable("showdownload","true");
s3.addVariable("width","240");
s3.addVariable("height","20");
s3.write("player3");
</script>
Then click on Submit.
That's it you done
Now to use it, the users needs to click on the mp3 button on the posting box, and enter the url of where the MP3 is located, like this.
Code: Select all
[mp3]http://www.yoursite.com/music/song.mp3[/mp3]
http://www.lazonaurbana.com/vakero-se-r ... n-t18.html