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
  #42  
Old 02-15-2009, 10:34 PM
n8td n8td is offline
 
Join Date: Jun 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Theater View Post
More specifically...

Plugins & Products > Plugin Manager > YoBroMoFo Playlist for member profile and click [Edit].

In there add any custom usergroups IDs because if you don't then users in those groups won't see the player no matter what else you do.

IE...

Code:
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7, 17, 18))
        {
            eval('$blocks[playlist] = "' . fetch_template('memberinfo_block_playlist') . '";');}
Hope that helps. Good luck! It's been a pain in the butt for me to get it working, but far worth it. Thank you TimberFloorAu and others for this modification. :up:
If you use is_member_of it is asking if they're a member of any of the listed IDs. Not if they're in all of them.
Reply With Quote
  #43  
Old 02-16-2009, 01:52 AM
mstu mstu is offline
 
Join Date: Dec 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my first shot at this and I really have no clue what I am doing but, I thought I would try it. I still think its a little rough around the edges but, it does work.

Example: My Profile Playlist

To make this work you will need to add another Single-Line Text Box profile field.

I named mine Playlist.com Number

Set - Private Field option to YES
Set - Field Searchable on Members List to NO
Set - Show on Members List to NO

Click save and remember your field id number

Now edit your template: memberinfo_block_playlist

Find:
Code:
	<div class="alt2 block_row block_footer">		
<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[field12].xml&mywidth=240&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?$userinfo[field10]" menu="True" quality="high" width="240" height="300" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/></div>
Add After:
Code:
			<ul>				
                                     <li id="popOutPlayer"><a href="http://www.playlist.com/playlist/$userinfo[fieldc]/standalone?promoToolbar=1" target="_blank">Pop Out</a></li>
				<li id="emailPlaylist"><a href="http://www.playlist.com/user/forward/$userinfo[fieldc]" target="_blank">Email</a></li>
				<li id="getRingtones"><a href="http://www.playlist.com/playlist/$userinfo[fieldc]/download" target="_blank">Get Ringtones</a></li>
				
			</ul>
Now in the code you just added find $userinfo[fieldc] (there are 3 of them)

Change the "c" to the field id number of the profile field you just made.

Now all you need is the correct playlist number.

To get this you will need to:

1* Log into your www.playlist.com account

2* At the top of the page click on My Playlists

3* Next click on the playlist you added in the previous steps

4* Locate the numbers in the url http://www.playlist.com/playlist/14630368011

5* Copy and Paste the number into the profile field
Reply With Quote
  #44  
Old 02-16-2009, 07:22 AM
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mstu View Post
This is my first shot at this and I really have no clue what I am doing but, I thought I would try it. I still think its a little rough around the edges but, it does work.
Installed - thank you. It's not exactly what I meant, but it definitely works as opposed to not having any pop out option.
Reply With Quote
  #45  
Old 02-17-2009, 07:22 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mstu View Post
This is my first shot at this and I really have no clue what I am doing but, I thought I would try it. I still think its a little rough around the edges but, it does work.

Example: My Profile Playlist

To make this work you will need to add another Single-Line Text Box profile field.

I named mine Playlist.com Number

Set - Private Field option to YES
Set - Field Searchable on Members List to NO
Set - Show on Members List to NO

Click save and remember your field id number

Now edit your template: memberinfo_block_playlist

Find:
Code:
	<div class="alt2 block_row block_footer">		
<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[field12].xml&mywidth=240&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?$userinfo[field10]" menu="True" quality="high" width="240" height="300" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/></div>
Add After:
Code:
			<ul>				
                                     <li id="popOutPlayer"><a href="http://www.playlist.com/playlist/$userinfo[fieldc]/standalone?promoToolbar=1" target="_blank">Pop Out</a></li>
				<li id="emailPlaylist"><a href="http://www.playlist.com/user/forward/$userinfo[fieldc]" target="_blank">Email</a></li>
				<li id="getRingtones"><a href="http://www.playlist.com/playlist/$userinfo[fieldc]/download" target="_blank">Get Ringtones</a></li>
				
			</ul>
Now in the code you just added find $userinfo[fieldc] (there are 3 of them)

Change the "c" to the field id number of the profile field you just made.

Now all you need is the correct playlist number.

To get this you will need to:

1* Log into your www.playlist.com account

2* At the top of the page click on My Playlists

3* Next click on the playlist you added in the previous steps

4* Locate the numbers in the url http://www.playlist.com/playlist/14630368011

5* Copy and Paste the number into the profile field
What does this extra field do..?

The old version of this (Stanggar5) had a 3rd field but it was used for shuffle or auto start, etc.. I dont see any of that in here.?


ALso where do WE need to make these edits..?
Quote:
Please change bbuserinfo to userinfo

For $2 you can get this exact mod (plus a whole lot more) that works perfect, & has more options (auto start, shuffle, etc.) from stangger5
http://www.next-level-arcade.com
Reply With Quote
  #46  
Old 02-23-2009, 10:18 PM
mstu mstu is offline
 
Join Date: Dec 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
What does this extra field do..?
It puts a link at the bottom of the player that will pop it out in another window so your users can stay on your site.

Quote:
ALso where do WE need to make these edits..?
Quoted from above:
Quote:
Now edit your template: memberinfo_block_playlist
This is just a hack I came up with for this mod to make it sort of do what I needed. I thought I would share it here in case someone else wanted the same.
Reply With Quote
  #47  
Old 02-23-2009, 10:37 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This does look like my version #1 I did about a year ago..

I have three versions..
One just like this add-on,,the one I have post at next-level-arcade right now that uses swfobject.js and one that has no template edits...
Reply With Quote
  #48  
Old 02-24-2009, 01:05 AM
mstu mstu is offline
 
Join Date: Dec 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the sounds of that stangger5. I was under the impression that your mod didnt work with 3.8 yet.

I will definatley take a look at yours. Thanks
Reply With Quote
  #49  
Old 03-01-2009, 09:31 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure which one of Stanggers i have, but it works Flawlessly on 3.8.1, & the new Playlist.com player skin look great.!! (not that stangger had anything to do with the player skin. lol)

My profile - http://www.gamelobby.com/Forum/member.php?u=1
Reply With Quote
  #50  
Old 03-08-2009, 07:52 AM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lautaro View Post
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.
Confirmed, with this changes, it work on vB 3.8.1 perfectly, thanks
Reply With Quote
  #51  
Old 03-16-2009, 12:21 AM
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried it and could not get it to work.
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 04:56 PM.


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.10366 seconds
  • Memory Usage 2,373KB
  • 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
  • (8)bbcode_code
  • (8)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