Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
EPC MySpace Music Player to Profile Details »»
EPC MySpace Music Player to Profile
Version: 1.00, by blogtorank blogtorank is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 08-22-2007 Last Update: Never Installs: 19
Uses Plugins
 
No support by the author.

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 Let's get real and give props to my MySpace profile for this!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-24-2007, 09:37 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One had an issue and PM me to look at what could be causing an issue with 4 players showing up in their profile here is a fix for this:

If you used this inside your memberinfo_customfields:

Quote:
  • Edit the memberinfo_customfields template
    • Add the following at the end:
Quote:
<tr>
<td>
$myplayercode
</td>
</tr>
Replace with:

PHP Code:
<if condition="$profilefield[profilefieldid]=='5'"
See the 5? Remove this 5 with the profile ID that's within your User Profile Field Manager when you set up the new field within the user profile.

This is only for the ones that are facing 4x players within their profile or perhaps multiples So we went for an if conditional and found this to work fine even with a new install!

Best regards!
Reply With Quote
  #23  
Old 08-24-2007, 10:57 AM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installing this now good sir!

edit: Installed but a 'page cannot be displayed page' is shown whenever I click a profile that has their ID entereted. This may because I don't have 'curl'

edit2: Going to contact my server admin, this 'curl' is far too confusing for me.

Quote:
The server uses f_open() instead of cURL()
Does this mean anything to anybody? guessing the plugin would have to re-written to work for 'f_open()'
Reply With Quote
  #24  
Old 08-24-2007, 06:49 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

f_open() = more resources used on your server vs the cURL(), however you can have f_open and cURL() on the same time on a server... It's advisable to use cURL over fopen....
Reply With Quote
  #25  
Old 08-24-2007, 09:40 PM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok he will be installing curl in the next few days. thanks blogtorank.
Reply With Quote
  #26  
Old 08-24-2007, 11:16 PM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn this hack is awesome but that CURL stuff is confusing do I have to get my host admin to install for me? Or can I do it myself?
Reply With Quote
  #27  
Old 08-24-2007, 11:41 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by applyimage View Post
ok he will be installing curl in the next few days. thanks blogtorank.
You got it man, it's not that hard to compile into php and if you have cpanel you can simply do this via

Quote:
Originally Posted by rb290 View Post
Damn this hack is awesome but that CURL stuff is confusing do I have to get my host admin to install for me? Or can I do it myself?
Do you even know if you have it compiled into PHP? Have you viewed your PHP info?
Reply With Quote
  #28  
Old 08-25-2007, 11:20 AM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blogtorank View Post
You got it man, it's not that hard to compile into php and if you have cpanel you can simply do this via
Yeah I have access to cpanel and ftp, but I downloaded the curl package and there where files that I have no idea what im supposed to do with them, never heard of curl before this thread. No worries though man I'll just be patient
Reply With Quote
  #29  
Old 08-25-2007, 11:25 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ummm if you have cPanel just run /scripts/easyapache pick option 7, and then go from there, if you aren't too familiar with SSH or anything like that it's best you hire someone to do it or have your host do it ASAP.

We did get a guy write in the yesterday about how he went from 100 plays a day to over 800+ from using this MOD
Reply With Quote
  #30  
Old 08-26-2007, 09:46 PM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Knowing me, I'd just f*** it up

Yeah how this mod was never created earlier idk, Myspace is becoming huge for aspiring musicians now and they love their play counts, so this should be a popular mod as soon as people know about it.
Reply With Quote
  #31  
Old 08-26-2007, 10:28 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well do you have SSH? Send me a PM if you do I'll compile it into your PHP if you like... Sunday Free day
Reply With Quote
Reply


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 01:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04844 seconds
  • Memory Usage 2,316KB
  • 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
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete