How to Add Music to Your Forum
You must set HTML to be active. Go to your Admin Panel>General Admin>Configuration. Scroll down until you see the words, "Allow HTML". Make sure you click in the circle for "yes".
Have a music file on your own webspace, or a website that allows direct linking of music. Do NOT hot link to websites that do not say you can do so. Many internet service providers (ISP) provide free webspace for their customers. Check with your ISP.
Both midi files and mp3's will work, but this code is not recommended for mp3's.
In a forum description box on your forum, put in the following code:
WIDTH=144 HEIGHT=60 AUTOSTART="false" LOOP="1" HIDDEN="false">
Replace the URL for the song listed in the code with your own song URL.
The above code will have a little console image show on your index page, with control buttons so users can start and stop the music as they want. That is the recommended way to have music on your forum, as some users may be put off by your music choice, or may be where they do not want there to be any noise (such as at work).
a) If you want the song to play more than one time in a row, increase the number after the word "LOOP". For example, if you want that same song to play 5 times in a row, you would put a 5 instead of the 1. Don't forget those quotation marks around the number. It would then be Code:
b) If you want the song to automatically start playing when your forum page is accessed, change the AUTOSTART to the word "true". It would than look like this: Code:
c) If you change the HIDDEN="false" to HIDDEN="true", the little consol will not show and users cannot stop or start the music as they desire.
3) If you want a link that people click on to then hear music play on their own computers, put the following code in a forum description box:
|<A HREF="http://sitemusicison/music/nameofsong.mid">"Name of Song"</A> |
Change the URL of the song listed to the URL of your song choice. Change the words in quotation marks to say what you want them to say. Again, do NOT hot link to another website unless that website owner said you can. Download the songs of your choice, then upload them to your own webspace and link to them from there.
Written by Margaret/gg'ssimon