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