PDA

View Full Version : Using MySpace Default as Profile Picture


Conner85
14 Apr 2008, 10:39
I've been searching aimlessly to find a way to link the default picture on MySpace to the profile picture area in my users' profiles. Pretty much all they have to do is type in their MySpace user name and their default picture shows up. As well as auto-updating every time they change their default picture on MySpace. I finally came across PHP code, but I have NO CLUE how to turn it into a plugin. If anyone could help, it would be awesome.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Conner85
16 Apr 2008, 14:49
Not meaning to bump.. but.. no one at all?

MoT3rror
16 Apr 2008, 21:46
If you want to show the myspace profile picture on everypage for the user signed in.

Hook: global_start



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Then in your template the variable $myspaceimage will include what your function is returning.

Also single and double quotes mean different things.


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Conner85
16 Apr 2008, 23:16
That seems to atleast get the plugin to respond. The way I was setting the plugin up was causing a bunch of errors. But now all it says is Failed to grab main pic. Is there anything I'm doing wrong?

By the way, thank you very much.

FRDS
16 Apr 2008, 23:31
make sure curl is intalled and compiled on your server

Conner85
16 Apr 2008, 23:35
It's installed. Is there anything else it could be?

Conner85
18 Apr 2008, 00:48
Hmmmm.. Still saying Failed to grab main pic. Maybe the link needs to be changed into something like images.myspace.com? I've been trying to play around with it all I can. But as always, failed attempts.