• Ok, after much pain and suffering, I have my plugin pack ready to go.
    This is release 0, which means that they should work, but they have only been tested by me on my blog. Also, there are many features that aren’t in them, that I hope to add in the future.
    You can get the whole set here
    To install, simply unzip the file into you wp-content/plugins folder on your blog. Then login to the Admin screen, click on Plugins and activate all the the LJ plugins.
    Here is what each does and what customization you may need to do
    LJ Extras: This is the GUI system that drives the rest of the plugins. It is optional, but it makes dealing with the others much simpler. Without it, you need to manually create up to 6 custom meta tags. I STRONGLY suggest installing it. Once it is activated, you will see a new set of buttons and input fields in the post editing interfaces.
    LJ Mood Icons: This plugin will display your mood and the LJ mood icon (Classic set only in this release) that goes with it. You can customize the text that appears before the mood by editing the string set in $mood_text in the file ljmoods.config.inc. Just replace the text in the ‘ ‘ with whatever you want it to say. The moods will appear below your post. You can also customize the paragraph by editing ljmoods.css in the plugins folder. This plugin uses two meta tags called unt_lj_moodid and unt_lj_mood to store the mood. These are created by the LJ Extras plugin, or you can add/edit them manually. If you disable the plugin, the mood will not be displayed on your post, but the meta data will be saved.
    LJ Music: This plugin will display the music you have set under each post. You can customize the text that appears before the music by editing the string set in $music_text in the file ljmusic.config.inc. Just replace the text in the ‘ ‘ with whatever you want it to say. You can also customize the paragraph by editing ljmusic.css in the plugins folder. This plugin a meta tag called unt_lj_music to store the music. These are created by the LJ Extras plugin, or you can add/edit them manually. If you disable the plugin, the music will not be displayed on your post, but the meta data will be saved.
    LJ Synch: This plugin will synch your post (no comments, hopefully in a future upgrade) with a Live Journal account. The plugin will also allow you to edit posts you have made to Live Journal through Word Press (currently only for posts that you synch with the LJ Synch plugin originally, though it is possible to manually setup imported posts to synch as well. This plugin uses 3 custom meta tags, I will explain each seperately.
    unt_lj_entry: this is the entry number returned by LiveJournal when the entry is synched. If you have an imported entry and know the LiveJournal entry number (this is NOT the same as the numbers in the html file that shows the page, this must be the internal itemid) you can manually create this entry along with unt_lj_journal and unt_lj_synch to enable editing of old posts on LiveJournal via WordPress. I hope to add support for importing the itemid and more in the future.
    unt_lj_journal: This is the journal that your post will be published to on LiveJournal. This value can be manually set, but it will also appear in the LJ Extras GUI in a drop down list. You can have more than one journal configured to post to. To configure the drop down list, you need to do the following. Open ljsynch.config.php and edit the line $journals[‘test’] = ‘test’;. Replace the part in [‘ ‘] with your LiveJournal username and the part in ‘ ‘ after the = with your password. Add additional lines in the same format to support more journals. Currently, you must have a username and password to post to the journal, I hope to support shared journals(groups) in a future relase.
    unt_lj_synch: This determines whether or not an entry will be synched when it is posted or edited. If the value is “checked” then it will be synched, otherwise it won’t. You can set this setting via the checkbox in the LJ Extras GUI, or manually.
    LJ Tags: This plugin converts LJ user and LJ Cut tags in WordPress posts to HTML so that you can synch these tags with Live journal. Currently, the LJ Cut tag requires a [lj-cut] style syntax instead of the usual < style.

Viewing 15 replies - 16 through 30 (of 85 total)
  • untiens! *mwah* – Workin’ like a charm for me now! Posts in both places – really like the link back to my blog….Excellent work!

    LOL – the *mwah* post was me…

    Downloaded the latest and it worked perfect. Now as to the smilies, how do I change them? It would be nice to match the LJ ones.

    Thread Starter unteins

    (@unteins)

    Which smilies where?
    If you mean on your WordPress blog, then you can always replace the files in wp-images\smilies
    However, if you mean the mood smilies, then currently it can be done by editing the ljmoods.config.inc and the moodlist.txt file (if needed)
    Here is what you need to do:
    1) Go here to find the LJ mood you want to use.
    2) Decide if you want to host locally (this may or may not have legal implications, it is up to you to resolve them) or pull the files from LiveJournal (I can’t comment on the legal implications of this, nor can I tell you if the LiveJournal folks will be happy about it or not…)
    3) Either way you need to build a moodlist file. The one included with the mood plugin should get you a long way, but you will have to tweak it. Make sure each mood is listed with the right ID number. so it is mood:moodid:image where image is the name of the image file. You can get the image file names by right clicking on the images and choosing properties or looking at the page source. Make sure the mood file has a line that is :: or you won’t be able to have a blank mood field.
    4) Once you have the mood list, you need to edit the two lines in the ljmoods.config.inc
    $mood_image_base_url – set this to the address of the image before the theme name. This should end with a /
    $mood_theme – set this to the theme name (ie the folder that comes right before the image name (no / before or after)
    The link to the image is built like this:
    $mood_image_base_url . $mood_theme . ‘/’ . $mood_info[2]
    You can look at the config file and the image source in a WP post to see what I mean. I am hoping to have the time to expand LJ Mood Images to support multiple themes and the ability to assign themes per post on LJ (assuming LJ supports it) but this might be a little while.
    I hope that made sense, it is midnight, time for me to sleep 🙂

    That works really well unteins, thanks!
    I was just wondering, what would I have to change so the default is to send it to livejournal? Checking the box every time isn’t a huge deal, but I’d prefer that the default is checked, and I have to uncheck it to NOT send to livejournal.
    thanks again.

    Thread Starter unteins

    (@unteins)

    Ok, what you do is send a donation to me via PayPal…..
    errrrr…..ok what you do is redownload the plugins (here(
    Then go into ljsynch.config.inc and change $synch_by_default = false ; to $synch_by_default = true;
    You will also get a new userpics option. This is NOT an official release, so it is possible it is buggy. If you run into bugs, post here and I will see what I can do about it.
    There will be a new relase coming out that is at least slightly more tested in the future, with lots of additional features 🙂

    Thread Starter unteins

    (@unteins)

    It wasn’t hard at all…..I have a fix in for the slashes already, I thought it was in this latest version, but maybe not….you can always try the link again and see if it is a newer version than the one you have….
    Right now I am adding a bundle of new features so it might be a couple days before the next release.
    I wanted to put a PayPal link on the page, but so far I haven’t found a place to do it nicely yet….

    Okay, I think this is a bit strange but I’ll try my best to explain this problem and I have been trying to find a solution but I cannot find one…
    If I do a text post to my weblog and then to LJ, it works. Good. Though….
    When I type up a couple of urls in the ‘post’ box, select ‘mood’ and then sync to LJ. This takes a long time to actually process it and the browser finally gave up and said ‘session timeout’ (or something similar). However, if I check via ‘edit’, the post actually got posted on my weblog but not to LJ!
    Now, here is a funny trick. If I select the mood and sync to LJ checked via the ‘edit’ panel and then just click on save. The actual post with URLs appears on LJ?!
    Sorry, if this gets a little confusing but am I doing something wrong or this hack isn’t quite working for URLs posting?

    Thread Starter unteins

    (@unteins)

    Do you have the option to pingback URL’s in the post turned on?
    What happens when posting is that a bunch of code executes and a lot of XMLRPC calls happen during this time. These can take a long time and may even time out. I probably need to do something to handle this more gracefully, but I haven’t gotten there yet.
    I use the same trick on occasion when things don’t work. I will definitely see if there is anything I can do to stop this from happening in a future release. First I need to finish the support for some additional extra features (like being able to post to LJ groups 🙂

    Thread Starter unteins

    (@unteins)

    arghnoname – Ok, I took your suggestion, there is now a button at the top of my menu on my homepage 🙂
    But seriously, I was joking in that post 😉

    What I’ve learned so far, draft posts show up in LJ, posts in the future, a cool WP feature, show up in LJ as soon as they are posted, defeating the purpose of the feature. And sometimes, when editing, posts come up duplicated in LJ necessitating deletion of the dupe. And when you want to delete one, checking last 20 gets:
    Error
    There was an error getting the journal entries to edit:
    Client error: Invalid text encoding: Cannot display this post. Please see http://www.livejournal.com/support/encodings.bml for more information.
    And checking on a certain date gets the same error message. Guessing it’s a problem with text encoding, using UTF-8 for WP. Works for older, pre WordPress messages. Only way I’ve found to edit an old message in LJ is to view source of page and find message number of one want to edit, then click to edit latest message and insert number in location bar, hit enter, and, voila, get the right one. Something to work on thou if LJ uses different encoding, may be unfixable.
    I can write a post with the mood, which posts to LJ, then edit out the mood icon, inserting instead one of my custom smilies with synch with LJ unchecked and get the change in WP without the change in LJ.

    Thread Starter unteins

    (@unteins)

    I am a little bit confused about what is going on here. I am not sure exactly what problem you have.
    Could you try to explain it again for me, I really want to fix the problems for you. I am working on some updates to the whole plugin set, so I would like to put any bug fixes I can in.
    Also, do you know which version you have? does it have a userpic option?

    The XHTML was not validating for me (specifically the image tag related to the move is not done in valid HTML). You need it to be: <img src=”bla bla” /> instead of <img src=”bla bla”> — take out the spaces for your purposes.

    Thread Starter unteins

    (@unteins)

    I will look into that. I plan on cleaning up the whole thing once it is all coded. I am adding a ton of new options, but the code is getting a bit ugly.
    This should be a pretty easy one to fix though, thanks for the cacth 🙂

    Your newest set of plugins seem to be working great except for this one little message on the edit page:
    Warning: Invalid argument supplied for foreach() in C:\swamp\www\wordpress\wp-content\plugins\ljextras.php on line 50
    Line 50 — “foreach($lj_pics as $pic) {” — seems to be dealing with userpics, and the dropdown that appears below the Warning message is empty.

Viewing 15 replies - 16 through 30 (of 85 total)
  • The topic ‘Live Journal Plugin Pack Release 0’ is closed to new replies.