View previous topic :: View next topic |
Author |
Message |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Dec 05, 2002 8:43 am Post subject: |
|
|
http://frcooper.com/xm/lj/
<lj-cut> is working now. it's beta but you can grab it if you want. |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Dec 05, 2002 9:30 pm Post subject: |
|
|
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 |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Tue Jan 07, 2003 2:14 am Post subject: |
|
|
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 . 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 |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Wed Jan 08, 2003 6:49 pm Post subject: |
|
|
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 |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Thu Jan 09, 2003 12:50 am Post subject: Well I did it !! |
|
|
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 |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Jan 09, 2003 12:59 am Post subject: |
|
|
that's the sourcefooter setting in b2config.php
1 to enable / 0 to disable. |
|
Back to top |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Thu Jan 09, 2003 1:41 am Post subject: |
|
|
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 |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Jan 09, 2003 2:18 am Post subject: |
|
|
thats correct.
What are your b2 and lj urls? (PM me if you dont want to post them) |
|
Back to top |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Thu Jan 09, 2003 2:26 am Post subject: |
|
|
Sent you the urls. |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Jan 09, 2003 2:40 am Post subject: |
|
|
Everything looks ok. Your Lj is showing the clone footer when I view it.
Am I misunderstanding the question/problem? |
|
Back to top |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Thu Jan 09, 2003 2:42 am Post subject: |
|
|
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 |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Jan 09, 2003 2:47 am Post subject: |
|
|
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 |
|
 |
Candle
Joined: 23 Dec 2002 Posts: 547
|
Posted: Thu Jan 09, 2003 3:18 am Post subject: ok |
|
|
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 |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Thu Jan 09, 2003 3:35 am Post subject: Re: LJUpdate 0.5 is released |
|
|
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 |
|
 |
Drinyth
Joined: 28 Oct 2002 Posts: 17
|
Posted: Fri Jan 10, 2003 3:03 pm Post subject: |
|
|
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 |
|
 |
|