My first WordPress plugin

I’ve been using WordPress for handling my (dormant) blog for a while now. I’ve also been hosting the website for Baytown Little Theater, but the content was managed using just HTML. I had a database of productions that was visible on the site, but it was all handled with custom PHP code and. PostgreSQL.

Well, now that I’m moving away, I figured I’d better make it easier for somebody else to manage the content. So the site is now being managed by WordPress. But that doesn’t help with the productions database. So I’ve started working on my first plugin.

The plugin allows content authors to create pages and/or posts which reference the data in the productions database. There’s even logic to allow for looping, displaying things like cast lists and productions in a season.

Right now the plugin still uses the PostgreSQL database, but I have plans for converting it over to MySQL so that it can be shares with the WP database. I also need to migrate the management portion, so that the contents of the database can be updated from within the WP admin interface.

As soon as the code is in a state that I think somebody other than me could use it, I’ll publish it here. At that point, any theater that uses WordPress would be able to use the plugin to manage their own seasons on their site. It also has an integration with the Tickets to the city ticketing system

Share

We’re moving!

I know it’s been a long time since I updated this thing. Maybe I need to try to make this a discipline to update more regularly.

Anyway, the reason for this post …

We’re moving to New Jersey!

Wendy has accepted a call to be the new Regional Presbyter for the Presbyteries of Monmouth and New Brunswick, in central New Jersey. The formal vote making it all “final and official” will be July 20th. We plan on moving out some time around Labor Day weekend.

This will be very exciting. We’re going to be sad to leave all of our Texas friends, but it will be nice to be back in the north east again, which is, after all, “home” for both of us.

Now we just need to sell our house. Anyone interested?

Share

The dangers of high fructose corn syrup

A recent Princeton University study (HT: Slashdot) would seem to debunk the recent ad campaigns by the corn industry that HFCS (high fructose corn syrup) is just the same thing as sugar, only repackaged. This study showed that rats, given the same amount of calories, became significantly more obese when those calories came from HFCS rather than from sucrose (table sugar).

I can’t remember where I saw it now, but I remember watching a documentary piece which attempted to show just the opposite – that HFCS is virtually identical to sucrose. They did this by showing that the levels of fructose and glucose in the two substances are virtually the same, and that, therefore, they must act the same in our bodies. However, almost in the same breath, they added that HFCS behaved differently in the consistency of the product produced, making more appealing to food manufacturers. I remember thinking at the time that they can’t have it both ways — either it’s the same as sugar, or it’s not.

This study seems to make it clear: it’s not. Wendy and I are making a concerted effort to avoid HFCS whenever possible, but that’ surprisingly difficult.

Share

The Lost Tribe

This weekend, Wendy and I are at the annual TNT conference, held this year in Beaumont. As a part of this festival, our theater put on an excerpt from one of the winning entries for the play writing contest, since we’ll be putting on the full show some time in the next year. The play is called “The Lost Tribe” by Jeff Stolzer. It’s about an older Jewish couple in a rapidly gentrifying area of L.A., who are dealing with the changes in their neighborhood, as well as their own past.

In this excerpt, I played Isaac, a retired barber who is helping out in the main character’s barber shop.

Well, in this excerpt, I’ve reached a new milestone in my acting career. I had to drop my pants! And not just my pants, if you get my meaning.

My mother will be so proud. ;)

Share

I’m intrigued by the Coffee Party

Yesterday, Facebook suggested that I might be interested in becoming a fan of the coffee party. So I checked it out. The name is an obvious reference and counter to the TEA party movement, which is a movement I definitely don’t support.

The Coffee Party’s objective seems to be to be, at least in part, to show that, even in diversity, we can have agreement. They’re certainly NOT looking to form together as a bunch of same-thinking, brainwashed automatons, which I think is characteristic of some of the criticism that’s been launched against them, but are instead encouraging lively but respectful discussion. The item I liked the most from their site is the Civility Pledge, which I was happy to “sign”:

As a member or supporter of the Coffee Party, I pledge to conduct myself in a way that is civil, honest, and respectful toward people with whom I disagree. I value people from different cultures, I value people with different ideas, and I value and cherish the democratic process.

I don’t expect that the Coffee Party is going to become a political party in the sense that the Democratic and Republican parties are, and that I think the TEA Party wants to be. Rather, they’re speaking on against the bickering senseless posturing that’s characterized US politics recently, from both sides of the aisle. And that’s a position I can heartily agree with.

Share

Cursillo weekend coming up

I just spent yesterday evening and most of today at training for the next Houston Presbyterian Cursillo weekend, which will beĀ  April 14-18. I’m going to be on the music team. This will be the third time I’ve served on a Cursillo music team, but the first time that I’m going to be playing an instrument (bass guitar) instead of just singing. I’m somewhat nervous about it. I’ve been playing bass in our praise band at church for a while now, but there are a lot of talented musicians I can “hide behind” there if I need it. The only instruments at the Cursillo weekend will be Steve Arnold on guitar, and me on bass guitar. So, if I screw up, everybody’s going to hear it.

I’ll be practicing, but prayers would be appreciated!

I’m also going to be giving one of the talks (“rollo” in Cursillo lingo) but I ‘m not really too worried about that. It’s not like I’m not used to speaking in front of a crowd. ;)

Oh – any of my Presbyterian friends who haven’t attended a weekend, please talk to me about it. I’d love to see you attend the weekend with me. It will be in Palacios, TX, right on the bay. It’s a very beautiful setting

Share

South Beach diet

Well, it’s official. As of this morning, Wendy and I are now both on the “South Beach” diet. It felt like we were buying out Kroger’s entire produce section last night. I wish we had a more convenient, better stocked produce section near by. That, or I think we need a second refrigerator to store all this stuff! I cooked the first item this morning — something called a “Cheesy Frittata.”

We were on this diet once before, and did pretty well on it. Unfortunately, we “fell off the wagon” when I fell off my bike. So now we’re trying again. One of the biggest challenges from last time, other than produce storage, was the rather time consuming chore of putting togerher a meal plan for the week, and then figuring out what groceries we’d need. This time, we’re turing to technology to help. Wendy’s got a piece of software called “Mac Gourmet” that we’re going to try. She’s going through the painstaking process of entering the South Beach recipes. Once that’s done, it will be much easier to create weekly menus and shopping lists.

Wish us luck!

Share

Looking to increase my “geek quotient”

That last video I posted got me thinking — I think I need to “up the ante” when it comes to my geek factor. Sure, I program computers. I play World of Warcraft. At one time, I even had an official chess ranking (though not a very high one). I also do some geocaching, play around with FourSquare and Twitter, and I’m active in community theater. But I also ride a motorcycle, which I think would count against me.

Well, there’s one geek “badge of honor” that I DON’T have — I don’t play Dungeons and Dragons. What makes it even worse is that, while I don’t play, my daughter DOES! This unnatural state of affairs should not be! So I’m looking for people in the Baytown/Houston area who might like to take me under their wing (or scale, as the case may be). Or, failing that, perhaps find other like-minded geeks who want to learn together.

So, who’s up for it?

Share