oh okay thanks ... i couldn't get his to work so :(
oh okay thanks ... i couldn't get his to work so :(
Here's another approach to the same problem.
This isn't a WP hack---it's an external perl script that I'm running from cron---but it does auto-update my livejournal with entries from my WP site, and keeps them in synch when comments are added and edits are made:
Hey, I'm confused.
When I post a friends-only entry to LJ through WordPress, can I choose to make the version that goes into WordPress private or something? I wouldn't want that entry published on WordPress publicly, but I'd want it to be in the database (for me if the next question's answer is no)...
So the 2nd question is, can you make LJ posts show up on the WordPress blog?
Also, is there a way to choose *which* group of LJ friends sees the friends-only post from WordPress?
Hi, I just set up the Friends-only version of the hack (with savetheclocktower's fixes). I am getting the following error when I try to make a post:
Fatal error: Call to undefined function: convert_bbcode() in my-hacks.php on line 11
Where is this function defined? I don't really know why it's screwing up in the first place.
Oops... just noticed that there was a newer 1.2 version on LaughingLizard's site. Here is a link for those who find this old thread:
Just incase anyone else has a need for this, I tweaked the hack a little bit to support LJ user icons ...
WP-to-LJ w/ icons ... an extension of LaughingLizard's ljautoupdate hack.
Way to go, Alan. I knew you'd be quick to find a fix for that.
Look here to see what I am working on.
I've installed the check boxes for the posting pages, and now I'm getting the following error:
Fatal error: Cannot redeclare selected() (previously declared in /web/script/pinwiz/pinwiz.net/wp-admin/admin-functions.php:13) in /web/script/pinwiz/pinwiz.net/wp-admin/edit-form.php on line 7
I have both a LiveJournal and a DeadJournal (DJ is exactly the same as LJ, for those who don't know) and I was wondering if there was a way to use this hack code so I could post to both DJ and LJ at once.
Ok, this is about Livejournal, I was wondering if anyone can help me get someones password or tell me how to read private entries, cause i have done the data/rss thing, and got into that but I still cant seem to read private entries. I tried using it on mine and I know I have private entries but I did not see them so I know that it is not working. So is there anyone who can help me with this then I will be much appreciative. E-mail me at firstname.lastname@example.org if you have any info. Thanks
Okay, so I'm oldschool and still using B2, but maybe someone can answer me ...
My server went through a PHP upgrade from 4.3.7-.9, and now when I try to post, I get the following error:
Fatal error: Call to a member function on a non-object in /blog/b2-include/xmlrpc.inc on line 629
Any quick fixes? I SHOULD upgrade, I know, but my B2 is pretty heavily mod'ded and I don't want to fiddle with it just now. I'm assuming there's some new security protocol that I'm setting off...
I'm installing the LJ Autoupdate onto my WordPress blog at http://www.joeclarkl.net, as described at http://weblogtoolscollection.com/b2-img/ljautoupdate.txt
I'm not using the optional code bits for a "little check box" or "friends only". Just followed the instructions you gave for versions 1.0+. My admin screen tells me I have version 1.2.1 of WordPress.
When I make a post I get the following error:
Fatal error: Call to undefined function: convert_bbcode() in /...path.../my-hacks.php on line
Line 17 is this one:
$content = convert_bbcode($content);
I commented out line 17 and on the next try there was an error with line 18:
Fatal error: Call to undefined function: convert_gmcode() in /...path.../my-hacks.php on line 18
Line 18 is:
$content = convert_gmcode($content);
Then I commented out line 18, and here is where I am boggled. The error that now comes up is:
Fatal error: Cannot instantiate non-existent class: xmlrpc_client in /...path.../my-hacks.php on line 36
Line 36 is:
$client = new xmlrpc_client("/interface/xmlrpc", "www.livejournal.com", 80);
What do I do?
Ooh, I solved my own problem.
There's a new version of the hack at this address for WP versions 1.2 and up:
very cool and handy plugin, thanks for making it :)
p.s. editing lj posts would be handy ;)
I finally got the auto lj update hack working after realizing I was using the older version and not the newest one.
Something I noticed that it doesn't do and I thought I remembered seeing *somewhere* that it would include a link to view the entry on my wp journal. It's possible that may have been with Livepress as I also tried that and never could get it to work. Since it doesn't appear that LL's version has that ability already how can I add that to it?
I am getting the following error when running this with wordpress 1.5. It worked at first, but just the other day i statred getting this for an error: Fatal error: Call to a member function faultCode() on a non-object in /var/www/html/wordpress/my-hacks.php on line 35
Any ideas? Thanks
Does this hack work for WordPress 1.5? If so, which code do I use? I think I may need some "hand holding" so to speak, when programming this one LoL >.<
Yep, I just got it working on WP 184.108.40.206, no issues. Simple as pie. Use the 1.2+ version. If you need help, feel free to ask: tsukata at tsukata dot org
I don't have the exact line that you're supposed to put the second code under, so I put it here:
$result = $wpdb->query("
if ($content) ljautoupdate($content, $post_title);
UPDATE $wpdb->posts SET
post_content = '$content',
post_excerpt = '$excerpt',
post_title = '$post_title'"
post_status = '$post_status',
comment_status = '$comment_status',
ping_status = '$ping_status',
post_author = '$post_author',
post_password = '$post_password',
post_name = '$post_name',
to_ping = '$trackback',
post_modified = '$now',
post_modified_gmt = '$now_gmt',
menu_order = '$menu_order',
post_parent = '$post_parent'
WHERE ID = $post_ID ");
and it didn't work. :( what am I doing wrong? where is the correct line? I'm confused, but very eager to use this hack!
I wasn't able to get this working in 1.5.2... I kept getting header errors and had to remove it all. :(
You could try Live+Press which I wrote. It is based on the LJ AutoUpdate hack but has been integrated into the WordPress posting system and configuration system.
This topic has been closed to new replies.