Awesome Flash Music Player For Members Profile
Lets get it started
![]() WHAT DOES THIS DO? This will add a music player to your members profile. Go into your Admin CP->>>>user profile fields->>>>Add new user profile field Code:
Profile Field Type: Single line text box Title: Flash Music Player Description:This will add a music player to your members profile. Field Required: No Field Editable by User Yes Find: Code:
{vb:raw blocks.stats_mini} Below add: Code:
<!---Flash Music Player---> <vb:if condition="$userinfo['fieldxx']"> <div class="block"> <div class="visitors"> <h5 class="blocksubhead smaller">My Profile Song</h5> <div class="blockbody"> <div class="blockrow"> <div class="meta"> <li> <center><tbody><tr> <td class="alt1" style="font-family: Verdana; font-size: 10pt"> <script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script> <div id="player"></div> <script type="text/javascript"> var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file={vb:raw userinfo.fieldxx}&volume=100&autostart=true'); so.write('player'); </script> </td> </tr> </tbody></center> </div> </div> </div> </div> </div> <div class="underblock"></div> </vb:if> <!---Flash Music Player---> You can disable the Auto play option by changing this line. Code:
so.addParam('flashvars','&file={vb:raw userinfo.fieldx}&volume=100&autostart=false'); INSTALLATION INSTRUCTIONS *********************** 1 - Upload the folder embed to the forum root 2 - Edit the Member Info Template 3 - Go to Edit profile & Input your profile music in the field which you created. You can use this song to check the player ![]() Code:
http://k003.kiwi6.com/hotlink/k53i57h815/t_pain_feat_akon_u_got_me.mp3 ![]() http://www.vbulletin.org/forum/showthread.php?p=2199399 provided by http://eminemtalk.com/ Please click Mark as Installed if you are using this hack. Feel free to click on the Support Developer link and donate any amount you feel is appropriate. Download
|
Similar Mods
Profile Enhancements LoudFusion Profile Music Player | vBulletin 3.8 Template Modifications |