vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - YBMF - Playlist.com Mp3 Player for Member profile (https://vborg.vbsupport.ru/showthread.php?t=201791)

TimberFloorAu 01-13-2009 10:00 PM

YBMF - Playlist.com Mp3 Player for Member profile
 
1 Attachment(s)
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.

TimberFloorAu 01-14-2009 09:21 PM

Reserved

ZIP includes: Product and readme

vip-q.com 01-14-2009 10:15 PM

Do u allow my to update it ??
I have some changes in it !!

TimberFloorAu 01-14-2009 10:20 PM

1 Attachment(s)
Please feel free mate, its creative commons with me. Just make sure you post code changes within this thread, and product updates. Keep YoBroMoFo text info intact, aswell as Stagger5

Ste

Oh and mark as INSTALLED :)

Nadeemjp 01-14-2009 11:07 PM

i think this is a very nice mod.
can someone please tell me that by installing this mod, i would give my users an ability to have mp3 songs from indian or pakistani music?:)

thank you

TimberFloorAu 01-14-2009 11:15 PM

Have you searched on Playlist.com for pakistani music ?

example: http://searchbeta.playlist.com/track...h%20Ali%20Khan

Bluefin221 01-14-2009 11:22 PM

Does every user have to do this?

Quote:

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

TimberFloorAu 01-14-2009 11:42 PM

only those that want their own playlist player in their profile.

Myself and another coder are just working on an upgrade for this already.

Ste

pein87 01-14-2009 11:50 PM

did you get stangger5's permission to make this mod? I got it from his site which required a dontation? Just wanna make sure your in the clear mate dont wont no drama on vb lol. Also demo can be found here.
DEMO

TimberFloorAu 01-14-2009 11:53 PM

Quote:

Originally Posted by pein87 (Post 1712723)
did you get stangger5's permission to make this mod? I got it from his site which required a dontation? Just wanna make sure your in the clear mate dont wont no drama on vb lol. Also demo can be found here.
DEMO

This isnt staggers mod.

Stagger never released to the best of my knowledge his version.

This code is a mashup of his youtube code, my code from previous players and playlist.com code.

To the best of my knowledge that shouldnt be an issue. However I maintained because some of the code within the mod, is using some of staggers, then I have accredited him accordingly.

If there is an issue, I will remove. We are currently updating this with whole new code, for seemless integration, and no template mods.

Ste

pein87 01-15-2009 12:21 AM

lol just wondering mate not trying to hound you lol I havent teste it but if you see the demo I got that version from him arcade site. nice work I should have known you didnt do it silly me stangger5's has a .swf file you need to upload lol honest mistake sorry. I have a question I made a simialr mod but for my myflashfetish.com would you think i should add the players to a iframe with auto scrolling so it looks cleaner and scrolls down to the rest of the player for the long ones?

TimberFloorAu 01-15-2009 12:23 AM

Quote:

Originally Posted by pein87 (Post 1712748)
lol just wondering mate not trying to hound you lol I havent teste it but if you see the demo I got that version from him arcade site. nice work I should have known you didnt do it silly me stangger5's has a .swf file you need to upload lol honest mistake sorry. I have a question I made a simialr mod but for my myflashfetish.com would you think i should add the players to a iframe with auto scrolling so it looks cleaner and scrolls down to the rest of the player for the long ones?

you can adapt the xml file sizes of the flash element with width and height, and autoscroll autoplay etc.
Im not a great lover of iframes.

Bear with us tho, another coder, has come up with a great little version. So if it works will release that either/or in replace of this one :)

Ste

Nadeemjp 01-15-2009 04:29 AM

gr8 if you are upgrading to exlcued the manual temp edits.
when do you think you can release that?
cause i am not good at editting templates and if simply by importing the product i can install this mod, then i would be a very happy man. cause i have been looking for this kind of mod for quite sometime now:)

TimberFloorAu 01-15-2009 07:12 AM

We should be releasing a Plugin version next cpl of days :)

Aclikyano 01-15-2009 08:02 PM

Quote:

Originally Posted by TimberFloorAu (Post 1713091)
We should be releasing a Plugin version next cpl of days :)

oh really? soo I suppose I will wait for that then
Thanks!

Magnumutz 01-16-2009 12:26 PM

My users get this error: Error: 404 - Playlist 2054368463627 not found

Magnumutz 01-16-2009 01:48 PM

Even after i got OVER the above problem, there's still bugs, like i get MY playlist on everyone's profile...
This isn't good at all.

TimberFloorAu 01-16-2009 10:23 PM

Your 1st problem Megamutz, looks to be your Playlist URL.

Second issue is, a inherant issue with the use of $bbuserinfo

We are working on a global version via a plugin system, which will play each users player in each users profile, by other members.

Currently if user a and user b have a playlist, whenever user a looks at his or others profile he sees users a's playlist.

And vice versa

glennybee 01-19-2009 10:59 PM

Tagged for later...waiting on improvements! :)

Use $userinfo[fieldx] instead of $bbuserinfo[fieldx] and you won't get the problem of your playlist ending up in everyone elses. In fact, it's not that your playlist is displayed in everyone elses, everyone else sees their own playlist in everyones profile. $bbuserinfo is related to the person that's logged in, $userinfo is what you want to use.

Would also be better if it was a complete product and you didn't need to manually create the profile fields. Maybe have a look at the product code used in this modification and you can adapt it to this mod.

Great potential, just need more work! Looking forward to it when it's improved. :)

TimberFloorAu 01-19-2009 11:42 PM

Many thanks .

Will update now.

My Bad :(

;)

Spicey LA 01-20-2009 02:05 AM

is it me or does the Playlist take forever to load????

TimberFloorAu 01-20-2009 05:17 AM

It is you.

The playlist is directly fed from Playlist.com

talkncaasports 01-29-2009 08:05 AM

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


talkncaasports 01-29-2009 08:17 AM

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.

Aclikyano 01-29-2009 02:31 PM

Quote:

Originally Posted by Aclikyano (Post 1713804)
oh really? soo I suppose I will wait for that then
Thanks!

any word on this?

spirittina 01-29-2009 04:09 PM

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 ;)

spirittina 01-29-2009 06:57 PM

i am having some trouble my members cant see there mp3 but i as admin can what is the problem there

spirittina 01-30-2009 07:10 AM

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

Lautaro 02-01-2009 12:43 PM

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.

Theater 02-03-2009 09:31 AM

Quote:

Originally Posted by talkncaasports (Post 1727929)
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...

Theater 02-03-2009 06:50 PM

Quote:

Originally Posted by spirittina (Post 1728862)
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

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:

TimberFloorAu 02-03-2009 08:33 PM

Thanks Theater

Theater 02-05-2009 04:05 AM

You know what would rock? If you could pop the block out in a popup window so you can go back to browsing the board without losing the music. :)

Jon Tolzien 02-05-2009 05:01 AM

Does this violate copyright laws regarding music???

BlackJacket 02-05-2009 12:44 PM

Too much stuff going on here.

I uninstalled until you can get this working without me having to go back and read everyone elses fixes.

dai-kun 02-09-2009 12:06 AM

Thanks installed and working following the edits posted by other people!

mstu 02-14-2009 06:09 AM

Quote:

Originally Posted by Theater (Post 1734851)
You know what would rock? If you could pop the block out in a popup window so you can go back to browsing the board without losing the music. :)

That would be sweet if that could be done.

Installed

HoLyMeN 02-14-2009 08:30 AM

Great staff but, playlist.com have many trojan :down: :mad:



14/2/2009 12:25:00 μμ HTTP filter file http://cdn1-36.projectplaylist.com/e...p3/2207216.mp3 WMA/TrojanDownloader.GetCodec.C trojan connection terminated - quarantined Holymen-PC\Holymen Threat was detected upon access to web by the application: C:\Program Files\Internet Explorer\iexplore.exe.

benstillman 02-15-2009 06:27 PM

Doesn't seem to work on IE very well?????

Here's an example:
www.ohio-riders.net/Casper

Works fine in FireFox, but IE not so much.

HoLyMeN 02-15-2009 06:56 PM

Quote:

Originally Posted by benstillman (Post 1745168)
Doesn't seem to work on IE very well?????

Here's an example:
www.ohio-riders.net/Casper

Works fine in FireFox, but IE not so much.

yes if the user use IE the mp3 no have color


All times are GMT. The time now is 05:23 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.01297 seconds
  • Memory Usage 1,854KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete