YBMF - Playlist.com Mp3 Player for Member profile

MobileHacks

New Member
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.

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 $bbuserinfo[fielda] to 20 like this to $bbuserinfo[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
a in $bbuserinfo[fieldb] to 21 like this to $bbuserinfo[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 $bbuserinfo[fielda] and change the a to the Playlist ID field number..

Find ONE $bbuserinfo[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
Homepage

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.
 

tmwtbd

New Member
Recently posted this requesting info on using the playlist.com player on my forum.
http://www.vbteam.info/req-addons-t...18443-controlling-music-player.html#post82823

I then found this post and thought I would give it a shot. I have created the profile fields, imported the plug in, changed the 2 templates accordingly.

I do not see the player on my site. I double checked everything and tried each of my 3 playlist but nothing. Has anyone got this to work.

Thanks,
TMW
 

patje

New Member
its not working at me i did evertything what to do but still not working, some suggestions?
 

cormws

New Member
can some one with access to the vbulltein site check for the required edits and post the new version here.. looks like they got it fixed but I dont have access to the edits and files.

thanks
 

Kena

New Member
what's the difference between [fielda] and [fieldb]?

what kind of number we have to put in [fieldb]?

last question where do we have to paste the full code got in the website? it's just for getting the ID number?

many thanks!
 

cormws

New Member
Kena said:
what's the difference between [fielda] and [fieldb]?

what kind of number we have to put in [fieldb]?

last question where do we have to paste the full code got in the website? it's just for getting the ID number?

many thanks!

Read Steps 1 and 2 in the first post it explains it pretty clearly.

simoreda said:
how to give permission to other members to see playlist
Thanks

Don't matter it don't work anyway.

If any gets this to actually work I would be interested in how you did it.
 
Top