LoudFusion Profile Music Player

Cokaric

New Member
LoudFusion Profile Music Player
Version: 1.00

24yboco.jpg



Code:
http://www.vbulletin.org/forum/showthread.php?t=203792goto=newpost

Most of the players I have seen are not only products, but aren't thought out very well. I use loudfusion.com since it's the only music player that will actually work on myspace. After using it for awhile, I've fallen in love with it. There are even multiple players to choose from. Right now I have it set up to use the simple player, but if the community needs help adding other players then I shall assist.


Template Edits: 1
Profile Fields: 2

Step 1
Admin -> User Profile Fields -> Add New User Profile Field

Single-Line Text Box
Title: Music
Description: Put your loudfusion.com ID here.<br>Example: http://www.loudfusion.com/profile.php?id=<b><u>402625</u></b>
Max length of allowed user input: 12
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No


Step 2
Admin -> User Profile Fields -> Add New User Profile Field

Single-Line Text Box
Title: Music Playlist
Description: You can use playlists from loudfusion by getting the folder ID from the code.<br>Example: USERID=402625&FOLDERID=<b><u>47450</u></b>
Max length of allowed user input: 12
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No


Step 3
In MEMBERINFO find:

PHP:
$blocks[stats_mini]

Below add:

PHP:
<!-- Music -->
<if condition="$userinfo[fieldM]">
<div id="$id" class="tborder content_block">
    <h4 class="thead block_title">
        <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
        <a name="$id"></a>
        <span class="block_name">Music</span>
    </h4>
    <div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<p align="center">
<embed src="http://www.loudfusion.com/widgets/music/5" name="Music" quality="high" wmode="transparent" flashvars="USERID=$userinfo[fieldM]<if condition="$userinfo[fieldMP]">&FOLDERID=$userinfo[fieldMP]</if>" width="235" height="150" type="application/x-shockwave-flash"></embed>
</p>
</div></div>
</div>
</if>
<!-- / Music -->

Step 4
In the above code find the 2 instances of $userinfo[fieldM] and replace the M with the field ID of your Music Profile Field and find the 2 instances of $userinfo[fieldMP] and replace the M with the field ID of your Music Playlist Profile Field
 
well first that widget isnt available anymore so i replaced the embed part of the code with a differant widget. and i moved it from the sidebar since this player is a little too big to fit proper



but to use it u need to signup at loudfusion and make a play list and profile.

Great add m8 love this mod and so dont my members
 
Back
Top