How to Get Livejournal Crossposter working in WP 2.5

One of the plugins I use on a regular basis is LiveJournal Crossposter, since I have several friends who are on LJ. However, ever since WP 2.3 or so, I've had to go into to the wp_options table and manually update the settings for this plugin after upgrading WordPress. I decided to do a clean install when I upgraded to WP 2.5 and discovered that this plugin will not activate without a small change to the code.

To get this plugin working in WP 2.3 or greater, manually update ljxp_username and ljxp_password in the wp_options table. I have found that just entering my username does the trick, and I can enter my password from the LiveJournal Settings tab in the WP Admin Panel. If that doesn't work for you, manually update ljxp_password by generating an MD5 hash and pasting the result into ljxp_password.

To resolve the WP 2.5 activation error, open lj_crosspost.php and replace:

if(version_compare($wp_version, "2.1", "<")) {
require_once(ABSPATH . '/wp-includes/template-functions-links.php');
}

with

if(version_compare($wp_version, "2.3", "<")) {
require_once(ABSPATH . '/wp-includes/link-template.php');
}

The author hasn't updated this plugin for awhile now, but the Google Code LJXp issues list is a good place to look if you're having other problems with this plugin.

The Home Stretch

I'm nearing the end of the semester, so things have been kind of busy lately. I just need to finish a few chapters of the written work for my University 100 class and take the final to finish. In my other class, I'm down to the small group speech planning assignments. Since it's online, I don't have to worry about group meetings where only one other person shows up. It's only a 5 minute speech, so I'm more worried that I'll go over than run out of things to say. I think we have a week or so after the spring semester is officially over before the summer semester starts.

I finally went in to take my math placement test on April 1. Turns out that the testing software NVCC uses does not handle apostrophes in names, so I ended up having to use my maiden name to log in to the test.  The test went pretty smoothly after that, until I hit the tail end of the trig section and blanked on the law of the cosines. I knew I had passed the pre algebra through precalculus sections, but I was worried I didn't do well enough on my trig to get into Calc I. Without Calc I, I would not be able to take any computer science classes until the fall semester.

After I finished the test, I went to pick up my scores.  I had forgotten what day it was (April 1), so I got a little nervous when the guy looked at my print out and asked me what class I thought I had placed into.  Since he was asking, I thought I was stuck taking precalc. Then he followed that up with "Well... I hate to tell you... <insert longish pause> that you placed into Honors Calculus I, because I hate math!". I hate April Fools' Day, but I'm really glad to be done with all my placement tests.

Getting Ready For Easter

 
easter
 

When Dinosaurs Attack

 
IMG_2788
 

Paul and Douglas

Unfortunately, Paul was sick most of this week and now I am coming down with the same thing. I am still at the point where I am pretty tired all the time, so I was not terribly happy Paul decided to wake up before it was light this morning. Of course, it wasn't his fault, since "Douglas was running around and around the room and yelling RAWR and woke me up!".

I'd forgotten how weather in the ArkLaTex is this time of year, especially compared to the relatively calm weather in the DC area. We had a normal (for this time of year) storm pass through the area, complete with ominous tornado watches, warnings, and mentions of "tornado signatures on the radar". Paul overheard and decided that "Douglas was too scared to sleep", so it was difficult to get him to go to sleep until after the storm passed over us. I can't say I really blame him, since the threat of a tornado warning while you sleep is pretty scary.

I don't really remember worrying too much about tornadoes until I was older and had to deal with tornado warnings in school. During tornado warnings, we would all grab the heaviest book in our desk, and quickly leave the room, in single file. We would crouch down in the hall, and lean against the wall, while holding our book over our head. And then we would wait for the all clear.

We had several tornado warnings the year I was in first grade, and I remember saving my money for a Lisa Frank trapper keeper (the purple one with the pink neon heart), so I would have something more substantial to put over my head than my Janet and Mark take home reader. I also remember having more than a few nightmares about tornadoes at night that spring, because we had to color these large cardboard eggs as big as we were for a downtown Easter display. In my nightmares, I would wake up, look outside the window beside my bed and see something like an F3 tornado. I would then have a panic attack, because my cardboard easter egg was downtown and I was not strong enough to drag my mattress to the bathtub. I don't remember when I outgrew that phase, but I still occasionally have that nightmare when the weather is bad during tornado season.

The Mid February Delurk

 
Picture075_14Feb08
 

Paul and chopsticks

I haven't been up to too much lately. Between getting a cold and working on classwork, it's pretty quiet so long as Paul is down for a nap. I'm trying to finish up my university 100 class before I head off to Louisiana next week. I just have to finish watching the videos (complete with early 90s guy who can't seem to decide if he's into glam metal or grunge) and the last couple of chapters of written work.

I don't celebrate Valentine's day, but I've been craving fried rice all week long, so we went to Pei Wei after Clayton got back from work. I actually enjoy going out to eat with Paul now. We're mostly past the point where he "needs" to crawl under the table, randomly season his food, or refuse to be entertained. He snacked on an orange while we were waiting for our food, and decided to try chopsticks while he was waiting for his food to cool. He still has to cheat, but at least it seems that he's figured out that the chopsticks aren't broken.

Yesterday, we went to the open house at the preschool we've been eying for him. I kept hearing that preschool signups here are nuts, so I was going to leave obscenely early so I could get one of the first spots in line. I was about halfway there, when they announced our county's schools were on a two hour delay. I went back home, catnapped, and then went back out a couple hours later. Fortunately for me, the icy weather kept several people at home, so I ended up first in line. Paul really enjoyed the open house, especially the huge laundry buckets of Lego and the preschooler sized "house" area. His teachers seemed very nice, although Paul wasn't sure if "a man can be a teacher". He was a little disappointed that we couldn't go to school today.

MySQL query error