WordPress to MySpace Auto Crossposting

NOTE: Newest Version is LOCATED HERE.

wpmsworkingtogetherEveryone knows that MySpace has a terrible reputation for being a closed system and not allowing developers access to any API. As a result, those of us who run our blogs centrally on self-hosted WordPress installs, as well as many other I’m sure, face the tedious task of manually crossposting to MySpace if you maintain a presence there as well.

Some developers have tried to write plug-ins to do the job, but MySpace is constantly trying to thwart the attempts by relentlessly changing their system.

Fed up with it, I decided to write my own such system and base it on a pretty standard, straight-forward mechanism with the hopes that changes on the MySpace side of things wouldn’t have much effect on the functioning of my code.


In truth, it’s not so much an auto crossposter as it is an auto notifier, but that’s by choice, can be changed on the fly and actually has its advantages.

The first advantage is formatting. I’m rather particular with my formatting and getting MySpace to behave exactly as one wants is, as any user knows, a true pain in the arse. It’s senseless to try to truly format on MySpace, so, I’ve opted to make each new auto entered MySpace blog read as follows:

myspaceblogsingleentry-trimmed

This keeps the format clean, but has a second added advantage: It encourages people to visit my actual WordPress blog, where I want them to be!

A very simple modification would of course post the entire entry, rather than my customized message, but I’ve chosen to go this route with it.

Of course, the entry on the main profile page lists the appropriate title for the blog entry too:

myspaceblog

QUICK INSTRUCTIONS
NOTE: As of August 2, 2007, this script is running fine on a WordPress 2.2 install with PHP 4.3.11, CURL 7.10.6 and MySQL 5.0.18. Though it should run fine on any fairly recent install of these apps, I am here disclosing that the author has only tested it personally and thoroughly on the above install. All others are on their own if it doesn’t work.

NEWEST VERSION IS 2.0a – LOCATED ON THE NEW 2.0 PROJECT PAGE

1.) Save the two files locally

pingmyspace.php
pingmyspace-exec.php

Click on the above links, view the source, and copy and paste each into a new file titled “pingmyspace.php” and “pingmyspace-exec.php”, respectively.

2.) Make minor changes so it works for you.

Modify only the clearly labeled variables at the top of pingmyspace.php with your own information and save.

3.) Upload

Upload the files to your server. Place them anywhere you like – preferably in a directory all its own.

4.) Setup the automatic ping

NOTE: Do NOT activate the plug-in on your plugins administration panel. The method of activation is as follows:

In the WordPress Admin panel, select Options > Writing.
In the Update Services box at the bottom of the page, enter the direct URL for the pingmyspace.php file that you just uploaded:

example: http://www.yourdomain.com/yourdirectory/pingmyspace.php

Click Update Options to save.

The next time that you publish to your blog, WordPress will call your pingmyspace.php file automatically and your MySpace blog will be automatically updated!

To test the functionality, you can manually visit the url of your pingmyspace.php file and the last entry that you made will be crossposted to MySpace.

THE CODE

I owe a huge debt to Greg Sidberry over at elsid.net and his MySpace Access Class and by extension Harry Maugan for his MySpace Login with PHP and cURL and Brad Turcotte (brad [at] bradsucks.net) for some initial development. I may clean up my version sometime down the road and stick to the bare bones of the MySpace Login with cURL and a few of my own self-written blog updating functions, but for now I’m using Greg Sidberry’s work and figured that, in the interest of helping others solve the problem, you’d like to see it sooner rather than later.

The code is pretty straight forward. The first step – requesting pingmyspace.php – does the back-end work of logging into the WordPress database and selecting the latest published entry. It does a little bit of necessary formatting and then simply includes the (modified) MySpace Access Class, establishing the MySpace connection, and then updates the blog with the freshly fetched and formatted data. Simple as that.

Hope this is helpful!
##

UPDATE – JUNE 9, 2007 – NEW VERSION 1.1a

At the urging of Greg Sidberry ( elsid.net ), this code has been submitted to WordPress as a plug-in.

Many thanks to Andrew Brenton ( fxetc.com ) for submitting a mod to prevent accidental repeated crossposting to MySpace. His code has been incorporated into the latest release.

NEW FILES
Instructions remain primarily the same (as given above) but the new files for the latest version are here:

pingmyspace_v1_1a.php
pingmyspace-exec_v1_1a.php

or

myspacecrossposter_v1_1a.zip

Please note that you should save the files locally and transfer them to your server with the new filenames (pingmyspace_v1_1a.php and pingmyspace-exec_v1_1a.php), not the old pingmyspace.php and pingmyspace-exec.php.

Note that I am not giving any guarantees that I will continue to update or support this code. Future versions may or may not be released. Code is shared as is. You are always welcome to submit mods and if I continue development, suitable mods will be incorporated and full credit given. Future releases are entirely dependent upon schedule and availability of time.

UPDATE – JUNE 12, 2007 – NEW VERSION 1.2a

myspacecrossposter_v1_2a.zip

Version 1.2a has been uploaded. This really should have been v1.1.1a, but that’s too many decimals for my liking. The changes here are very minor and current users do not need to move to this new version. The only change is the addition of a verbose output option for testing and troubleshooting. This option will be in all future versions and as there are no major functionality changes, current users can wait until the next major revision to upgrade.

UPDATE – JUNE 13, 2007 – NEW VERSION 1.3a

myspacecrossposter_v1_3a.zip

Another minor change, but important for many users. The method of retrieving and constructing the URL for the post has been modified and will now work with any permalink structure. The previous versions would only accommodate the permalink structure that I use (as I wrote it originally to solve my problem) which is in fact a custom structure. As a result, some people were finding that the plug-in would generate incorrect url’s to their posts. The problem is now fixed and will work for everyone.

UPDATE – JUNE 17, 2007 – NEW VERSION 1.4a

NOTE: If you are unwilling to read and follow the install instructions, do not bother downloading this plugin. THE PLUGIN SHOULD NOT BE ACTIVATED ON YOUR PLUGINS ADMINISTRATION PANEL. Users who do not read the instructions continually get errors when they try this, and then come here to complain about it. If you take the time to FOLLOW THE DIRECTIONS you will find that 9 out of 10 users have no problem at all. I’m more than willing to help out with diagnosing problems as long as you’ve kept up your end of the bargain and have actually read and followed the instructions first.

myspacecrossposter_v1_4a.zip

Added the option to easily choose between posting a notification message on your MySpace blog, or the entire blog entry itself.

Users with non-standard table names in their WordPress install now have more support and can easily set new table names to reference.

UPDATE – SEPTEMBER 11, 2007 – NEW VERSION 2.0a

The code and its operation has undergone a HUGE change. The newest – and easiest to use – version is on THE NEW 2.0 PROJECT PAGE.

COMING VERY SOON

-New option to send out a MySpace bulletin announcing a new blog entry with each blog update.

###
[tags]blogging, Crossposting, cURL, MySpace, MySpace Access Class, MySpace crossposting, PHP, ping, pinging, plugin, WordPress, wp[/tags]

131 Comments

  1. Wow! thanx for putting the class to good use Roderick. I’d like to port the class over to a full fledged plugin for many systems including wordpress. if interested, please contact me.

    Posted June 3, 2007 at Jun 03, 07 | 6:51 pm | Permalink
  2. Hey have you submitted your plugin to wordpress’s plugin directory?

    Posted June 8, 2007 at Jun 08, 07 | 8:30 pm | Permalink
  3. I’ve left a link in the “Ideas” section of the WordPress.org website suggesting the code as an interim solution to the problem – perhaps not the *the* most appropriate place to leave it, but before writing the code myself I landed on that page several times in my own searches – figured others would as well, and now they’ll find an answer.

    I haven’t submitted it as a plug-in simply because I figured that it wasn’t in a nice “packaged” format. But perhaps I should reconsider… Wouldn’t take too much to get it up to speed…

    Posted June 8, 2007 at Jun 08, 07 | 10:34 pm | Permalink
  4. When ever I published a new post it showed up twice in MySpace. Every time I made an edit or anything at all the post would be re-posted to MySpace. I added the following to the code, just above [mysql_close($link);], to ensure the post would only be sent to MySpace once:

    $ID = $row["id"];
    $result = mysql_query(“SELECT meta_value FROM wp_postmeta WHERE post_id=’$ID’ AND meta_key=’xposted’”);
    if (mysql_num_rows($result) > 0)
    exit();
    $result = mysql_query(“INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES(‘$ID’, ‘xposted’, ‘1′)”);

    Posted June 9, 2007 at Jun 09, 07 | 2:51 am | Permalink
  5. Ooops, that’s supposed to be
    $ID = $row[”ID”];
    (CAPITAL)

    Posted June 9, 2007 at Jun 09, 07 | 3:31 am | Permalink
  6. Thanks Andrew! That’s a great addition! I’ve incorporated it into the latest version and made a few other mods. The latest update is now listed in the post above. You’re fully credited in the code. :)

    Also, at the urging of Sid, I submitted the code to the WordPress plug-in directory.

    Posted June 9, 2007 at Jun 09, 07 | 3:44 pm | Permalink
  7. Hey, perhaps you could put in an option to choose the permalink type. I had to change:

    $postUrl=$row["guid"];

    Great work and thanks for the other credit by the way!
    (a nice coincidence that you made this just before I searched for it on google ;-)

    Posted June 10, 2007 at Jun 10, 07 | 6:36 pm | Permalink
  8. I don’t seem to be able to get his handy dandy tool to work…I have a question. When using the following step to test functionality:

    “To test the functionality, you can manually visit the url of your pingmyspace.php file and the last entry that you made will be crossposted to MySpace.”

    What should I ultimately see? When the user-updated fields are incorrect, you of course get an error message of some sort. Now I just get a blank Firefox window. Is that what I want? Or is it supposed to ultimately take me to my MySpace blog (or somewhere else)?

    Thanks for any help, although I know that this is pretty new and you can’t be expected to offer tech support for every single neophyte.

    Posted June 11, 2007 at Jun 11, 07 | 10:39 pm | Permalink
  9. Adam,

    Thanks for checking out the plug-in!

    You’re absolutely correct – if you manually type in the full URL for your pingmyspace.php file (or now the new pingmyspace_v1_1a.php) and it works correctly, what you should see is exactly what you got – a blank browser window.

    Normally it would be WordPress calling the URL, so there’s no need for anything to print to the screen. When you call it directly in your browser, assuming everything is working properly, you should get just a blank screen.

    Perhaps I should toss in a little confirmation/status message for those calling it directly…

    If you visit your MySpace page, you *should* have a new blog entry. If not, I would start by double-checking the username and password for MySpace that you entered into the user-defined variables. If that doesn’t solve it, we’ll have to dig deeper… (fyi – with the new crosspost status update in the latest version, you’ll have to either make an entirely new WordPress entry to test the functionality again, else modify the xposted meta_value field in the wp_postmeta table)

    Let me know!

    Posted June 11, 2007 at Jun 11, 07 | 11:14 pm | Permalink
  10. Andrew,

    Absolutely yes on the permalink type! In fact, I should really change the method by which I reference everything in the row arrays and clean up my queries too. Popping that option in while I’m at it will be no problem at all.

    Thanks!!!

    Posted June 11, 2007 at Jun 11, 07 | 11:18 pm | Permalink
  11. Thanks Roderick for getting back to me!

    Harumph, this is one of those situations where everything LOOKS like it should be working, but that final key step (where I actually get the thing to work) isn’t panning out.

    I wonder if I am simply stupid/uninformed:

    For an item like “blogUrl”, I assume I am just entering the basic URL of my site? Or do I need to enter something more specific (like /post.php at the end of the address, or what have you)?

    At any rate, thank you so much for tackling this task, as I’m sure there are countless people out there who would love to blog from one centralized location without having to wade through the muck that is MySpace.

    Posted June 11, 2007 at Jun 11, 07 | 11:42 pm | Permalink
  12. Adam – no problem at all! And thanks for posting your messages here for all too see. I’m sure that it will be of help to others who may run into similar problems.

    First question: What version of the crossposter are you using?

    Second: Am I to assume that the problem you’re having is that the blog entry just isn’t showing up on MySpace?

    Third: If you are using v1.1a, are you writing and publishing an *entirely new* entry each time that you test?

    It sounds as though the problem is between the server and MySpace, as most of the code between the server and the WP database will throw errors that you’d see.

    Posted June 12, 2007 at Jun 12, 07 | 12:12 pm | Permalink
  13. 1) I’m attempting to use 1.1a
    2) You’re exactly right, everything looks to be going through, except the blog entry isn’t showing up in MySpace.
    3) Every new entry I’ve put in, in addition to when I go directly to “pingmyspace_v1_1a.php”, neither has worked.

    So somewhere between my database server and MySpace, my inadequacy lies. Is it possible for you to provide a link to, let’s say, an example of an edited pingmyspace.php file with the appropriate fields edited for those of us who might need things spelled out for us like we’re preschoolers?

    If not, any other suggestions you can think of? Thanks!

    Posted June 12, 2007 at Jun 12, 07 | 2:34 pm | Permalink
  14. Adam – try the latest version that I just uploaded (v1.2a) I added a more verbose output option for you. Open the pingmyspace_v1_2a.php file, modify the variables as per usual and make special note to modify the new $withoutput variable to ‘1′. When you manually call the URL it will give you more feedback this time. If all is working properly, it should look like this:


    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Successfully Updated Xpost Status
    * Your MySpace Post Will Look Like This:

    I’ve posted a new article entitled Test Story on my blog Noumenon.

    Due to crossposting and formatting restrictions within the MySpace system, the article will not be posted here.

    Please visit Noumenon or go directly to the article at:http://noumenon.roderickrussell.com/test-story

    Enjoy!

    * Closed Database Connection

    But will of course feature your own test post information…

    As to those variables – they are *exactly* as they appear in the dummy examples in the original files. I’ve made special comments next to each one in the new version for you to check out.

    Posted June 12, 2007 at Jun 12, 07 | 4:01 pm | Permalink
  15. Andrew – the suggestion you made three days ago (re: guid) has been implemented in version 1.3a

    Thanks!

    Posted June 13, 2007 at Jun 13, 07 | 5:24 pm | Permalink
  16. Trying to activate this plugin in WP 2.2 not allowed – triggers “fatal error.”

    Any ideas as to why?

    Posted June 19, 2007 at Jun 19, 07 | 1:32 am | Permalink
  17. Dude, it would be nice if you edited the top of this post or near the first download showing people that there is a new version below. I jumped the gun, downloaded and installed the first version only to come back and see there were 4 other versions.

    Posted June 19, 2007 at Jun 19, 07 | 9:47 am | Permalink
  18. @John… I just noticed the same thing. Activating in 2.2 crashed the entire site. Had to delete the files to restore website to working version

    Posted June 19, 2007 at Jun 19, 07 | 10:10 am | Permalink
  19. John, Sounds like the issue resides in the fact that you’re trying to activate this plug-in via the Plugin Management tab in your WordPress admin interface. It is not recommended that you do this. Please review the directions above and follow them carefully and I’m sure that it will in all likelihood work for you. You need to create a new directory in which to place this plugin – not the plugins directory.

    BTW – cool website you’ve got there!

    Posted June 19, 2007 at Jun 19, 07 | 11:41 am | Permalink
  20. Rob,

    Dude, it would be nice if users actually read what the author wrote. Instead, they sometimes jump the gun, download and install the first version only to come back and see that there are 4 other versions..

    Sounds like you’re having the same problem as John. Please read the instructions, download the latest version and try again.

    Posted June 19, 2007 at Jun 19, 07 | 11:43 am | Permalink
  21. Roderick -

    Thanks for that. I did create a new directory for the php files, but I created it WITHIN the plugins directory. Will move it out and give it another go.

    Thanks so much for the help, and thanks for the kind words about pinkraygun.

    Posted June 20, 2007 at Jun 20, 07 | 1:03 pm | Permalink
  22. Hey, this seems like a really nifty little gizmo, but I’m having a bit of trouble getting it to work.

    I am using the latest version (4a) and have followed the setup instructions to the best of my understanding, but still nothing comes up on Myspace. I’ve tried fiddling with the usernames/passwords for all the various variables, and I still get nothing. I navigated directly to the location of the crossposter on my server, and I receive this error:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘me’@'my server’ (using password: YES) in /changed for security…/pingmyspace_v1_4a.php on line 117
    Could not connect: Access denied for user ‘me’@'my server’ (using password: YES)

    I guess I don’t really understand the error, or know what I should be changing to make this work. Any ideas? Thanks for reading this, and thanks for putting this thing together! It sounds really great and I’d love to be able to try it.

    Posted June 24, 2007 at Jun 24, 07 | 12:23 am | Permalink
  23. Hey Meg! The good news is that it sounds like you’re just having a username and password issue, which should be able to be resolved fairly easily.

    Looks like the username and password that you entered for the WordPress side of things is incorrect. I should mention that this is *not* necessarily the username and password that you use to log into your WP administration panel, but rather the username and password for the *database itself*, which you would have entered only once before – when you initially setup WordPress.

    If you can dig up that username and password combo, try plugging that into the file and see what you get!

    Best,

    -Roderick

    Posted June 24, 2007 at Jun 24, 07 | 12:30 am | Permalink
  24. Hey Roderick, thanks for the information! I haven’t got it working yet, but at least I know where to start poking now. Thanks!

    Posted June 24, 2007 at Jun 24, 07 | 9:47 pm | Permalink
  25. I love the crossposter! The only thing I wish it had was the ability to chose post summaries (the “Read More” option) in addition to the notification or full post choices. This would give the read a taste of the post, but generally excludes extra formatting anyway, so that shouldn’t be an issue.

    Just an idea! If there is any way for me to do this now, for my blog, I would love it.

    Again, keep up the good work!

    Posted June 26, 2007 at Jun 26, 07 | 2:00 am | Permalink
  26. Roderick -

    Thanks for the help getting things working, now I have another question.

    Pink Raygun updates with at least two items per day. If both of those items go up at the same time, then only the first item gets posted on MySpace. If I separate the items by a couple of hours, only the first item gets posted to MySpace…but it get’s posted twice. Same effect with three items, etc.

    Any ideas on how to fix this?

    Thanks in advance,

    John
    pinkraygun.com

    Posted June 29, 2007 at Jun 29, 07 | 2:11 am | Permalink
  27. And, of course, as soon as I ask a question about my posting problem, all seems to have been cleared up.

    MySpace must have made some sort of change on their end, as I did NOTHING on my own.

    Posted June 29, 2007 at Jun 29, 07 | 7:16 am | Permalink
  28. It looks like version 1.4a is a plugin. Does that mean it should be installed to the plugins directory? I used the old install instructions, but nothing seems to happen when I browse to my website’s /wp-content/plugins/pingmyspace_v1_4a.php The browser displays a blank screen, and no post to myspace. Has the install procedure changed for this version?

    Posted June 30, 2007 at Jun 30, 07 | 3:45 pm | Permalink
  29. RE: John

    I also noticed that activating the plugin results in: “Plugin could not be activated because it triggered a fatal error.” Perhaps development hasn’t reached the “official plugin” point yet?

    Posted June 30, 2007 at Jun 30, 07 | 3:47 pm | Permalink
  30. This would be a great plug-in if I could get it to work. Unfortunately this is the error I constantly get:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /myspacexposter/pingmyspace-exec_v1_4a.php on line 81

    I’m not sure if the problem is on my end or on MySpace’s end. Anyone have any ideas?

    Posted July 5, 2007 at Jul 05, 07 | 12:01 am | Permalink
  31. NYCWD – problem is definitely located locally on your server (wherever your site is hosted) and not MySpace. Could be a number of things, including something as simple as your version of PHP and cURL.

    Some webhosts run their instance of PHP in safe mode – as the error mentions that, this may be the case. Ask your ISP if they are. And double check that they are running the latest versions.

    Posted July 5, 2007 at Jul 05, 07 | 12:17 am | Permalink
  32. Dylan, you’ve got the install right. The page is supposed to be blank if you navigate to it with your browser, unless you’ve turned on the verbose output option.

    Posted July 5, 2007 at Jul 05, 07 | 12:19 am | Permalink
  33. Hey Roderick,

    What a killer hack! I had been frustrated over this very issue for the past couple weeks – finally decided to hit up Google and landed me right here.

    I’m running into a bit of a problem – http://superhumanoids.com/myspaceping/pingmyspace.php – where I get this response in the verbose mode.

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    So everything seems to be working out on the WP end of it but it doesnt seem to want to get it to MySpace. The posts also aren’t showing up on MySpace…any thoughts?

    Thanks again for this…it rules :)

    Posted July 5, 2007 at Jul 05, 07 | 5:30 pm | Permalink
  34. Hello Roderick, thanks for this great solution to a vexing problem. But you know what’s coming… a question! I’ve installed v1_4a into my WordPress plugins directory. When I go to my plugin panel and click “Activate,” WordPress gives me the message Dylan noted above: “Plugin could not be activated because it triggered a fatal error.”

    But when I call up pingmyspace_v1_4a.php in my browser with verbose output turned on, it tells me:
    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    AND my latest post WAS crossposted to MySpace successfully:
    http://blog.myspace.com/index.cfm?fuseaction=blog.listall&friendid=57995699

    WordPress still shows the plugin as inactive. Any clue what’s going on there? I’m certainly happy as long as it works. Next time I post I will let you know whether it worked again.

    Thanks again if you can help with this oddity.

    Posted July 10, 2007 at Jul 10, 07 | 9:26 pm | Permalink
  35. Nice work. I wasn’t able to activate the plugin with Wordpress 2.2.1. It says fatal error. I tried with version 2.1 first but that didn’t work either. My latest post was linked to on myspace though. Any suggestions?

    Posted July 11, 2007 at Jul 11, 07 | 3:05 pm | Permalink
  36. Brian and Cheryl,

    Thanks for using the plug-in! It sounds as if all is working fine for you, despite your confusion regarding the “activation” of the plug-in – that is, it’s crossposting to MySpace just fine.

    I’m going to make a special note on the latest download, because this seems to be a recurring problem. As this is an “alpha” release, it’s actually not meant to be activated via the plug-ins admin panel. The errors that you’re seeing are a result of *trying* to activate it (which is the obvious thing to do), but in fact, by putting it in its own directory and pointing the auto-ping towards it, it’s automatically activated and you should *not* activate it manually on the plug-ins panel. Moreover, I’d recommend not even putting in the plug-ins directory (though it won’t hurt anything if you do), thereby avoiding any confusion.

    So, as long as it’s *not* activated on your plug-ins page and it *is* posting to MySpace, you’re all set. It’s working fine for you. :)

    Hope that helps clarify!

    -Roderick

    Posted July 11, 2007 at Jul 11, 07 | 3:17 pm | Permalink
  37. Cameorn,

    If there was an issue on the MySpace side of things, such as logging in or posting, it would throw errors that we’d see. And as you point out, the WP side of things seems to be (according to your output) working fine as well.

    Question is, did you get the “* Story Has Already Been Xposted to MySpace. Ending Script…” message the first time that you ran the script? This message indicates that the last story is already marked as having been crossposted in your WP database, and therefore it’s not posting it again.

    If your wp_postmeta table has a meta_key entry that equals “xposted” for any reason, that could be throwing things off, but I doubt that you would have that for any reason outside of running this script.

    Also, you seem to be running a “band” page on MySpace. Truth is, I myself have only tested this script with the “personal” MySpace profiles. I don’t know why they’d do things any differently for a “band” profile – aside from the fact that MySpace is *always* doing things differently – but it could be that the posting mechanism is slightly different for those profiles.

    *TO THE READERS* Any users of the script successfully using it with a “band” profile on MySpace? Let us know.

    I’d start by removing the entry from the Options>Writing>Update Services box, then I’d create a new entry and confirm that it’s gone live on the WordPress blog, then I’d manually visit the URL for the crossposting script (with verbose output turned on) and see what happens. Try that and report back.

    -R

    Posted July 11, 2007 at Jul 11, 07 | 3:34 pm | Permalink
  38. I can’t get it work at all. I’m using 2.2.1. And it keeps telling me that it’s causing a fatal error.

    Posted July 14, 2007 at Jul 14, 07 | 5:03 pm | Permalink
  39. My myspace profile is a band (music) one, and I got it to work this morning. However, there is one small problem: The direct link for the article is not correct and returns a 404 Not Found error. It appears that the plugin pulled the title of the blog post and used it as the URL, but the actual blog post has the “?p=” numbered post format. How can I get that to display properly on the Myspace blog?

    Oh, and also, no bulletin was sent out, so that feature did not work at all. Help?

    Thanks,
    kopper

    Posted July 18, 2007 at Jul 18, 07 | 12:27 pm | Permalink
  40. Hey thanks for all the work you put into this. Working great and I do like how it directs traffic to my wordpress site. Thanks again!!!

    Posted July 21, 2007 at Jul 21, 07 | 7:18 pm | Permalink
  41. Hi, Rod,

    I just setup and ran this little hack according to your instructions and got this message returned from the script:

    ————————————-

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Successfully Updated Xpost Status
    * Your MySpace Post Will Look Like This:

    I’ve posted a new article entitled Vicoden on my blog Shamus Writes.

    Due to crossposting and formatting restrictions within the MySpace system, the article will not be posted here.

    Please visit Shamus Writes or go directly to the article at:http://shamuswrites.com/2007/07/31/vicoden/

    Enjoy!

    * Closed Database Connection
    We’re sorry but an error has occured, please check your user name and password. If you are sure this is correct this may be due to myspace, please try again later. if you continue to recieve this error please contact the developers with the following information : your name and email, what function you were attempting to use, page that error occured.

    ————————————–

    Any thoughts? Looks to me like MySpace is on to your game and found a way to block this script.

    Posted July 31, 2007 at Jul 31, 07 | 2:38 pm | Permalink
  42. Do you still have to setup ping while it is a plugin?

    Posted July 31, 2007 at Jul 31, 07 | 6:25 pm | Permalink
  43. I cannot see the new updated instructions maybe i am just blind?
    I see that i don’t enable the plugin… but does it still auto update? do i need to have it ping still? I have it set to ping and its not working.. .everytime i post i have to click the link.

    Posted July 31, 2007 at Jul 31, 07 | 6:29 pm | Permalink
  44. This is a great idea–thanks so much for putting it together!

    I am having one problem, and I was wondering if you might be able to help. When I test it, I get this back:

    —–

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Successfully Updated Xpost Status
    * Your MySpace Post Will Look Like This:

    I’ve posted a new article entitled Summer task 1 completed: Kitchen painted on my blog …and the rest is history.

    * Closed Database Connection

    Fatal error: Call to undefined function: curl_init() in …/pingmyspace-exec_v1_4a.php on line 72

    —–

    And, nothing gets posted at MySpace. Is there something I’m missing in the directions?

    Posted August 1, 2007 at Aug 01, 07 | 10:53 pm | Permalink
  45. Hey Jim,

    Thanks for using (or trying to use) the plugin.

    The error that you are getting is indeed a MySpace error, related to either 1.) your credentials upon login or 2.) MySpace simply not functioning properly, as is often the case.

    I would of course triple and quadruple check your MySpace username and password and make absolutely certain that it’s entered into the crossposter file properly and in the correct place. Also be sure to use a plain text editor to edit the code (*any* code, not just mine), else you may end up with special characters inserted that are invisible to you on-screen but will wreak havoc with the execution of the code.

    Try that and give it another whirl. Looks like the Wordpress side of things is working perfectly. You’ll have to create a new entry for it to work, remember. Your database is now listing your last story as already crossposted.

    Rest assured that MySpace is not blocking the script. Still works great for me and hundreds of others.

    Let me know how it works out.

    -R

    Posted August 2, 2007 at Aug 02, 07 | 8:31 am | Permalink
  46. Julie,

    Looks like either 1.) the CURL module is not installed in your webhost’s version of PHP or 2.) it is, but it’s an older version.

    You’ll have to check with them and get them to install the latest CURL module for you.

    Best,

    -R

    Posted August 2, 2007 at Aug 02, 07 | 8:33 am | Permalink
  47. Hey Folks,

    Great plugin! I’ve been needing this for quite some time. What do you say about this error:

    Warning: mysql_data_seek(): Offset -1 is invalid for MySQL result index 3 (or the query data is unbuffered) in /home/rwprice/public_html/lifeinunioncounty/mswpcp/pingmyspace_v1_4a.php on line 152

    ideas?

    Posted August 2, 2007 at Aug 02, 07 | 8:57 am | Permalink
  48. Richard,

    The good news is that it’s only a warning. Did the crosspost work?

    The bad news is… I’m not *precisely* sure why it’s occurring. I have a few ideas, but nothing confirmed. It’s curious that it’s not happening for others.

    Let me know if the crosspost is being made nevertheless.

    -R

    Posted August 2, 2007 at Aug 02, 07 | 9:26 am | Permalink
  49. roderick – great job!

    but it won’t work!

    :-(

    i installed, updated options (did NOT activate plugin), changed variables, and also manually hit the script.

    nada.

    here’s my script:
    http://www.jakilevy.com/blog/wp-content/plugins/pingmyspace/pingmyspace_v1_4a.php

    here’s me myspace blog:
    http://blog.myspace.com/index.cfm?fuseaction=blog.ListAll&friendID=34227317

    there’s not even any messages coming up when i hit the php script manually.

    did myspace shut this operation down ?

    Posted August 2, 2007 at Aug 02, 07 | 9:37 am | Permalink
  50. nope, no crosspost.

    another bit: the first time it happend it was accompanied by an error message. I did not think to copy it, as it was my intent to resolve the problem. the error was somthing to the effect of “problem might be with myspace, double check password, if this continues contact developers” along witht the actual warning.

    thanks!

    Posted August 2, 2007 at Aug 02, 07 | 9:46 am | Permalink
  51. Jaki (and others),

    Just confirmed, as of this moment, the script still works fine with MySpace, so fear not that it has been shut down by the big bad beast.

    As to your specific problem, Jaki… If you don’t turn verbose output on, there will not be any output, so what you’re experience is normal.

    All I can suggest – not knowing your situation in detail – is to double check that all variables are properly set, usernames and passwords are correct and that CURL and PHP are updated.

    -R

    Posted August 2, 2007 at Aug 02, 07 | 9:53 am | Permalink
  52. Richard,

    The place in the code that threw your first error (the one you didn’t record) *definitely* indicates that MySpace was having trouble at that moment. This happens often. It has *nothing* to do with the script. I’m sure that all of us can relate to times that we’ve tried to log into MySpace or to send a message, bulletin, etc… and have been met with error after error. They constantly play with the system and there’s no telling when it’s going to crap out on us. Unfortunately, *any* script that logs into MySpace will be prone to that, just as we ourselves are. Looks like at that moment, you and the script experienced one of those errors on the MySpace side.

    However, that’s entirely unrelated to the Offset warning that you are getting. That’s a concern on the WordPress side. Your story is not being properly fetched from the database. At least, it appears that way. Turn the verbose output on and let us know what you see.

    -Roderick

    Posted August 2, 2007 at Aug 02, 07 | 10:00 am | Permalink
  53. No dice. I checked the MySpace username and password yet again and then did a test post. It still won’t go over to the MySpace blog. And I, of course, always, always use NotePad for editing these kinds of files, so I’m confident there’s nothing extraneous finding its way into the code. I can’t for the life of me determine what might be blocking the script from crossposting entries onto MySpace.

    Posted August 2, 2007 at Aug 02, 07 | 10:03 am | Permalink
  54. * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data

    Warning: mysql_data_seek(): Offset -1 is invalid for MySQL result index 3 (or the query data is unbuffered) in /home/rwprice/public_html/lifeinunioncounty/mswpcp/pingmyspace_v1_4a.php on line 152
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    so…tried a new post, same error.

    Posted August 2, 2007 at Aug 02, 07 | 10:06 am | Permalink
  55. thanks so much for your help. unfortunatly, that didn’t change. same error messsage:

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data

    Warning: mysql_data_seek(): Offset -1 is invalid for MySQL result index 3 (or the query data is unbuffered) in /home/rwprice/public_html/lifeinunioncounty/mswpcp/pingmyspace_v1_4a.php on line 153
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    Posted August 2, 2007 at Aug 02, 07 | 10:44 am | Permalink
  56. Richard,

    No problem at all. It was just a debugging effort anyhow, to see if *any* change took place – I didn’t expect it to “fix” the problem, only lead us toward a solution.

    Honestly, there are a million things that could be going wrong here, but I’d start with the database. It looks like you *may* have some issue with one of your db entries – perhaps having an empty row, missing data, etc… Could arise from any of a number of back-end server issues, or if you’ve handled the data (added, deleted and so on…) directly in the db.

    Try logging in to the database directly and examine the data for anything that might be amiss. I’d aim the attention towards indexes 0 through 4.

    I should stress, for all the readers here, that this doesn’t seem to be a script issue, but I’m hoping that we can work through it here anyhow such that if any other users experience it, it can be resolved.

    -R

    Posted August 2, 2007 at Aug 02, 07 | 10:59 am | Permalink
  57. Thanks for the help, Roderick. Can you tell me what version of the CURL library is required in order for this to work? I’d like to check to see what my host is running.

    Posted August 2, 2007 at Aug 02, 07 | 1:06 pm | Permalink
  58. i tried the plugin on 2 of my blogs

    blog 1 (www.misnomer.org/blog) is running:
    curl 7.10.4
    php 4.4.1
    so i know the plugin won’t work here

    blog 2 (www.jakilevy.com/blog) is on another server running the latest version of php (5.2.2), not 4.4.1 and curl.

    right now, i am working with http://www.jakilevy.com/blog (which is WP v 2.2.1)

    i went through and have changed variables in the php file, and even checked it against my config.php file on my wordpress directory to make sure all the database variables were correct…

    i was not sure how to turn verbose output on to see what kind of errors i am getting. i am hitting the PHP script from my browser:

    http://www.jakilevy.com/blog/wp-content/plugins/pingmyspace/pingmyspace_v1_4a.php

    i checked mySQL for any different Database name stuff, but everything looks good.

    any help here would be great !

    thanks!

    Posted August 2, 2007 at Aug 02, 07 | 3:23 pm | Permalink
  59. Jaki,

    As of August 2, 2007, this script is running fine on a WordPress 2.2 install with PHP 4.3.11, CURL 7.10.6 and MySQL 5.0.18.

    Looks like even I’m behind a bit on the PHP, but I can’t imagine (as none of the functions are deprecated) why a newer install wouldn’t work fine. Most anything with the exception of significantly older installs should work fine.

    You say that CURL in installed. Is it enabled?

    Turn verbose on in directly in the pingmyspace_v1_4a.php file. You’ll see the variable just below the primary variables.

    -R

    Posted August 2, 2007 at Aug 02, 07 | 4:08 pm | Permalink
  60. First of all thank you for this nice script! Have been looking quite a while for something like this. Unfortunately i get the same or similar error as Richard:

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data

    Warning: mysql_data_seek() [function.mysql-data-seek]: Offset -1 is invalid for MySQL result index 4 (or the query data is unbuffered) in /srv/www/starkilla.kicks-ass.net/htdocs/wp-content/plugins/pingmyspace_v1_4a.php on line 152
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    Posted August 2, 2007 at Aug 02, 07 | 7:20 pm | Permalink
  61. Should I be getting a verbose output in the normal admin area after I post? Should it auto send when i post normally? I am doing everything like you have said above but i still have to manually go to the URL everytime I want my site to update myspace.

    Posted August 2, 2007 at Aug 02, 07 | 8:25 pm | Permalink
  62. Been using the plugin for nearly two weeks. Works very well and has really been a timesaver along with the Wordbook plugin (crossposting to Facebook). Thanks so much for your efforts; look forward to the new bulletin feature when it’s ready.

    Posted August 4, 2007 at Aug 04, 07 | 2:00 pm | Permalink
  63. Joe P.

    I’m really excited about getting this working. I think I have everything installed correctly, but it’s not working properly. My question is a probably a novice one, but when I set up my wordpress blog on my host, I was told the the dbhost was “localhost” as suggested by wordpress, and told by my host to leave it that way. In the myspaceping php file (I have the latest one), should it be that, or my host “hostbaby.com” or my own website name (mywebsitename.com)?

    Posted August 6, 2007 at Aug 06, 07 | 9:48 pm | Permalink
  64. There seems to be a problem with the plugin detecting my latest blog post to post on Myspace.

    I think it started a couple of days ago when I posted from my WP blog. After five minutes, I didn’t see the entry appear in Myspace so I ran the script manually from my browser. Shortly afterwards, the blog entry appeared in my Myspace blog.

    Today, I’ve posted a new WP entry and again it failed to show up in my Myspace blog. I’ve then ran the script via my browser a few times, but still no Myspace posting.

    I’m not receiving any visible errors from running the script manually; just a blank page in th end.

    Thoughts on how to resolve this would be appreciated; thanks!

    Posted August 7, 2007 at Aug 07, 07 | 1:29 pm | Permalink
  65. Hey there, great idea for a plugin, but can’t get it to work. I go to the file directly and it does nothing. Any ideas?

    Posted August 7, 2007 at Aug 07, 07 | 2:51 pm | Permalink
  66. I also got this error when I first tried the script:

    Warning: mysql_data_seek(): Offset -1 is invalid for MySQL result index 3 (or the query data is unbuffered) in [my site url]/pingmyspace_v1_4a.php on line 152

    I turned on debugging and looked at the query that was running against the wp_posts table:

    (“SELECT * FROM wp_posts WHERE post_status=’publish’ AND post_type=’post’”);

    It was returning an empty set (i.e. no records), which caused the error when the script tried to move through the result set. The root of the problem was the ‘WHERE’ clause. There were no posts in my blog with the post_type set to ‘post’. It was blank for every post.

    I ran a simple query to set the value for my posts:

    update `wp_posts` set post_type = ‘post’ WHERE length(post_type) = 0

    That set the value for all my posts.

    I then went in to the table definition and created a default on the post_type column to default the type of all new entries to ‘post’.

    The result is that it worked like a charm. Many thanks for the excellent script.

    Posted August 7, 2007 at Aug 07, 07 | 9:04 pm | Permalink
  67. Hola… Love the concept and want to use for 3 of our blogs on http://www.LivingPLush.com. But we keep getting the same message:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/mheatley/public_html/livingplush/BlogSpot/myspacecrossposter plugin/pingmyspace-exec_v1_4a.php on line 81

    Cannot take the server our of safe mode? Can you please assist us with getting this plugin to work.

    Smooches :-D

    Posted August 8, 2007 at Aug 08, 07 | 12:14 am | Permalink
  68. @Kip Rainey: Thanx that solved my problem! I wonder why post_type is empty at first…

    Posted August 8, 2007 at Aug 08, 07 | 7:02 am | Permalink
  69. To follow up on my issue, I’ve found two errors in the error log…
    The first, I don’t think, was the one that stopped my posting…

    [30-Jul-2007 18:20:24] PHP Warning: include() [function.include]: Failed opening ‘pingmyspace-exec_v1_4a.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/urbanlan/public_html/pingmyspace/pingmyspace.php on line 74

    The one below, however, may be a different story…

    [07-Aug-2007 11:31:34] PHP Notice: Undefined offset: 1 in /home/urbanlan/public_html/pingmyspace/pingmyspace-exec_v1_4a.php on line 191

    I’m not a coder, but I’m not afraid to edit the code if given some guidance on what needs to get fixed. I appreciate the assistance.

    Posted August 8, 2007 at Aug 08, 07 | 11:21 pm | Permalink
  70. I have been trying to get your plugin to work, since it would save me the trouble of posting on my myspace and maybe bring me some more people from there as well. I have followed the instructions to the dot and set up the file with all the needed information. When I go to the file online to test it nothing gets posted on my myspace. There are no errors displayed either.

    Your help would be much appreciated. Thanks for reading this ahead of time.

    -Chris Wasney, a newb (kinda) to wordpress

    Posted August 9, 2007 at Aug 09, 07 | 6:44 pm | Permalink
  71. Well, I triple checked all my data and such, then turned on the display and still no go. I post a new blog and noting come up on myspace, and if I ping it myself I get this:

    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    The info for my myspace is correct, I even went as far to coly it from the file to myspace,, and it logged in no problem….

    Hope for help… :(

    Posted August 9, 2007 at Aug 09, 07 | 8:33 pm | Permalink
  72. This is great! Works like a charm!

    Posted August 11, 2007 at Aug 11, 07 | 10:22 pm | Permalink
  73. Kai Davis

    Hi there, I’m having the exact same issue as chris wasney. I turned debug on and it says that the post was crossposted, but nothing appears on my myspace page. Unsure where to go from here.

    Posted August 14, 2007 at Aug 14, 07 | 3:44 am | Permalink
  74. Kai Davis

    I fooled around with the settings and notice that whatever i set my myspace username and pass to it still says that I have allready posted it to my myspace.

    Posted August 14, 2007 at Aug 14, 07 | 3:49 am | Permalink
  75. Hey Roderick ,
    first of all ” this Thing Rocks” . Finaly may quest for an possibility to crosspost has come to an End . Thanks a lot for that cool Script.
    Running it succesfully at a WP 2.2.2 and a privat mayspace Profile.
    Works great.
    As i am playing in a Band i treid to use it on our Band profile but it seems like the posting code in Band profiles seems to be different than in privat Profiles.
    (As mentioned earlier here by someone).

    It would be a Killer if someone could get it to work with Band Profiles.
    So if there a solution out there….please let me know.
    Sascha

    Posted August 14, 2007 at Aug 14, 07 | 9:36 am | Permalink
  76. Neil

    Hi – same problem as above. Debig looks like this –
    * Successfully Connected to Database
    * Successfully Selected Database to Use
    * Successfully Grabbed WP DB Data
    * Successfully Grabbed Xpost Status
    * Story Has Already Been Xposted to MySpace. Ending Script…

    But nothing on MySpace…Boo Hoo…..This would be a killer if I could get it to work!!

    Posted August 30, 2007 at Aug 30, 07 | 6:30 am | Permalink
  77. Neil

    I should add that I had to change wp_posts to wwp_posts but this shouldnt make a difference I hope….also, my wordpress blog is in Russian with a .ru address.

    Posted August 30, 2007 at Aug 30, 07 | 6:32 am | Permalink
  78. I tried this and it appeared to double post on Myspace. I will try again.

    –Thanks

    Posted August 31, 2007 at Aug 31, 07 | 11:42 pm | Permalink
  79. The newest update to the MySpace Crossposter project is on the THE NEW 2.0 PROJECT PAGE

    The is the latest release, and the new version’s project page.

    Posted September 12, 2007 at Sep 12, 07 | 12:02 am | Permalink
  80. Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit.

    Schicken Sie bitte Ihre Bewerbung an info@acglogistics.biz

    Posted September 28, 2007 at Sep 28, 07 | 1:15 am | Permalink
  81. Hi there I came across this posting after googling for myspace music. Thanks for the interesting read. I have often thought about too. Thanks for sharing. On Monday I will have time to look into it more.

    Posted October 8, 2007 at Oct 08, 07 | 4:40 am | Permalink
  82. Dan

    Notice: Undefined offset: 1 in /pingmyspace-exec_v1_4a.php on line 191

    Line 191 has the hash() function, where it grabs a hash value from the myspace blog preview page to verify it’s been previewed before it submits it for good.

    Posted October 16, 2007 at Oct 16, 07 | 7:02 pm | Permalink
  83. Noucthotthari

    Hi everybody,
    So, let’s chat! How are you?

    ——————
    Restaurante en Colombia

    Posted December 22, 2007 at Dec 22, 07 | 3:27 pm | Permalink
  84. http://www.Drewryonline.net

    Trying to get that plug in to work and followed all instructions. I thought when I have a new blog post on http://www.Drewryonline.net , that it automatically runs that post on over right away to my MySpace blog. I also used localhost with no quotes as instructed, but no haps. The only thing I am guessing is that when i created the MySQL database, I did make up another name for the “Table name” section. Maybe I should take out wp_posts in the wp-admin/options area and input that table name I made when I created the MySQL database for my domain?

    Posted January 25, 2008 at Jan 25, 08 | 3:57 pm | Permalink
  85. When you have the plugin configured properly, yes, you are correct, it will be posted immediately to MySpace.

    Yes, you should have the proper table name listed in the configuration. If you’ve changed the name of your table, then you’ll need to let the plugin know.

    FYI – Make sure that you’re using the current version of the software, which can be found via the link at the top of this page.

    Posted January 25, 2008 at Jan 25, 08 | 4:12 pm | Permalink
  86. Hi there… thanks for the cool plugin, but unfortunately it won’t work for me. As mentioned in other comments above, the cross poster doesn’t work with myspace’s band profiles :(

    I’d love to know if it’s even possible to modify this plugin to make it work with band profiles, and if so, if that’s something you are thinking about doing in the future.

    I also think it would be great if users could set up the plugin in to only publish posts within specific categories to their myspace profile, or perhaps be given the choice whether or not to post to myspace on a per post basis…

    Anyhoo.. thanks again for sharing. I’ll try to keep an eye on the development.

    Posted January 28, 2008 at Jan 28, 08 | 1:06 am | Permalink
  87. I can’t get this to work. Don’t quite understand what the DATABASE HOSTNAME is? should it look something like mydbhostname.website.com or mydbhostname_com?

    Posted April 9, 2008 at Apr 09, 08 | 12:57 pm | Permalink
  88. Kaitlyn

    To: Roderick Russell

    If I change line 81 and 82 of “pingmyspace-exec.php” to “0″ [Example:
    curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, 0);
    curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, 0);]

    Would it work on web hosts with safe-mode on? (The error that I got when both above were set to “1″ was:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/domain/public_html/pingmyspace/pingmyspace-exec.php on line 81

    To: cromermusic

    The database should be “localhost” or similar – ask your web host if its’ something else.

    Posted April 13, 2008 at Apr 13, 08 | 9:13 pm | Permalink
  89. Kaitlyn

    P.S. … I tried the above and was redirected to myspace to log on.

    P.S.S. when I just changed first line to “0″, I got a blank page afterwards and no crosspost to myspace.

    Any help sincerely appreciated! :-)

    Posted April 13, 2008 at Apr 13, 08 | 9:57 pm | Permalink
  90. I get an error every time I post:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /path/wp-content/plugins/myspacecrossposter_v2_0a.php on line 148
    Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111 in /path/wp-content/plugins/myspacecrossposter_v2_0a.php on line 414
    Could not connect:

    Posted May 22, 2008 at May 22, 08 | 5:38 pm | Permalink
  91. IDLDLVIDLKLD

    Hi everyone. My name is Ray, from Utica, NY. I will be visiting Poland soon, and I am hoping to meet my Polish relatives. I also hope some people from here may help me in contacting my relatives before my visit. Thanks and looking forward to meeting some great people on here!

    Posted June 2, 2008 at Jun 02, 08 | 4:11 pm | Permalink
  92. This plug in has worked pefectly for me for months. However, in the last week it’s stopped working all together. Nothing is getting cross-posted and WordPress displays error messages about the Plug-in.

    Any recommendations? Did MySpace change something?

    Posted June 24, 2008 at Jun 24, 08 | 12:57 pm | Permalink
  93. The Crossposter causes Wordpress to error out when publishing using the web interface. It also causes Ma.gnolia’s bookmark autopost to error out with the same error message, and Flock to not publish Wordpress blog entries through the publishing interface built into the browser.

    Posted July 6, 2008 at Jul 06, 08 | 2:21 pm | Permalink
  94. Don

    To fix a glitch of posts not submitting properly to MySpace, I added the following around line 520.

    $content = str_replace(“\r”, “”, $content);
    $content = str_replace(“\n\n”, “”, $content);
    $content = str_replace(“\n”, “”, $content);

    Hope this helps!

    Posted July 7, 2008 at Jul 07, 08 | 9:54 am | Permalink
  95. Don

    The html tags were stripped. It should have the following html tags in the empty quotes:

    \r – “”
    \n\n – “p tag”
    \n – “br tag”

    Posted July 7, 2008 at Jul 07, 08 | 9:57 am | Permalink
  96. installed.
    trying to use.
    here is the error i get, “Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at ‘reading initial communication packet’, system error: 113 in /home/evancour/public_html/wp-content/plugins/myspacecrossposter_v2_0a.php on line 414
    Could not connect:”

    any clue?
    I’m using bluehost.

    Posted August 27, 2008 at Aug 27, 08 | 6:05 pm | Permalink
  97. Posted August 29, 2008 at Aug 29, 08 | 10:58 pm | Permalink
  98. admin_papa

    Hello Everybody

    Just wanted to share my new experience.

    If your Windows XP fails to run due to an error corresponding to missing HAL.DLL, invalid Boot.ini or any other important system boot files you can repair this by using the XP installation CD. Just boot from your XP Setup CD and enter the Recovery Console. Then launch “attrib -H -R -S” on the C:\Boot.ini file and delete it. Launch “Bootcfg /Rebuild” and then Fixboot

    Cheers,
    Carl

    Posted August 31, 2008 at Aug 31, 08 | 12:19 am | Permalink
  99. You write very well.

    Posted October 27, 2008 at Oct 27, 08 | 1:17 pm | Permalink
  100. When I post an article this is what error I get
    Warning: Cannot modify header information – headers already sent by (output started at /home/mfekbbfk/public_html/badjobgoodjob.com/wp-content/plugins/myspacecrossposter_v2_0a.php:236) in /home/mfekbbfk/public_html/badjobgoodjob.com/wp-includes/pluggable.php on line 770

    But them I refresh the page and it is ok. What can be the problem

    Posted November 24, 2008 at Nov 24, 08 | 4:07 am | Permalink
  101. lellMitafen

    deal out viagra up-seize off

    Posted December 27, 2008 at Dec 27, 08 | 8:56 pm | Permalink
  102. Haizintazom

    Hi, I’ve just registered on this forum)) Want to share a cool vodafone commercial, here it is http://www.youtube.com/watch?v=L6Cuq-BueEs Esta these guys know how to make a great ad))

    Posted February 4, 2009 at Feb 04, 09 | 5:12 pm | Permalink
  103. jobbercypr

    Hi, it’s a job offer. (Sorry if I post it in wrong place)

    Cyprus company is seeking a Campaign Executive to assist with fundraising, presentations, various administrative and sales management duties. If you have fundraising and sales experience, plus intermediate computer knowledge, this job is for you! Apply with us today!

    All applicants applying for U.S. job openings must be authorized to work in the United States. All applicants applying for European job openings must be authorized to work in European Union.

    We are growing advertising and consulting company offering job opportunities ranging from executive and administrative assistants to customer service representatives, receptionists and general support.

    NOTICE: we do not provide relocation, this position is online based, we are using progressive online administrative system. You will have to use a special online training program for free.

    Requirements and skills:
    1. Higher Education/College
    2. 1 + Sales/Management (desired but optional)
    3. Strong communicative skills
    4. Must have MS Office installed (MS Word)
    5. Must have citizenship or Work Permit
    6. Adult age

    Education and Experience:
    1. Internet/MS Office/Outlook
    2. Sales/Management/Marketing courses (desired)

    Hours:
    Mon-Fri; 9:30am – 12:30pm

    Apply for this job now or contact our online branch support for additional information:

    CV to e-mail manager@mygogreens.com

    Posted February 6, 2009 at Feb 06, 09 | 9:06 pm | Permalink
  104. This comment is automaticlly submitted by WpSender2.1 Soft.
    $20 per copy. My email is 12515842@qq.com?

    Posted February 7, 2009 at Feb 07, 09 | 3:12 am | Permalink
  105. This is the exact reason why facebook is blowing out myspace. They allow openness.

    Posted February 13, 2009 at Feb 13, 09 | 2:19 am | Permalink
  106. x
    x
    madafakerimpresarionte

    Posted March 5, 2009 at Mar 05, 09 | 4:55 am | Permalink
  107. ??????? ??? ????????:) ???????? ????, ?????? ???? – ? ??? ??????? ??????????

    Posted March 19, 2009 at Mar 19, 09 | 5:13 am | Permalink
  108. Mega Millions, Powerball, Lotto 6/49, Super 7, Euro million, New York Lotto – Be the Next Jackpot Winner With The Only Online Service That Enables You To Purchase Official Lottery Tickets From Around The World.

    Posted April 4, 2009 at Apr 04, 09 | 6:08 am | Permalink
  109. Beat & Soul Music Group

    Hi,

    I’m triyng to embed this plugin in my wordpress mu based website. I want that to hide the database settings and auto insert default values, and get the blog_id in table, like:

    host= default value
    db user = default value

    table posts= wp_$blog_id_posts
    postmeta= wp_blog_id_postmeta

    the data above must be hidden

    How can i do that????

    Thanks!

    Posted April 14, 2009 at Apr 14, 09 | 12:04 pm | Permalink
  110. I’ve tried to get this plugin to work and I’m not getting any errors, nor are the posts showing up on Myspace. I do get the post on my site. Someone said to look in the wp_options table and see if the myspace login info was there. I didn’t see it there. Any ideas why this may be? I’d love for this thing to work.

    Posted April 22, 2009 at Apr 22, 09 | 6:13 pm | Permalink
  111. Hipmedgillego

    I’m the only one in this world. Can please someone join me in this life? Or maybe death…

    Posted April 24, 2009 at Apr 24, 09 | 8:55 am | Permalink
  112. I’m getting the “posts to Wordpress but not to MySpace” with no error messages. Using Wordpress 2.7.1 and crossposter v2.0a. Anyone find a solution yet?

    Posted May 1, 2009 at May 01, 09 | 7:50 pm | Permalink
  113. advefe

    Tired of a competitor’s site? Hinder the enemy? Fed pioneers or copywriters?

    Kill their sites! How? We will help you in this!
    Obstructions of any site, portal, shop!

    Different types of attacks: Date-attack, Trash, Attack, Attack, etc. Intellectual
    You can work on schedule, as well as the simultaneous attack of several sites.

    On average the data, ordered the site falls within 5 minutes after the start. As a demonstration of our capabilities, allows screening.

    Our prices

    24 hours of attack – $ 70
    12 hours of the attack – $ 50
    1 hour attack – $ 25

    Contact via ICQ: 588 666 582

    Posted June 13, 2009 at Jun 13, 09 | 4:34 pm | Permalink
  114. CaseyFronczek

    I saw that Casey Fronczek is offering fishing trips now down in south Florida. Does anybody have any input on these trips or has anyone been on one of these trips before?

    Posted June 21, 2009 at Jun 21, 09 | 3:20 pm | Permalink
  115. swamlic

    sun cruz casino cruise monti casino south africa crown casino buffet melbourne .rehab at the hard rock casino hollywood seminole casino ann summers casino cour de alene idaho casino .poker palace casino kulosaaren casino .mesquite casino deals garden city casino san jose le casino cinema antibes tulalip casino weddings .but seneca buffalo casino .this .about .that was i’m with sega saturn haunted casino spielbank casino berlin as a result of This website about site http://www.mohicannorthstar.com mohican northstar casino In minneapolis mn casino san manuel casino jobs Best atlantic city casino trips As so Well Links las vegas the m casino rent download casino royale and this is the best resource on Purchase giant vegas casino or recreational owning a online casino halifax casino new years everest casino nepal Ok, here casino magazine vegas palms casino review palms casino laughlin majestic pines casino If schloss berg casino Ok, here
    pinnacle casino ac florida casino .So can commerce casino ca stuff star city casino jobs and this is the best resource on new leeds casino .and again .may be .In now para bailar casino showboat casino too In the what are casino poker chips made of should not comanche casino oklahoma new castle casino ok fort mcdowell indian casino trailer park boys casino regina This website has information on prime casino Is the so .

    Posted June 23, 2009 at Jun 23, 09 | 12:01 am | Permalink
  116. I can’t get this to work. Don’t quite understand what the DATABASE HOSTNAME is?

    Posted June 23, 2009 at Jun 23, 09 | 2:48 pm | Permalink
  117. quite spamming you dipshits. nobody cares what you are selling. nobody here wants viagra, webhosting, site design, etc etc.
    If we did, we would find you.
    Now eat shit please

    Posted June 23, 2009 at Jun 23, 09 | 10:58 pm | Permalink
  118. Rhizitratieva

    http://extjs.com/forum/member.php?u=79374 guitar lessons
    heircuictdeta

    Posted July 7, 2009 at Jul 07, 09 | 7:53 pm | Permalink
  119. ???????????? ? ?????????? ???????????? ? ???? ??????? ?? ??????????? ????????????

    Posted August 1, 2009 at Aug 01, 09 | 9:23 am | Permalink
  120. ????? ???????? RSS ? ???????? ???????, ??? ????? ???????????, ??? ??????? ?????

    Posted August 1, 2009 at Aug 01, 09 | 1:35 pm | Permalink
  121. ???? ??????????, ??? ???????????. ?????? ???.

    Posted August 3, 2009 at Aug 03, 09 | 5:33 am | Permalink
  122. ???????? ?? ????? ?????.

    Posted August 3, 2009 at Aug 03, 09 | 3:36 pm | Permalink
  123. ????????? ???????????, ???????? ???

    Posted August 4, 2009 at Aug 04, 09 | 12:01 pm | Permalink
  124. ??????? ? ?????????, ???????? ?? ?????

    Posted August 5, 2009 at Aug 05, 09 | 6:09 am | Permalink
  125. ?????????? ?????????? ??????????, ?????????? ?? rss

    Posted August 7, 2009 at Aug 07, 09 | 7:18 am | Permalink
  126. ???? ????? ????????, ?????? ?????????????. ???????!

    Posted August 7, 2009 at Aug 07, 09 | 11:04 am | Permalink
  127. ???????? ? ????? ????????????, ????? ??? ??? ????? ????????.

    Posted August 7, 2009 at Aug 07, 09 | 5:59 pm | Permalink
  128. ????????? ??? ??? ??? ????????, ? ???????? ?????????? ????? ??. ??? ????? ???? ??????? ????? ??

    Posted August 7, 2009 at Aug 07, 09 | 8:52 pm | Permalink
  129. Me and my friend were arguing apropos an question major comparable to this! Conditions I certain that I was right. lol! Thanks for the news you post.

    Posted May 10, 2010 at May 10, 10 | 1:20 pm | Permalink
  130. Prepare sledge in the summer, and a cart in the winter, it popular wisdom has reflected my attacks. messy ponytails hairstyles

    Posted August 21, 2010 at Aug 21, 10 | 1:40 am | Permalink
  131. Thx for you informations !!! 5 Stars!!

    Posted August 23, 2010 at Aug 23, 10 | 10:54 pm | Permalink

46 Trackbacks

  1. By hi my name is sid » WordPress to MySpace Auto Crossposting on June 3, 2007 at Jun 03, 07 | 6:58 pm

    [...] it out : http://noumenon.roderickrussell.com/wordpress-to-myspace-auto-crossposting Access Class» automation functions» Crossposting» myspace» myspace [...]

  2. By technology. life. passion. » Facebook vs Myspace on June 8, 2007 at Jun 08, 07 | 2:06 pm

    [...] quite interested in integrating Myspace with Wordpress using Wordpress Myspace Auto-Crossing via [http://noumenon.roderickrussell.com/wordpress-to-myspace-auto-crossposting] because it’s easy to read blogs with Myspace. I think a lot of my friends just write things off [...]

  3. By FXetc.com » FXetc MySpace on June 9, 2007 at Jun 09, 07 | 3:32 am

    [...] I haven’t done much with MySpace for a while. I’m thinking of making it a pure music space, I donno’ yet, I’ll get around to it. Anyway this blog post was actually posted on FXetc.com which automatically cross-posted to MySpace. [...]

  4. By Wordpress to MySpace Crossposter Update on June 9, 2007 at Jun 09, 07 | 5:01 pm

    [...] Since this seems to be a pretty hot item, I’ve just recently rewritten part of the code to be more organized and modular ( though it’s still not where I’d like it to be – see the code comments for notes ). Today I made available MySpace Crossposter v1.1a. [...]

  5. By technology. life. passion. » Site Redesign on June 10, 2007 at Jun 10, 07 | 7:52 pm

    [...] Tips to Improve Weblog Traffic and Visibility via BlogRodentWordPress to MySpace Auto CrosspostingNETGEAR SC101 Storage CentralOpenID Site DirectorySearchable, tagged computing tips – parsed.org – A [...]

  6. By links for 2007-06-11 at Just another geek on June 11, 2007 at Jun 11, 07 | 2:19 pm

    [...] WordPress to MySpace Auto Crossposting (tags: blogs myspace toread wordpress) Powered by Gregarious [...]

  7. [...] said, I am slowly, reluctantly embracing it (most likely just as the fad is fading.) Thanks to Roderick Russel I now have the ability to cross post my blog listings here, with my blog listings just by pinging [...]

  8. By Wiggy’s Weblog - Markus Wigbels. » Blog Archive » Pingmyspace on June 13, 2007 at Jun 13, 07 | 5:00 am

    [...] hoffe meine Problematik wurde nun durch die Installation von PingMySpace (vgl hier: http://noumenon.roderickrussell.com/wordpress-to-myspace-auto-crossposting) behoben. Mal schauen [...]

  9. By WordPress Plug-In Featured in Blog Herald on June 14, 2007 at Jun 14, 07 | 11:47 am

    [...] WordPress to MySpace Auto Crossposter plug-in that I just recently authored got a nice little mention in this week’s WordPress [...]

  10. [...] for complete transfer of the posted entry rather than a simple notification. Pretty neat work. (website) (local copy of plugin : [...]

  11. By test 2 MySpace » Von soleil » Beitrag » bLog » x-fade.org on June 25, 2007 at Jun 25, 07 | 1:03 pm

    [...] gerade eben mal ein nettes Plugin gefunden. Crossover Posting in den MySpace Blog. Das bedeutet also wenn ich hier was schreibe, steht es auch auf meiner [...]

  12. By Wordpress Blog Crossposting to Myspace | Matt Vapor's Blog on July 2, 2007 at Jul 02, 07 | 9:30 am

    [...] 2007 by Matt. Categories: Wordpress, Blogging.Thanks to a a nifty little script called the “Wordpress to Myspace Auto Crossposting” my blog is now updated with my MySpace [...]

  13. By The Don Fiore | Integrating Digitally on July 5, 2007 at Jul 05, 07 | 4:35 pm

    [...] my database and pulls the latest entry and posts a link to it on my MySpace blog. It is available here. Finally I use this Wordpress Plugin to link my MySpace to my Facebook. It posts my entries as [...]

  14. [...] how does one keep up with all of these? Well, for one, I found a nifty thing to update my MySpace blog when I update this blog. Now if I can get the Feed Invasion app to work on Facebook it will show up there as well. [...]

  15. By WP Plugins DB » Plugin Details » MySpace Crossposter on July 10, 2007 at Jul 10, 07 | 7:11 am

    [...] Visit [...]

  16. By MySpace Crossposter | ???????? on July 13, 2007 at Jul 13, 07 | 6:22 am

    [...] WordPress to MySpace Auto Crossposting [...]

  17. By Thirteen Completely Underrated Wordpress Plugins on July 19, 2007 at Jul 19, 07 | 8:30 am

    [...] Wordpress to Myspace Cross Posting Pretty self explanatory! [...]

  18. By Anticipation Of A New Lover’s Arrival, The » Blogspace on July 20, 2007 at Jul 20, 07 | 3:02 pm

    [...] well I’m thinking since my database host seems to be offline . . . ). The plugin is available here and has some quite specific instructions on how to implement [...]

  19. By Celtic Rock bei Myspace at Celtic Rock Music on July 24, 2007 at Jul 24, 07 | 1:11 pm

    [...] das alles Dank  eines kleinen Skriptes namens: Wordpress to Myspace Auto Crossposting Artikel [...]

  20. By Shamus Writes » Blog Archive » Bit by the Coding Bug on July 31, 2007 at Jul 31, 07 | 9:27 pm

    [...] of my day today trying to figure out how to crosspost from WordPress to MySpace. I’d found a hack that looked like it had potential that I messed with for quite a while, but so far I’ve had no success in getting it to run, [...]

  21. By metablog » Wordpress to Myspace Cross Posting on August 2, 2007 at Aug 02, 07 | 2:39 am

    [...] Awesome wordpress plugin just found ::: http://noumenon.roderickrussell.com/wordpress-to-myspace-auto-crossposting [...]

  22. By Mama’s Bloggin » Blog Archive » Test post on August 7, 2007 at Aug 07, 07 | 10:17 am

    [...] you can read this on myspace, the Ping Myspace “plugin” is [...]

  23. By Starkilla » Blog Archive » Neues kleine Gadget für den Blog on August 8, 2007 at Aug 08, 07 | 7:18 am

    [...] auch bei Myspace veröffentlicht. Möglich ist das ganze durch ein kleines Plugin Namens WordPress to MySpace Auto Crossposting . Das Plugin (welches eigentlich kein wirkliches Plugin ist) befindet sich noch in Entwicklung und [...]

  24. [...] been WordPress Plugin shopping again. The latest experiments were the Ping Myspace and the Wordbook (WordPress to Facebook) [...]

  25. By THE MIMETIKS » we hate myspace. on August 8, 2007 at Aug 08, 07 | 3:23 pm

    [...] a lot. but, since we’ve opted to succumb…this should be linked to from our blog. thanks to some guy named rod [...]

  26. By Brian Leon Mays » My Blog and MySpace Are on Speaking Terms on August 11, 2007 at Aug 11, 07 | 10:13 pm

    [...] have found a script at this blog that allows me to post at my blog at brianleonmays.com and have it automatically update my MySpace [...]

  27. By Sadrhino » Managing it all from Word Press on August 13, 2007 at Aug 13, 07 | 12:37 pm

    [...] MySpace/WordPress Cross Post This handy little .php file allows you to cross-post blog entries between your WordPress and MySpace blogs. The current version will duplicate your entire post in MySpace. I’m actually running a slightly older version that just puts a “new post” announcement on your MySpace blog that then redirects traffic to your WordPress site. Which is fine for me. I’d rather have the traffic here than give it to Tom. One thing to keep in mind, every time you publish, (say you go in and edit something than re-post) it makes a duplicate announcement in MySpace. [...]

  28. [...] MySpace has traditionally been one of the hardest to crosspost to, but enter some funky php courtesy of Roderick Russell. [...]

  29. By WordPress to MySpace Crossposting on August 29, 2007 at Aug 29, 07 | 2:27 pm

    [...] MySpace has traditionally been one of the hardest to crosspost to, but enter some funky php courtesy of Roderick Russell. [...]

  30. By MySpace Crossposter v2 Released on September 11, 2007 at Sep 11, 07 | 11:43 pm

    [...] Click to DOWNLOAD NOW The old project page for all 1.x versions is located here. [...]

  31. By links for 2008-01-02 on January 2, 2008 at Jan 02, 08 | 8:23 am

    [...] WordPress to MySpace Auto Crossposting Force your real world into myspace (tags: wordpress myspace plugins plugin blogs crosspost blog) [...]

  32. [...] WordPress to MySpace Auto Crossposting (tags: wordpress myspace plugins plugin crosspost blog) [...]

  33. By cross-posting from wordpress to different blogs | Muzikistah.com on February 9, 2008 at Feb 09, 08 | 2:59 pm

    [...] Myspace [...]

  34. By WordPress 2.5 RC 1 Is Out | BlogsFaqs.com on March 18, 2008 at Mar 18, 08 | 5:29 pm

    [...] MySpace Crossposter [...]

  35. [...] to stay up to date on the goings on there without actually visiting the site. However, I found a cool word press plugin that AT LEAST lets me easily post my blog entries from my site to myspace too. [...]

  36. By Dan Melton's Blog on March 29, 2008 at Mar 29, 08 | 5:13 pm

    [...] blog ping on my wordpress website (danmelton.net)…let’s see if it works.  Thank you to Adam for writing the [...]

  37. By the laughing linden branch » Facebook and Myspace part two on May 9, 2008 at May 09, 08 | 6:00 am

    [...] Myspace [...]

  38. [...] Another way to promote this site and hopefully bring in the myspace traffic..  So, I run into this myspace crossposting plugin..  It is pretty neat..  Every time I update this blog with new post it creates a post blog post [...]

  39. By What Wordpress Plugin’s Do I Use? | Creeva's World 2.0 on May 20, 2008 at May 20, 08 | 3:48 pm

    [...] MySpace Crossposter [...]

  40. By A Passion For ‘Puters » Blog Archive » 8. Blogs on June 28, 2008 at Jun 28, 08 | 1:14 pm

    [...] so that everyone who comes by our home page will see what the last 5 blog posts are. We also have a Wordpress plugin that takes the blog posts and reposts them to the library’s MySpace page blog. This means [...]

  41. By Lep's Lair on August 15, 2008 at Aug 15, 08 | 6:18 pm

    [...] August 15th, 2008 at 2:18 pm I installed the Myspace crossposting Wordpress plugin and I am trying to see how well it works. If everything goes well then this will be the first blog [...]

  42. By Integrating social media profile facebook twitter and MySpace | on August 27, 2008 at Aug 27, 08 | 9:59 pm

    [...] Import blog postings from a wordpress blog into Myspace using the Crossposting link [...]

  43. By Tadd Mencer | Powerful WordPress Plugs on September 20, 2008 at Sep 20, 08 | 12:01 pm

    [...] MySpace Crossposter – is similar to the Xanga one, except this one you post to … well, MySpace. The other option you have is to either post the entire article or just post something that says "Tadd posted a new article here (link), go check it out" which is .. ok. Could be better. But it does the job and keeps people on MySpace aware of the fact that I have something new. [...]

  44. By Wasney’s Blog » Blog Archive » Crossposting Test on September 22, 2008 at Sep 22, 08 | 8:53 pm

    [...] from one server to another, my crossposters got a little confused. I currently use Wordbook and Myspace Crossposter. Wordbook is doing fine, but I am having slight trouble getting the Myspace Crossposter to run [...]

  45. By 25 Most Beneficial Wordpress Blog Plugins | BloggerSavvy on November 19, 2008 at Nov 19, 08 | 2:41 pm
  46. [...] via WordPress to MySpace Auto Crossposting. [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*