The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
YBMF - Playlist.com Mp3 Player for Member profile Details »» | |||||||||||||||||||||||||||
YBMF - Playlist.com Mp3 Player for Member profile
Developer Last Online: Jan 2013
Please mark as Installed and RATE
YoBroMoFo Playlist.com Mp3 Player for member profile in right side block v3.0 Inspired by code from Stangger5 All I have done is remodel the xml files, and template edits. IF YOU USE THIS PLEASE CLICK INSTALL and vote for MOTM Requirements ( vb3.7.0+ works on vb3.8.0 not tested on other versions ) First create 2 profile fields. ---First one is for your Playlist.com id example: http://www.playlist.com/generate_code?playlist=57131775 so the ID is 57131775 ---Second one is for your Playlist.com Mp3 player colour, default is black __________________________________________________ ______________________ admin >> User Profile Fields >> Add New User Profile Field 1: Single-Line Text Box Title: YoBroMoFo.com Playlist.com ID Description: Put your Playlist.com player ID here.<br /> example: http://www.playlist.com/generate_code?playlist=57131775 so the ID is <b>57131775</b> Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. *** Remember the Field number.. Lets say the field number is 20 you will need to change the a in $userinfo[fielda] to 20 like this to $userinfo[field20] __________________________________________________ ______________________ Create another Profile Field,, 2: Single Selection Menu Title: YoBroMoFo.com Playlist.com Colour Description: Choose your colour for your YoBroMoFo playlist player. Options: ( remember a new line for each of these options ) black gray purple blue red green pink Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. *** Remember the Field number.. Lets say the field number is 21 you will need to change the b in $userinfo[fieldb] to 21 like this to $userinfo[field21] __________________________________________________ ______________________ Import the plugin.. admin >> Plugins & Products >> [Add/Import Product] and import playlist-member-profile.xml file.. __________________________________________________ ______________________ Edit two templates. 1: admincp >> Styles & Templates >> Member Info Templates >> memberinfo_block_playlist Find ONE $userinfo[fielda] and change the a to the Playlist ID field number.. Find ONE $userinfo[fieldb] and change the b to the Playlist field number.. 2: Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO Look for,, $blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] Put $blocks[playlist] anywhere in there.. I have mine after $blocks[friends_mini].. Like this,, $blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[playlist] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] __________________________________________________ ______________________ Go to www.playlist.com and log into your account. Get the playlist code for Myspace, Blogger, Hi5 or any other site. Click GET CODE look for playlist=7657567589 ( or whatever number is for you ) Put 7657567589 in your Playlist ID field.. To edit your Playlist fields.. USERCP >> Edit Your Details >> find also: YoBroMoFo.com Playlist.com Colour and choose a colour for your Player in your Usercp __________________________________________________ ______________________ HAVE FUN. This code has been adapted from stannger5 YouTube Code, please give credit where credit is due to Stangger5 stangger5 http://www.next-level-arcade.com/ His code is awesome, all I have done is reconfigure for others to enjoy. R+E+S+P+E+C+T Brought to you by British Expats Australia, www.yobromofo.com/forum. To Contact myself or Stangger5 Timberfloorau > https://vborg.vbsupport.ru/member.php?u=252664 Stangger5 > https://vborg.vbsupport.ru/member.php?u=100434 If you dont click Install your requests for assistance slip down the queue ENJOY Tuesday 20th January 2009 ***UPDATED*** Please change bbuserinfo to userinfo Product updated. Will when viewing other users profiles, show that members playlist.com playlist. Enjoy. Show Your Support
|
Comments |
#12
|
||||
|
||||
I'm not sure why but its not working.
I did everything u said and it still didn't work I thought, "Maybe Im a n00b" so I did it several more times. Still nothing Everything showed up except the player on the profile Help? |
#13
|
||||
|
||||
Quote:
Did you take down the profile field number for the 2 you created? .. if you did, are you sure you got the id, and not the display order ! ( common mistake ) heres a piccy. Come back to me if you did this correctly or not. |
#14
|
||||
|
||||
Quote:
14 & 15 |
#15
|
||||
|
||||
Can you give me a link to a profile, with the playlist enabled ( albeit not working so I may check )
I am presuming you have entered the correct playlist id. In USerCP, edit your details ? |
#16
|
||||
|
||||
<a href="http://iw4r3z.net/member.php?u=1" target="_blank">http://iw4r3z.net/member.php?u=1</a>
Yes I entered the right playlist ID |
#17
|
|||
|
|||
Works Great. I am using 3.7.4 vBulletin. In the code below is what is causing the others to have problems.
Code:
<!-- yobromofo.com playlist --> <if condition="$bbuserinfo[fieldi]"> <div id="playlist" class="tborder content_block"> <h4 class="thead block_title"> <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('playlist')"><img id="collapseimg_playlist" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a> <a name="albums"></a> <span class="block_name">My Music Player</span> </h4> <div class="block_content" id="collapseobj_playlist" style=""> <div class="alt2 block_row block_footer"> <embed style="width:300px; visibility:visible; height:250px;" allowScriptAccess="never" src="http://www.musicplaylist.net/mc/mp3player-othersite.swf? config=http://www.musicplaylist.net/mc/config/config_$bbuserinfo[fieldb]_shuffle.xml&mywidth=300&myheight=250&playlist_url=http://www.musicplaylist.net/lo adplaylist.php?playlist=$bbuserinfo[fielda]" menu="false" quality="high" width="300" height="250" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/></embed></div> </div> </div> </if> <!-- / yobromofo.com playlist --> My only issue is that I can not get it to change color. Some help would be appreciated on this. I also changed name, and size dimensions for my site which are reflected in above code. I also cant get this to show for guests. |
#18
|
|||
|
|||
You also need to add this to directions so that permission can be set.
To edit usergroups,, admincp >> Plugins & Products >> Plugin Manager: YoBroMoFo Playlist for member profile Add the usergroup ID,that you want to be able to use the YoBroMoFo Playlist.. Code: Code:
if (is_member_of($vbulletin->userinfo,1 ,2 ,5 ,6 ,7)) |
#19
|
|||
|
|||
Might like this, but waiting for a stable release...
|
#20
|
||||
|
||||
works fine mate !!
lil ru and lost in your playlist, working and loading sweet |
#21
|
||||
|
||||
Quote:
:up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|