• 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 - 31 through 45 (of 85 total)
  • …sorry forgot to login
    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.

    For those who receive the error message:
    Fatal error: Cannot redeclare addlinkback() (previously declared in /home2/mike/public_html/wp-content/plugins/ljsynch.config.inc:15) in /home2/mike/public_html/wp-content/plugins/ljsynch.config.inc on line 15
    (This occurs for me when I activate the extras)
    Replace in ljextras.php:
    include(‘ljmoods.config.inc’);
    include(‘ljmusic.config.inc’);
    include(‘ljsynch.config.inc’);
    include(‘ljuserpics.config.inc’);
    with:
    include_once(‘ljmoods.config.inc’);
    include_once(‘ljmusic.config.inc’);
    include_once(‘ljsynch.config.inc’);
    include_once(‘ljuserpics.config.inc’);
    This will make the script check to see if a config.inc file is already loaded.
    mikeXstudios

    Thread Starter unteins

    (@unteins)

    caveman – I think you are getting this error because you have not defined any keywords for your userpics on LiveJournal. The userpic support was a VERY quick hack, so I don’t think proper error checking is in there to make sure we actually have something before trying to use it. I am completely reworking that section of code right now and adding in several new things in there. You should be able to work around it by adding a keyword to one of your userpics on LiveJournal. Let me know if that doesn’t work for you.

    Thread Starter unteins

    (@unteins)

    mikexstudios – Do you have the post2mail plugin installed and activated as well? If so, I think that is the problem, especially if you got an older version. There is an update for that one here
    I am going ahead and making the change in the includes as well, so it shouldn’t be a problem in the next releases. Sorry for any trouble ??

    ehh ..thanks for the quick response, but I do have all my many icons key worded, otherwise I would be totally lost :)) Is there anything else I could have left out? because everything else seems to be working just fine.

    So, this may sound weird, but can somebody post a bitmap/jpg of what the write fields should look like?
    I installed the latest plugin, and enabled it in the plugin window (in wordpress 1.2), but I see no change in the write window.
    Thanks,
    Byron

    Thread Starter unteins

    (@unteins)

    Caveman – Do you get a custom meta field called unt_lj_errors?
    If so, what does it say? It is possible that you do not have the user name and password set correctly. If you aren’t getting an error meta field, then do the following:
    In the function get_LJ_login_data(), look for the line $client->debug = false; Change false to true and try again. You should see a bunch of stuff at the top of the page, copy that and then send it to me at my gmail.com address, unteins at gmail.

    Thread Starter unteins

    (@unteins)

    bfaber – which plugins have you activated? If you don’t activate the LJ Extras plugin, you won’t see any new fields in the edit/post interface. Also, currently the extra fields don’t show up for the Bookmarklet. I am working on resolving that issue (sorry Neil)
    Neil – It shouldn’t delete your posts from LiveJournal. I have not yet looked into that and probably won’t anyway. I don’t think you will need to delete posts from either place all the time, so manually deleting from LJ seems ok to me.

    Thread Starter unteins

    (@unteins)

    aeryn – Ok here’s what you probably still need to do
    1) You probably need to open the ljsynch.config.inc file and edit the line that says $journals[‘test’][‘password’] = ‘test’; replace the first test with your lj user name and the second test with the password for that account. Then save the file. Now when you post to WordPress, check the Synch to LiveJournal textbox, that should be it.
    2) The user pics do not show up in WordPress (yet) they only appear on LiveJournal. I am working on a plugin to add them to WordPress

    unteins: I only have the ljplugins activated. ljextras 1.2.1 ljsync 1.2.2 everything else 1.2.0. I don’t see anything under the main ‘write’ page. I give for the moment. *shrug* Unless I edit the ‘include_once’ senario mentioned by somebody, I see an error on the write page, but once I edit it to include once only, I see nothing different on the write page.
    hmm

    Thread Starter unteins

    (@unteins)

    bfaber – What is the error message that you are getting on the write page?
    persephone – A mentioned in the readme file you have to use a slight hack on the cut tags. You can’t use the normal angle brackets (< >) you have to use square brackets ([ ]) for the lj-cut tag. Try that and tell me if you still have a problem.

    unteins, thanks for working on this plugin! Seems to be very cool!
    However, I am unable to get it working at all. I’ve followed you installation instructions several times, even starting with a fresh WordPress install. I’m using version 1.2 (of WordPress). After I unzip the files and activate all the plug ins, nothing appears in the Post or Edit screens. I don’t understand, why aren’t the options showing up?

    Thread Starter unteins

    (@unteins)

    Very strange, now there are two people with no GUI.
    Oh, wait, two ideas on the GUI issues
    1) Do you have javascript enabled?
    2) What browser are you using?

    Am I missing something here… where does it say how/where to add code words for your userpics?
    Also, when I posted an entry to my blog & synched with LJ, the [ ] brackets weren’t converted to < > brackets and thus I was left with the full tag on LJ saying [lj user= “trancelife”], yet it linked properly from my blog.
    Otherwise, the moods and music are working fine…

    Also, forgot to ask if there’s a way to post friends-only, only? Or to a specific friends group?
    Thanks ??

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