ljupdate-0.5 / ljclient-0.0.6
files are 
http://www.silvercpu.com/ljupdate/ljupdatehelp.html
http://www.silvercpu.com/ljupdate/b2ljinstall.txt (rename to ljinstall.php)
http://www.silvercpu.com/ljupdate/ljupdate-0.5.diff
http://www.silvercpu.com/ljupdate/ljupdate-0.5.tar

better instructions by Lissy of silvercpu.com ;)

do backup your files before you try this

run b2ljinstall.php (had to make the file since it wasn't in the zip. The file given is the regular b2install.php with the LJ tables added. Just delete the code that creates the b2 tables)

1) add this to b2config.php
	// ** LiveJournal Integration settings **
	// enable livejournal integration
	$use_ljupdate = 1;

	// database tables' names (change them if you want to have multiple b2's with ljupdate in a single database)
	$tableljusers = 'ljusers';
	$tableljposts = 'ljposts';
	$tableljmoods = 'ljmoods';

	// 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_category: 0/1 - append the category to the post title. (stupid LJ)
	$lju_post = 1;
	$lju_disablecomments = 1;
	$lju_sourcefooter = 1;
	$lju_category = 1;

	// ** end LiveJournal Integration settings **

2) Either upload these files from the zip, or, if you don't want to lose any changes you made to the files previously, look at the diff file for changes to make
 b2-include/b2edit.form.php (add checkbox for ljupdate)
 b2edit.php (call lj_update on post, lj_edit on edit, lj_delete on delete)
 b2-include/b2functions.php
 b2bookmarklet.php (add checkbox for ljupdate)
 b2sidebar.php (add checkbox for ljupdate)
 b2profile.php (add user/pass for ljupdate)
 b2team.php (delete lj data on userdelete)
 b2-include/b2edit.showposts.php (to show mood and music)
3) upload the image folder (or add the image folder, call it lj-img and upload to it
	http://www.silvercpu.com/ljupdate/lj-img/community.gif
	http://www.silvercpu.com/ljupdate/lj-img/userinfo.gif
   I have no idea where these are used
 
4) upload b2-include/lj_update.php (I also had to delete the lines that called add_filter since I got errors that it didn't exist, so delete those lines if you get errors, works fine without them.)
5) upload b2-include/ljclient.inc and b2-include/fixate_url.inc
6) go to ur b2edit.php and click my profile and put in your username and password. close and refresh. you should see the little checkbox to update ur LJ
7) try it out and hope it works


to show muzik for post <?php lj_the_music( 'Now Playing: %s', '-sweet silence-' ) ?>
 %s will be replaced by song data, 2nd param for nothing
to show mood for post <?php lj_the_mood( 'I feel %s', 'No Mood' ) ?>
 %s will be replaced by moodstring, 2nd param for nothing
 must be inside b2 loop - dependent on $GLOBALS['row']


CHANGELOG:
11/28/2002 Happy Thanksgiving (or, Thursday, if you prefer...)
			Relative URLs are fixated during a post to LJ (for img and a)
11/27/2002 the edit posts display shows mood, music and whether or not LJ
			support for <lj user="username"> tag
			support for <lj comm="community"> tag
11/26/2002 moods are working
			modded b2edit.showposts.php to show the muzik and mood
			modded b2edit.form.php to show the mood dropdown (it's ugly - needs to be better)
			ui for moods in sidebar and bookmarklet - bookmarklet is u.g.l.y. cuz all handcoded.
11/24/2002 fixed a bug in b2profile that zapped lj userdata when the profile was edited.
			b2team shows LJ status and link to LJ (see step #11 for icon)
11/23/2002 mucho chango
			music support - manual entry doodz - webpage cant detect music - deal wit it
			NB: to delete music from LJ on edit, must enter SPACES in current music - LJ is stupid
			can now add a post to lj during an edit.
			all lj options are set on a per post basis
			remembers lj options on a per post basis
			post/edit became update - dataprep merged in - heap big function
			Need to refresh the bookmarklets - height is increased to accomodate additional settings.
11/17/2002 ljclient.inc contains its own changelog
			full backdate support (you can edit both the past and the future)
11/7/2002 moved data prep into its own function (lj_prepdata)
11/6/2002 category appended to post title. b2config option to control
11/5/2002 stripslashes on titles during post to lj
			no option for posting to lj when no lj user defined
11/4/2002 all ljupdate is now conditional - we don't load lj_update unless it's turned on
			ljclient is now its own file - makes it easier to reuse.
			ljclient code changes will be tracked in its own changelog
			no longer die out on mysql errors
11/3/2002 fixed up flow during posting so we don't die() (following MV's lead)
11/2/2002 stripslashes during post to lj
			added link to b2 on lj post (sourcefooter)
			added config vars for post defaults (post to lj, comments at lj, link to b2)
			fixed bug where timestamps of LJ posts were erroneously updated during edits.
11/1/2002 released
