The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[SW] Music Player in User Profile Details »» | |||||||||||||||||||||||||||||||||
If you have installed this mod please : Mark as install
[SW] Music Player in User Profile This mod allow users to put their favorite song's link in their profile to play. installation : 1. Download Zip file and upload them. 2. Create Custom Profile Field : Go to : Admincp / User Profile Fields / Add New User Profile Field Then Select : Profile Field Type : Single-Line Text Box And press continue Then Fill like this : *If you want to make this field to be hidden select : Private Field After that Go to Style Manager>Your Template>MemberInfo Templates>memberinfo_block_ministats before : Code:
<div class="mini_stats blockbody userprof_content userprof_content_border"> Code:
<!-- SW profile Musicplayer Start --> <vb:if condition="$userinfo['fieldX']"> <div class="underblock"></div> <div class="block mainblock"> <div id="userinfoblock" class="floatcontainer"> <div class="blocksubhead" colspan="5">Music Player</div> <div class="blockbody userprof_content userprof_content_border"> <div class="blockrow member_blockrow"> <script src="forum/sw/silverlight/silverlight.js" type="text/javascript"> </script> <script src="forum/sw/silverlight/wmvplayer.js" type="text/javascript"> </script> <vb:if condition="$bbuserinfo['userid'] == 0">Please login or register.<vb:else /> <div id="mp3profilepl"> Profile mp3 Player by : SoltanWorld</div></vb:if> <script type="text/javascript"> var cnt = document.getElementById('mp3profilepl'); var src = 'forum/sw/silverlight/wmvplayer.xaml'; var cfg = {height:'20',volume:'40',width:'200',file:'{vb:raw userinfo.fieldX}',autostart:'false',usefullscreen:'false'}; var ply = new jeroenwijering.Player(cnt,src,cfg); </script> </div> </div></div></div> <div class="underblock"></div><br/></vb:if> <!-- SW profile Musicplayer End --> Bold Blue "X" should be replaced by field number you have created in step 1. then save it. Notice that : If you have select field as private then guest can not play music, because of that i have put an if for guests. if you do not put this as private use this code : Code:
<!-- SW profile Musicplayer Start --> <vb:if condition="$userinfo['fieldX']"> <div class="underblock"></div> <div class="block mainblock"> <div id="userinfoblock" class="floatcontainer"> <div class="blocksubhead" colspan="5">Music Player</div> <div class="blockbody userprof_content userprof_content_border"> <div class="blockrow member_blockrow"> <script src="forum/sw/silverlight/silverlight.js" type="text/javascript"> </script> <script src="forum/sw/silverlight/wmvplayer.js" type="text/javascript"> </script> <div id="mp3profilepl"> Profile mp3 Player by : SoltanWorld</div> <script type="text/javascript"> var cnt = document.getElementById('mp3profilepl'); var src = 'forum/sw/silverlight/wmvplayer.xaml'; var cfg = {height:'20',volume:'40',width:'200',file:'{vb:raw userinfo.fieldX}',autostart:'false',usefullscreen:'false'}; var ply = new jeroenwijering.Player(cnt,src,cfg); </script> </div> </div></div></div> <div class="underblock"></div><br/></vb:if> <!-- SW profile Musicplayer End --> If you have installed this mod please : Mark as install ----------------------- mp3 player in profile with auto play option : Code:
<!-- SW profile Musicplayer Start --> <vb:if condition="$userinfo['fieldX']"> <div class="underblock"></div> <div class="block mainblock"> <div id="userinfoblock" class="floatcontainer"> <div class="blocksubhead" colspan="5">Music Player</div> <div class="blockbody userprof_content userprof_content_border"> <div class="blockrow member_blockrow"> <script src="forum/sw/silverlight/silverlight.js" type="text/javascript"> </script> <script src="forum/sw/silverlight/wmvplayer.js" type="text/javascript"> </script> <div id="mp3profilepl"> Profile mp3 Player by : SoltanWorld</div> <script type="text/javascript"> var cnt = document.getElementById('mp3profilepl'); var src = 'forum/sw/silverlight/wmvplayer.xaml'; var cfg = {height:'20',volume:'40',width:'200',file:'{vb:raw userinfo.fieldX}',autostart:'false',usefullscreen:'false',autostart:'true'}; var ply = new jeroenwijering.Player(cnt,src,cfg); </script> </div> </div></div></div> <div class="underblock"></div><br/></vb:if> <!-- SW profile Musicplayer End --> Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
Darkrai |
Comments |
#2
|
||||
|
||||
1st Post reserved
|
#3
|
||||
|
||||
mp3 player in profile with auto play option :
Code:
<!-- SW profile Musicplayer Start --> <vb:if condition="$userinfo['fieldX']"> <div class="underblock"></div> <div class="block mainblock"> <div id="userinfoblock" class="floatcontainer"> <div class="blocksubhead" colspan="5">Music Player</div> <div class="blockbody userprof_content userprof_content_border"> <div class="blockrow member_blockrow"> <script src="forum/sw/silverlight/silverlight.js" type="text/javascript"> </script> <script src="forum/sw/silverlight/wmvplayer.js" type="text/javascript"> </script> <div id="mp3profilepl"> Profile mp3 Player by : SoltanWorld</div> <script type="text/javascript"> var cnt = document.getElementById('mp3profilepl'); var src = 'forum/sw/silverlight/wmvplayer.xaml'; var cfg = {height:'20',volume:'40',width:'200',file:'{vb:raw userinfo.fieldX}',autostart:'false',usefullscreen:'false',autostart:'true'}; var ply = new jeroenwijering.Player(cnt,src,cfg); </script> </div> </div></div></div> <div class="underblock"></div><br/></vb:if> <!-- SW profile Musicplayer End --> |
#4
|
|||
|
|||
Installed & rated *****
Thank you sir |
#5
|
||||
|
||||
you're wlc dear
|
#6
|
|||
|
|||
can we add our shoutcast server & make it autoplay with this mod by few edits?.
|
#8
|
|||
|
|||
ya i got a shoutcast server can we able to make it to play with it?.
|
#9
|
|||
|
|||
thanks
|
#10
|
||||
|
||||
with flash player is possible to access rmtp links. i'll check for you but i don know if it works or not.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|