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!
I purchased the full version of another one of this guys products. It has been 5 days and still not able to download it. They have asked for information which I have sent and still the file is not there to download.
I'm getting this error:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /member.php(607) : eval()'d code on line 157
i tried to get this working but
it dont just show th music player it displays he entire profile and messes the style on vb up.
Same here. But it could be that I have the Interactive Profiles hack. I installed this hack and it took away the footer along with the other profile information. Everything from the signature on down. When I take the $customfields out, everything goes back to normal. As well as disabling the MySpace Player plugin.
Note: this only happens in IE. FireFox looks perfect. Is there any way to fix this so that my IE users are able to view it as if they were using FireFox?
Also.. when just a regular user wants to edit their profile and they don't put anything in the MySpace Friend ID field, after clicking save, this shows up:
Quote:
You did not enter the correct format for the MySpace Friend ID field. Please read the field description for the expected format.
I set the field not to be required.
Although, this is my test site and I don't have any users, I'm just trying to correct all errors before I move everything over to my real site which has almost 200,000 members.
This is an awesome hack by far, and probably one of the best I've seen since I run a site that promotes Metal bands. They'll get a kick out of this.
**EDIT**
Delete the [0-9] that shows in the screen shot. If the field is left blank, it won't let you go beyond the Edit Profile page. But still having problems with it screwing the profile up in IE.
IE doesn't recognize the closing </object> tag in the PHP script. Therefore, anything after the flash movie will not show up, due to the flash movie covering all of the other script. So.. if you choose not to use the $customfields in the template, and you decide to just place the $myplayercode into your MEMBERINFO template, type it out like this
Code:
$myplayercode</object>
Or if you decide to use the $customfields in the template, in your MEMBERINFO template, type it out like this
Code:
$customfields</object>
If this thread wasn't abandoned, I'd say it should be posted in the first post.