LJXP needs updating to Drupal 6. I have done a very cludgey, clunky ugly hack which posts to LJ and edits to LJ (doesn't seem to delete though). It also spits out errors, but it "works". I've attached a patch file against CVS but it still needs a lot of work to bring it up to drupal coding standards and may introduce new bugs and security problems etc. May have time to work some more over next couple of days, but can't guarantee it.

CommentFileSizeAuthor
#2 ljxp-6.0.patch9.69 KBpenwing
ljxp-6.x.patch11.82 KBpenwing

Comments

charles_elwood’s picture

subscribe

penwing’s picture

Status: Needs work » Needs review
StatusFileSize
new9.69 KB

New patch against CVS. I hope it follows appropriate coding policies. I've tested that it works for creating posts, editing posts and deleting posts from LJ and I think I fixed some of the idiosyncracies my first attempt had.

Alex

Passionate_Lass’s picture

subscribing

SomeGirl’s picture

subscribing

Passionate_Lass’s picture

Just curious...

I'm a drupal n00b and how do patches work? Or specifically how does this one work because I'd be happy to test it on my local testing site. I don't have any programming skills but I'd be happy to be useful in -some- way.

charles_elwood’s picture

Passionate_Lass: Ask google, or read this: http://wiki.creativecommons.org/HOWTO_Patch

I've just upgraded my blog to Drupal 6, I'll try the patch as soon as I've finished turning modules back on...

brindy666’s picture

Hi all,

I tried this patch against both the versions available for download and against the files at the HEAD of CVS and the patch failed in all cases. The patch to ljxp.module was rejected at various positions but the other files were ok.

I had the patch file in the same directory as the extracted files and used the command:
$ patch ljxp.module ljxp-6.0.patch

Which seemed to patch the other files correctly, but rejected ljxp.module.

Is there any chance someone could just make a working copy of ljxp for v6.0 available, please?

Thanks in advance.

Cheers,
Brindy

SomeGirl’s picture

brindy, i had the same problem, only one of the files was getting rejected, ultimately any attempt (tried different versions) failed and was deemed incompatible by drupal. Would be great if this module worked with 6.0.

Hope it happens soon.
SomeGirl

valthebald’s picture

Passionate_Lass’s picture

Thank you Vald. I will be testing this on my test site and inform you of any issues that may arise.

I installed it without any trouble at all, but from the looks of it cross posting is per user. Is there a way to set it up so it cross posts all content to an lj community?

Passionate_Lass’s picture

Posted a blog as a test, which crossposted to LJ.

Below is what it posted exactly:
---------

Originally published at Queer Women Ottawa. Please leave any comments there.

testing lj crossposting qwo blog post.

-------------
The links end up going to http://community.livejournal.com/node/6 and http://community.livejournal.com/comment/reply/6 so one may have to look at how the links are being posted so they actually direct one to the posts. :) I also checked the error log and no errors are showing there.

valthebald’s picture

Fixed wrong link - problem was with different arguments of l() function in D5 and D6.
You can download updated version from http://www.valthebald.net/files/ljxp-6.x-1.1.zip
Cheers!

Passionate_Lass’s picture

Awesome. :)

Yay I was useful! :P

Passionate_Lass’s picture

Is there a way to set it up so it cross posts -all- content to an lj community?

valthebald’s picture

yes, go to user page/edit - there is community field in LJXP settings

Passionate_Lass’s picture

I set that, but it seems that it has to be setup per user. If its not then it doesn't cross-post their content. I need it to do all content posted on my site.

valthebald’s picture

do you mean that you'd like an option to specify community per post?

Passionate_Lass’s picture

I mean, I'd like it to post all content based on user 0's settings for the module... Does that make sense?

valthebald’s picture

I think it'd be much easier to communicate by emails. You can write me to drupal (@) valthebald dot net

valthebald’s picture

Status: Needs review » Closed (fixed)