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 |
#22
|
||||
|
||||
No problem, if you are using this please mark as installed
|
#23
|
||||
|
||||
Nice idea. Installed.
Only thing I did was changed the template so the sideblock followed the same formatting as the other blocks. Code:
<!---Flash Music Player---> <div class="block"> <div class="visitors"> <h5 class="blocksubhead smaller">Your Title</h5> <div class="blockbody"> <div class="blockrow"> <div class="meta"> <li> <center><tbody><tr> <if condition="$userinfo['fieldXX']"><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> <!---Flash Music Player---> |
Благодарность от: | ||
socialteenz |
#24
|
||||
|
||||
Quote:
I have updated my first post with your modified code. |
#25
|
|||
|
|||
This is a nice mod, I thought it would be simple to use, but for some reason it's not working, I believe I have done everything right
http://www.fivestargamerz.com/members/d19rny/ |
#26
|
||||
|
||||
Quote:
|
#27
|
||||
|
||||
I changed the code slightly (again) so that an empty player doesn't appear if no song link is inserted
Code:
<!---Flash Music Player---> <vb:if condition="$userinfo['fieldxx']"> <div class="block"> <div class="visitors"> <h5 class="blocksubhead smaller">My Proflie 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---> |
Благодарность от: | ||
socialteenz |
#28
|
||||
|
||||
Thank you once again Gemma
|
#29
|
|||
|
|||
Hi socialteenz:
Thank you for the flash player. I installed with excellent, but could not figure it out the following: <if condition="$userinfo['fieldXX']"><td class="alt1" style="font-family: Verdana; font-size: 10pt"> ... "fieldXX" .... I found it! What do you mean by that? I also tried to paste the code provided, as follow to ??? Do not know the location to post that code!: Attachment 131378 Where can I post this code? I found the answer! Greatly appreciated for this flash player. Thank you. Victor |
#30
|
||||
|
||||
K, glad that you got it fixed
If you need any help, send me a pm. Stanley |
#31
|
|||
|
|||
Is there another way to add this? When I add it. The whole member page goes wacko. I don't know if it's the skin.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|