[Offtopic] MySpace profile plugin for wordpress
November 18th, 2006Hi all,
Just found some time to develop a little myspace profile plugin (see sidebar on the left). This plugin allows you to add your Myspace profile to your wordpress blog. Show your visitors your myspace profile and make some friends.
See it in action on my homepage in the left sidebar.
Installation:
=====================
0. Download and unzip sw_myspace.zip
1. Upload sw_myspace.php to wp-content/plugins folder
2. Activate the plugin (curl must be enabled on your server)
3. Go to your wordpress admin Options > MySpace
4. submit your myspaceID, choose a thumb size and enable/disable add as friend feature.
5. put <?php sw_getMyspaceProfile(); ?> somewhere in your template. For example sidebar.php would be a good place
Features
=====================
1. You can choose a small or medium thumbnail
2. You can enable or disable the add-to-friend option
Ok here’s the download link for version 0.1 : when you have curl
[update] I have updated this plugin to version 0.3. Now the plugin check if curl is available, if not the plugin uses file functions or fsockopen.
Ok here’s the download link for version 0.3 ; check the use of curl, file functions or fsockopen
[update 26-11-2006] Tx to travelblogger for pointing this out I had set the MySpace profile ID to a maxLength of 12, now I have set it to 20.
Ok here’s the download link for version 0.3a
When you update:
- Deactivate plugin
- Remove old version from server
- don’t forget to remove <? sw_getMyspaceProfile(); ?> if you are not using it
- Upload new version
- activate plugin







Looks promising from the demo. Going to see if this works for me.
Comment by trench — November 19, 2006 @ 1:00 am
@trench,
Hope you like it.
One Important note: cUrl must be enabled!
FYI: Can get to sleep and I am developing a Skype plugin at the moment
Comment by webmaster — November 19, 2006 @ 2:15 am
Is there a reason that I can only enter 12 characters – my MySpace name is 13
Comment by travelblogger — November 26, 2006 @ 1:55 am
@travelblogger, hmm will look into it 2morrow.
Comment by webmaster — November 26, 2006 @ 2:35 am
@travelblogger, I have made a little update. You were right I had set a max length of 12 for the MySpace ID. I have changed this to 20
Ok here’s the download link for version 0.3a
Comment by webmaster — November 26, 2006 @ 1:31 pm
Thanks! But I’m still having problems.
a) I downloaded the latest version and it still does not allow mor ethan 12 characters :-/
b) I got into the code and changed the one place I could find the 12 limit and changed that to 20. Assuming that is all I needed to change, it still does not work for me.
I get ‘Your MySpace ID appears invalid. Double-check it.’
My MySpace ID is travelblogger
[I assume that's what you mean by MySpace ID?]
thanks for helping
Comment by travelblogger — November 26, 2006 @ 5:28 pm
ah, I think I know where it goes wrong.
With MySpace ID I don’t mean your chosen name, but the number assigned to you by MySpace. Within the plugin I have a What’s this? link ( I notice I had the target url as Draft, I published it now)
http://myspacetrains.blogspot.com/2006/05/whats-your-myspace-friend-id.html
This should do the trick.
Comment by webmaster — November 26, 2006 @ 6:11 pm
Anyone else having bother with myspace or is it just my pc?
Last couple of days it seems it wont let me download any song from anywhere.
Anyone having same bother – or anyone how to sort it?
Comment by Ramon — December 1, 2006 @ 1:54 pm