vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - EPC MySpace Music Player to Profile (https://vborg.vbsupport.ru/showthread.php?t=156039)

blogtorank 08-22-2007 10:00 PM

EPC MySpace Music Player to Profile
 
EPC MySpace Music Player to Profile

Description:


All of you bands, music artists on MySpace looking to increase your hits and plays? Well here you go!

Install:

Follow the README.pdf :) or here:
  • Go To: Admincp > User Profile Fields > Add a new user profile field
    • See the PDF document for a screenshot of the required fields.
    • Note down the field id
    • Edit the memberinfo_customfields template
    • Add the following at the end:
PHP Code:

<if condition="$profilefield[profilefieldid]=='5'"

*Remember to change the number 5 to match the custom field ID for your forums.
  • Import the attached plugin ? plugin_epc_myspace_player.xml
  • Edit the plugin:-
PHP Code:

$url ="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=".$bbcode_parse
r
->parse($userinfo["field5"],0true);

Replace field5 with the field number that corresponds to the custom field id for ?My Space
Friend ID
field

  • Save the plugin.
  • Thats all
Usage:

Enter your friend id in the usercp profiles section. Goto member profile to view your myspace player. Viola Pure Love!!!!!

Requirements:

You mush have CURL installed on your server.

Don't ask me how to install CURL or verify, ask your webhost, technician or whoever runs this server for you if CURL is installed.

Enjoy as it works look at the screenshot and do add do friend up with me at MySpace :) EPCTechno

Oh and mark install if you like this!
Copyrights:


Another thing, do NOT use this code elsewhere in another hack unless you ask for permissions stating you made this and made that :D Let's get real and give props to my MySpace profile for this!

blogtorank 08-23-2007 11:04 AM

Reserved for future usage. Have a great day!

jasculs 08-23-2007 01:43 PM

hello...this isn't working for me it seems....my host says that curl is enabled...also can I put the code $myplayercode in the MEMBERINFO? I have a custom profile set-up

jasculs 08-23-2007 01:50 PM

ok...this only works with myspace music pages? can I somehow get the player/music that is in my profile..I don't have a myspace music page?

jasculs 08-23-2007 02:23 PM

Ok...I know what the problem is, but I'm not sure how to change it....MySpace music profiles and regular profiles have different music players when you look at the source code...MySpace music players use the id "mp3player", where as regular profiles with the smaller players use "mini" I think.

Also I believe the object code may be a bit different.

It would be great if you could get it to fetch the music players from regular profiles also.

yahoooh 08-23-2007 04:39 PM

great idea

blogtorank 08-23-2007 06:40 PM

Quote:

Originally Posted by jasculs (Post 1324002)
ok...this only works with myspace music pages? can I somehow get the player/music that is in my profile..I don't have a myspace music page?

Yes this works for MySpace Artist's Music Player due to this thread:

https://vborg.vbsupport.ru/showthread.php?t=155259

The screenshot depicts what this supports... Everyone and their brother has a Embed Video code to the forums, now an Artist on MySpace can put their music in their profile on a forums that supports this!

jasculs 08-23-2007 06:49 PM

But is there a way to have it embed the smaller players also like you see in regular myspace profiles because I have custom profiles and music profile players are too big. See here at my profile:

www.grapplersguide.com/forums/grapplersguide

When I add the player it makes the profile go off the template

jasculs 08-23-2007 06:55 PM

or is there a way to embed the music profile players but make them smaller?

blogtorank 08-23-2007 06:56 PM

Quote:

Originally Posted by jasculs (Post 1324249)
But is there a way to have it embed the smaller players also like you see in regular myspace profiles because I have custom profiles and music profile players are too big. See here at my profile:

www.grapplersguide.com/forums/grapplersguide

When I add the player it makes the profile go off the template

Yeah well like I said this is for the WHOLE player for the Artist only... To help increase plays :) However on the smaller one I'll see about that...


All times are GMT. The time now is 06:57 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.01199 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (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