I have decided that on my forum, I wanted a small hack, that would play songs on the forum, but instead, decided to make 'Song of the Day'.
Information:
Release V1:
You can play only one song, when it's uploaded to your forum, through FTP.
Release V2 (Coming Soon!):
You'll be able to listen to many different songs, they'll play on their own, and will pick a song randomly.
How to Upload:
Template(s) to Edit - 1
Codes to Add - 1
Template(s) to Edit: FORUMHOME
(Please Note: Everything in
RED you must edit to your own needs)
<-- Upload this photo to '
yoursite/forum/images/misc'.
In your FTP, go to '
yoursite/forum/includes' and add a new directory named 'music'.
Go to AdminCP > Styles and Templates > Your Template > FORUMHOME and search for
<!-- end today's birthdays -->
</if>
Under it, add:
<!-- vBulletin v3.6.8 Modification Radio by Mike -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="Radio" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">vBulletin Song Player Hack - vBulletin 3.6.8 Modification Made by Mike </phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/radio.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<p align="center">
<font color="black"><b>Current Song: Low - Flo Rida'</b></font><br>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1" width="300" height="32" codebase="">
<param name="URL" ref value="http://cheatchat.org/forum/includes/music/low.mp3">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="0">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="Style" value>
<param name="Lang" value>
<param name="Filename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="6482">
<param name="_cy" value="1693">
</object><center>
</center>
<br>
</td>
</tr>
</tbody>
<!-- vBulletin v3.6.8 Modification Radio by Mike -->
That will add a working radio at the footer of your forum.
How to use it:
Each time you want a new song, you must upload a song into '/music', and edit the link above in the code.
This will only play the one song, until you upload a new one, next version should be edited, and play a assortment of songs.
Credits:
- Winterworks (Coming up with it)
- My Forum (Inspiring Me)
- HeRmAn'S (Making The Original Code)
(Please note that this is my first ever modification, I am still kinda new with vBulletin)