Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
YBMF - Playlist.com Mp3 Player for Member profile Details »»
YBMF - Playlist.com Mp3 Player for Member profile
Version: 3.00v2, by TimberFloorAu TimberFloorAu is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.0 Rating:
Released: 01-13-2009 Last Update: 01-19-2009 Installs: 51
Uses Plugins
Code Changes Translations  
No support by the author.

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.

Download Now

File Type: zip YBMF_playlist.com_ver2.zip (22.9 KB, 286 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-20-2009, 02:05 AM
Spicey LA Spicey LA is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it me or does the Playlist take forever to load????
Reply With Quote
  #23  
Old 01-20-2009, 05:17 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is you.

The playlist is directly fed from Playlist.com
Reply With Quote
  #24  
Old 01-29-2009, 08:05 AM
talkncaasports talkncaasports is offline
 
Join Date: Sep 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so you do not edit

Code:
<!-- yobromofo.com playlist -->
<if condition="$userinfo[fieldi]">
<div id="playlist" class="tborder content_block">
	<h4 class="thead block_title">
Reply With Quote
  #25  
Old 01-29-2009, 08:17 AM
talkncaasports talkncaasports is offline
 
Join Date: Sep 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and nothing is showing up.

This is the third time I have tried to install this with no luck whatsoever.

Did everything listed and nothing.
Reply With Quote
  #26  
Old 01-29-2009, 02:31 PM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aclikyano View Post
oh really? soo I suppose I will wait for that then
Thanks!
any word on this?
Reply With Quote
  #27  
Old 01-29-2009, 04:09 PM
spirittina spirittina is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooooh this is cool thanks i have installed and using it

one thing though you forgot to mention to change the fieldi to the field number of your playlist thats how i got this working
Reply With Quote
  #28  
Old 01-29-2009, 06:57 PM
spirittina spirittina is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am having some trouble my members cant see there mp3 but i as admin can what is the problem there
Reply With Quote
  #29  
Old 01-30-2009, 07:10 AM
spirittina spirittina is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

forget that i worked it out there are alot of things missing in this that are vital for the player to work like the user id that are allowed to view and use it which i did in the plugins options
Reply With Quote
  #30  
Old 02-01-2009, 12:43 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, i've sent a PM to the mod owner, but well, never mind, i already figured out how to make it work with the new playlists.

1.- go to the template memberinfo_block_playlist
2.- find:
Code:
    <embed style="width:240px; visibility:visible; 
height:240px;" allowScriptAccess="never" src="http://www.musicplaylist.net/mc/mp3player-othersite.swf?
config=http://www.musicplaylist.net/mc/config/config_$bbuserinfo[fieldb]_shuffle.xml&mywidth=240&myheight=220&playlist_url=http://www.musicplaylist.net/lo
adplaylist.php?playlist=$bbuserinfo[fielda]" menu="false" quality="high" width="240" height="220" name="mp3player" wmode="transparent" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/></embed>
You'll see a < / div> at the end of that code, DON'T REMOVE IT.

3.- replace with:
Code:
<embed style="width:240px; visibility:visible; height:300px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fconfig_$userinfo[fieldb].xml&mywidth=240&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?$userinfo[fielda]" menu="false" quality="high" width="240" height="300" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/>
Remember:
$userinfo[fielda] = playlist ID field
$userinfo[fieldb] = Playlist color


Ok, thats all what you have to edit, but now it will be different to post the playlist code, please read carefully!!

* Now the playlist id will look like this:
Code:
playlist=58229194&t=1233501978
WHY?
Because playlist.com changed the code, i'll explain how you can get your playlist ID.

1* login: http://www.playlist.com/user/login
2* go to " My Playlists", the link is at the TOP of the site
3* On the right side of the page you'll see " Quick Links: ", go to
"Put your playlist on MySpace" link.
4* Select option E !
5* Select your playlist
6* Ok, this part will depend on how you want to config the playlist ( vBulletin side ):
The code i gave you has the next settings:
-Autostart: yes
-Shuffle songs: no
-Custom skin: no
-Color: pickable

If you want to change some settings on the config ( vB side ) you'll have to be carefully when putting the FIELDS in the correct place.

Ok, lets imagine that you will use the code i provided you. You can choose any setting you want on the config of your playlist because it wont make effect because the configuration is in the vBulletin side !

7* click GET CODE
8* Look for: 'loadplaylist.php?'
9* After loadplaylist.php? you'll see your playlist ID, which has to look like this:
' playlist=58229194&t=1233504198 '

Thats what you have to put in the profile field Playlist ID, exactly as i show you, dont add or remove anything or it wont work.

DEMO: [my forum profile ]
http://forum.gamezeventos.com/member.php?u=12

Good Luck.
Reply With Quote
  #31  
Old 02-03-2009, 09:31 AM
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by talkncaasports View Post
so you do not edit

Code:
<!-- yobromofo.com playlist -->
<if condition="$userinfo[fieldi]">
<div id="playlist" class="tborder content_block">
    <h4 class="thead block_title">
Actually it didn't work until I changed this in the memberinfo_block_playlist:

Code:
<if condition="$bbuserinfo[fieldi]">
to:

Code:
<if condition="$userinfo[field9]">
field9 is my playlist ID field number...

But yeah, spent a good time messing around wondering why the heck it wasn't working until that change.

ALSO...For the Playlist ID field you need to change the Field Length from 25 to 50 or your ID will get chopped off...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08807 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete