The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Awesome Flash Music Player For Members Profile Details »» | |||||||||||||||||||||||||||||
Awesome Flash Music Player For Members Profile
Developer Last Online: Nov 2023
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 3.x.x version here provided by 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 Now
Show Your Support
|
Comments |
#102
|
|||
|
|||
Quote:
Thanks again for the mod, it's great |
#103
|
|||
|
|||
Question, is it possible to block usergroups from using the player?
|
#104
|
||||
|
||||
I have added this nice feature but I wanted to see how I can allow my members to choose auto start or not auto start within the usercp when added the URI of the song?
|
#105
|
||||
|
||||
Quote:
You can grant access only to specific user groups by adding this code!! Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Music Player code Goes here </vb:if> |
#106
|
||||
|
||||
Quote:
I don't think i can help you in this!! Can be done by changing the code for sure!! |
#107
|
|||
|
|||
Not working =/ where exactly do i add the code?
|
#108
|
|||
|
|||
"Replace the field x with your field number"
userinfo['fieldxx']"> what is my field number? |
#109
|
|||
|
|||
Under User Profile Fields/User Profile Field Manager, You will see the music player part you added it will have a field number in it, for instance mine says field7
|
#110
|
||||
|
||||
In the Member Info Template, replace the current code with this!
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> <!---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---> </vb:if> |
#111
|
||||
|
||||
Quote:
Yes exactly, i might post a screen shot of this later!! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|