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)

n8td 02-15-2009 10:34 PM

Quote:

Originally Posted by Theater (Post 1733332)
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.

mstu 02-16-2009 01:52 AM

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

Theater 02-16-2009 07:22 AM

Quote:

Originally Posted by mstu (Post 1745507)
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. :)

Gamelobby 02-17-2009 07:22 PM

Quote:

Originally Posted by mstu (Post 1745507)
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

mstu 02-23-2009 10:18 PM

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.

stangger5 02-23-2009 10:37 PM

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

mstu 02-24-2009 01:05 AM

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

Gamelobby 03-01-2009 09:31 PM

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

Allan 03-08-2009 07:52 AM

Quote:

Originally Posted by Lautaro (Post 1730830)
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 ;)

woffie 03-16-2009 12:21 AM

Tried it and could not get it to work.

TimberFloorAu 03-23-2009 01:20 PM

Have not received PM.

Sorry we are snowed under with work.

Will do an update in coming weeks.

Ste

cdnbacon 04-14-2009 05:02 AM

Installed, used a few helpful posts from this thread and we're on our way.

It would definitely be nice to see this get a more automatic install, usergroup viewing/using permissions, etc.

Wonderful addon!

pein87 04-14-2009 02:54 PM

why not just remove the if statement that checks if there a member of a certain group?

s8glive 04-21-2009 02:22 PM

Quote:

Originally Posted by Allan (Post 1763061)
Confirmed, with this changes, it work on vB 3.8.1 perfectly, thanks ;)

how do you turn auto start off?

TimberFloorAu 04-21-2009 07:56 PM

Quote:

Originally Posted by s8glive (Post 1795976)
how do you turn auto start off?

Read allans code.

https://vborg.vbsupport.ru/showpost....1&postcount=49

You do this at Playlist.com within your profile,

Set Autoplay=off

s8glive 04-22-2009 10:20 AM

Quote:

Originally Posted by TimberFloorAu (Post 1796262)
Read allans code.

https://vborg.vbsupport.ru/showpost....1&postcount=49

You do this at Playlist.com within your profile,

Set Autoplay=off

i read his code but i still don't understand how to turn auto play off

ArnyVee 06-06-2009 11:20 AM

Quote:

Originally Posted by s8glive (Post 1796620)
i read his code but i still don't understand how to turn auto play off

The auto-play is turned off when you are creating the actual playlist over at Playlist.com

Simply select "no" as the option for auto-play.

Then, once this mod "pulls" the playlist onto the profiles, it will show correctly. :up:

koV Jerriel KD 07-30-2009 04:10 AM

I am having issues with people seeing the playlist. i have installed it and followed everything people have said it to work.

But still people cant see it. I tried adding the users in the code but then once i do that it gives me an error and then no one can see it


HTML Code:

if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7, 17, 18))
        {
            eval('$blocks[playlist] = "' . fetch_template('memberinfo_block_playlist') . '";');}


that is the code. Help please and thanks :]




NVM i found how to fix it

IntellectToday 08-02-2009 12:54 AM

Okay, I installed it - I set it up. It works, but only for me, the Admin.

Regular members cannot see the profiles anywhere! How can I fix this? Thanks. :)

MagicThemeParks 09-27-2009 11:07 PM

Nothing new on this one? Where do I go to get Stangger's version?

Megatr0n 09-27-2009 11:41 PM

The tracks don't play at all on my site.

Even when you search for them on Playlist.com.

Has this affected anyone else?

jkcerda 10-21-2009 02:23 AM

tagged

Gamelobby 03-27-2011 05:19 AM

Is there any 4.0 version for this, or should we just uninstall this.?


All times are GMT. The time now is 01:34 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.01229 seconds
  • Memory Usage 1,815KB
  • 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
  • (1)bbcode_html_printable
  • (12)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
  • (23)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