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


All times are GMT. The time now is 03:27 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.01025 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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