boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Update a LiveJournal from b2
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Dec 05, 2002 8:43 am    Post subject: Reply with quote

http://frcooper.com/xm/lj/

<lj-cut> is working now. it's beta but you can grab it if you want.
Back to top
View user's profile Send private message Visit poster's website
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Dec 05, 2002 9:30 pm    Post subject: Reply with quote

So yeah, of course there was a bug in that you shouldn't (can't) globally register filter functions. They're only valid on the index and edit pages.

duh.

you'll want http://frcooper.com/xm/lj/beta/lj_update.php.gz to fix the problem.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Tue Jan 07, 2003 2:14 am    Post subject: Reply with quote

I really want to use this hack but scared to try it for messing up my B2 blog.
Let me ask a few questions and see if you can help or tell me how .
I have look all over the forum trying to find one way but not to much luck .
Now to update the B2 you would just take the B2config.php and index.php from my journal and copy my host data base etc to the LJ hack . but after that I'm not sure what to do ? Do you take all the files and just copy over your files on the server and then run the B2ljinstall.php ?
Will I lose my posts that I have now or do I have to make a backup of the sql and reload that?
I hope I'm not being a pain in the butt . Smile but really want to use this so I can post to Lj and my blog at one time.
Feel free to email me if you can help .
[email protected] and I check the board at least once a day .
Thank you for your time .
Candle
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Wed Jan 08, 2003 6:49 pm    Post subject: Reply with quote

How did you install your blog in the first place? You followed the instructions.
If you're scared to try it, don't do it.
If you're scared but want to do it anyway, good. Make a backup of your current install.

Your best bet from the sounds of it is grab the b2+lj distro from sourceforge or my site, and install it like you were upgrading your b2 install. Then run the b2ljinstall.php to create the database tables. Then go into your b2 account profile and set your Lj username and password.

You should be good to go.

Keep backups. Read carefully.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Thu Jan 09, 2003 12:50 am    Post subject: Well I did it !! Reply with quote

I did have a copy of the b2 with LJ on my server here at my home working so just took that one and did the upgrade and it all worked out fine , just want to know how you have on yours it says comment under the [cloned from] ??
Did I over look something?
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Jan 09, 2003 12:59 am    Post subject: Reply with quote

that's the sourcefooter setting in b2config.php

1 to enable / 0 to disable.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Thu Jan 09, 2003 1:41 am    Post subject: Reply with quote

This is what mine was set at .
// post default settings
// lju_post: 0/1 - post to LiveJournal
// lju_disablecomments: 0/1 - disable commentting on the post at LiveJournal
// lju_sourcefooter: 0/1 - include a link back to the b2 post
$lju_post = 1;
$lju_disablecomments = 1;
$lju_sourcefooter = 1;
Thats to leave comments right ?
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Jan 09, 2003 2:18 am    Post subject: Reply with quote

thats correct.

What are your b2 and lj urls? (PM me if you dont want to post them)
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Thu Jan 09, 2003 2:26 am    Post subject: Reply with quote

Sent you the urls.
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Jan 09, 2003 2:40 am    Post subject: Reply with quote

Everything looks ok. Your Lj is showing the clone footer when I view it.
Am I misunderstanding the question/problem?
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Thu Jan 09, 2003 2:42 am    Post subject: Reply with quote

Well yes it shows the clone link but takes the comment link off to live journal .
And have both set to 1 like you said.
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Jan 09, 2003 2:47 am    Post subject: Reply with quote

Ahh - my fault. I misunderstood one of your earlier posts and didn't read carefully enough after that. Definite screw-up on my part.

$lju_disablecomments = 1; turns Lj comments off
change that to 0 to enable them.

So sorry for the miscommunication.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Thu Jan 09, 2003 3:18 am    Post subject: ok Reply with quote

That did it .. it now leaves comments links so that is great ..
thanks alot this mod rocks ..
If you ever get the mood and music mod going that will be the next thing I do ..

Candle .
Going to add you to my lj ..
Back to top
View user's profile Send private message
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Thu Jan 09, 2003 3:35 am    Post subject: Re: LJUpdate 0.5 is released Reply with quote

Mister44 wrote:

Posted: Fri Nov 29, 2002 12:12 pm
http://frcooper.com/xm/lj/

Improved backdating and more efficient xmlrpc calls.
Relative link fixups.
Support for moods, music, ljuser and ljcomm tags.

See the changelog in the README for more info.



It's been done for a while.
Back to top
View user's profile Send private message Visit poster's website
Drinyth



Joined: 28 Oct 2002
Posts: 17

PostPosted: Fri Jan 10, 2003 3:03 pm    Post subject: Reply with quote

The patch took successfully. I updated my MySQL database for all the b2 additions. I'm getting the following however:

Code:
Fatal error: Call to undefined function: add_filter() in /path/to/my/b2-include/lj_update.php on line 5


Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 4 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group