Back to vBulletin 3.7 Add-ons

Song of the Day
Mod Version: 1.00, by Trasion

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 3
Released: 03 Sep 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

This hack allows you to have a song of the day on your website. It allows you to pick a song from any directory, or even put in a radio stream for your website.

Just open your FORUMHOME template, and find:

Code:
<!-- end today's birthdays -->
</if>
Below it, add:

Code:
<!-- vBulletin Modification Radio by Mike -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_music')"><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 Modification Made by Mike </phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_music" style="$vbcollapse[collapseobj_forumhome_music]">
<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://trasion.com/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 Modification Radio by Mike -->
Then you'll have a radio at the bottom of your forum (you must follow the next steps for it to appear as well).

You must then make a new directory in the /includes/ folder called /music/. In it, add your songs (the song names can not contain spaces). Then change the link in the code I gave you, to link to your own website, and your own song name.

You must then take the radio icon in the attachments, and upload it in your /misc/ folder. It must keep the name radio.gif.

To make a radio appear instead of a song, just put the IP of the stream, or the website URL directly to the radio stream.

You can also change the "Low - Flo Rida'" part. Put your own song/radio name, or remove it completely.

Download

No files for download.

Screenshots

Click image for larger version
Name:	preview.jpg
Views:	92
Size:	29.0 KB
ID:	104018  

Similar Mods

Mini Mods Song of the Day vBulletin 3.6 Add-ons
Miscellaneous Hacks Song of the Day v1 Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024