WordPress Zen: Social Network Plugins

Posted March 13th, 2010 in Programming, WordPress by Dennis

wp-social-300x237This is not so much a “How To” guide as much as it is a mild warning to the developers of Social Networking plugins for WordPress.

I run another WordPress powered website for Comics In Action, an improv comedy troupe I organize. So, I’ve played around with various Social Network plugins for the various networking websites like YouTube, MySpace (Ugh!) and Facebook.

Mostly, I’ve tried-out Social Links by Kareem Sultan and Social Links Sidebar by Commareus. Both have wide support for Social Network website, even sites I’ve never even heard of. A bonus if I ever find the need to use them. :)

Continue Reading »

WordPress Zen: The Morning After Theme

Posted February 26th, 2010 in Programming, WordPress by Dennis

*NOTE* (11/30/10) The Morning After Theme has officially moved to Woo Themes. Not only have they updated the theme, but added additional functionality. What is detailed below, is the latest version of the theme The Morning After WordPress Theme: by WooThemesBEFORE it was moved to Woo Themes. If you’re looking for additional help with the WooThemes version, then check it out here.

After my son, Jared, was set up with his own website, we began talking about what his goals for his new URL. We started writing manual HTML and basic CSS in an effort to understand the basics of creating one’s own website. We followed that with the benefits of WordPress (or ANY Content Management System for that matter) and what it really meant to separate content from the design.

I gave Jared a list of WordPress themes to give him a idea of what was available. Less than a day later, he had decided upon Arun Kale’s “The Morning After” theme based out of themasterplan.in.

I had looked at “The Morning After” theme when I started this website some years ago, but back then I didn’t have enough PHP or WordPress experience to make a go of it. It is a fantastic-looking theme, but development has ground to a halt, the support documentation isn’t complete and spammers have taken over its forum.

It’s not a WordPress theme for the weak.

So, below I have compiled a list of issues with “The Morning After” theme. Dust off your search engine and let’s get dirty.

Plugins

Don’t use the plugins that come with TMA. They are all out-of-date. These include: Lester Chan‘s WP-Print and WP-Email plugins, and the Post-Thumb Revisited plugin by Alakhnor. After installing the latest plugins, I noticed that WordPress kept complaining about a new version of Post-Thumb Revisited. No matter what I tried, WordPress would not install the latest version. This is because the version number of its library is not identical to the main plugin. I solved that by using the WordPress editor to change the version number in both the library AND the Post-Thumb widget… as of this writing the version was 2.2.1.b.

It worked, so I’m not going to complain…for now. :)

Oh, BTW! If you use the latest Post-Thumb Revisited plugin, you also get the benefit of allowing the plugin to work FOR you, instead of having to enter those pesky Custom Fields into each post.

Header Navigation

The next item to tackle after installing “The Morning After” will be to fix the header navigation to suite your website. You will want to create three new pages: About, Archives and Contact. The About and Contact pages use the default page.php file, while you’ll want to apply the archive.php template to the Archives page. Edit the header.php file and replace the “menu” un-ordered list with the following code.

<ul id="menu">
<li><span class="home"><a href="<?php bloginfo('url'); ?>">Home</a></span></li>
<li><span class="about"><a href="<?php bloginfo('url'); ?>/About">About</a></span></li>
<li><span class="archives"><a href="<?php bloginfo('url'); ?>/Archives">Archives</a></span></li>
<li><span class="subscribe"><a href="<?php bloginfo('url'); ?>/feed">Subscribe</a></span></li>
<li><span class="contact"><a href="<?php bloginfo('url'); ?>/Contact">Contact</a></span></li>
</ul>

There, now THAT’S fixed.

Sidebar Issues

You’ll notice that “The Morning After” theme hard-code’s a category widget into the right sidebar. I modified the wp_list_categories API to remove the post counts and sub-classes. What I did looks like this:

<?php wp_list_categories('title_li=&sort_column=name&show_count=0&depth=1&show_last_updated=1&use_desc_for_title=1&exclude=' .$catid. ',' .$catid2. '') ?>

Removing Those Ads

I’m not one to market or “profit-ize” my website. Maybe. Someday…but, not now.

Those ads are not where one would think, the Sidebar. Well…you’re half right. They are also in the home.php page. You’ll see the Ad. One could delete (entirely) the ad_home.php and ad_side.php pages, but I’m not confident that’ll fix anything. I prefer to remove the source. You’ll find a reference to ad_home.php in the home.php page and here’s what I did to that:

<?php /* include('ad_home.php'); */ ?>

When you locate the reference to the ad_side.php page in the Sidebar, add the necessary comment code and everything should be fixed.

I’m sure there are other issues, but for the most part; the HTML is clean and I didn’t have to do anything with the CSS. There may be more, but leave a comment and perhaps I can figure-out you problem. Any takers?

Top 10 Viral Clips of 2009

Posted February 22nd, 2010 in Comedy, Featured, video by Dennis

videoOnce again, it is time to reflect on 2009 and the the hilarity that ensued with these viral videos. I will not presume to have compiled the ultimate list, but these are the clips that gave me the most sincerest laughs of 2009.

Continue Reading »

Skype API and Chat Bots

Posted January 1st, 2010 in Programming, Technology by Dennis

Skype

Over the last few weeks, I have been working on a chat-bot that acts much more than a simple echo server. With the plethora of Instant Message clients on the market (Yahoo, AIM, GTalk, Pidgin, Adium, etc.), it was difficult to determine which IM client suited my needs. First, the client needed to be available across several platforms (Windows, Windows Mobile 6, Linux, OS X). Second, their needed be an existing publicly available API in order to write the chat-bot code. Third, it was imperative that the API was actively being deployed and developed. Why mess around with an IM client that nobody was using?

Continue Reading »

Remote Desktop, JollysFastVNC, Mac and Ubuntu 9.04

Posted October 24th, 2009 in Programming, Technology by Dennis
Ubuntu

Ubuntu

Whoa…that’s a mouthful.

I’ve been working on my own local Ubuntu 9.04 web server for over a week and finally got all the pieces put together (Apache2, MySQL and PHP). But, what I REALLY wanted was a way to tunnel into my Ubuntu web server and administer it from my old Mac G4 Powerbook.

Continue Reading »

Only a GEEK Could Figure This One Out

Posted October 15th, 2009 in Comedy, Engineering, News, Personal, Technology by Dennis
 Rockwell Automation

Rockwell Automation

It’s no secret that I spent several years in the Engineering Labs of Rockwell Collins in Cedar Rapids, who I owe much of my enthusiasm for doing so to my father.

Continue Reading »

What’s Ailing You?

Posted July 17th, 2009 in Comedy, Engineering, News, Personal, Technology, WordPress by Dennis
Dr. House

Dr. House

Lately, I have been rather busy with LIFE stuff…and we all know how THAT goes. :)

Over the past few weeks, my eyes have been rather puffy and I haven’t been able to get a decent nights rest in over 6 months. So, last week I took a few days off from work and met with my Family Practioner. Following the exam, made an appointment to get some blood-work done the next day. In the mean-time, I was prescribed a rather powerful sleep-agent, Trazadone, and a Prednizone variety for the puffyness around the eyes.

Of course, I found the Trazadone to be rather effective. But, when I met with my family doctor the following week, the steroids did little to reduce the swelling around my eyes. Fortunately, the blood-work indicated that my 40-ish body was doing rather well. My cholesterol is good and my liver and kidney functions are doing fine as well. So, why the swelling? Lord only knows. My doctor made an appointment with an opthemologist next week, so hopely this all may only be allergies. In the meantime, my doctor gave me a sample of an antihistemine eye-drop that I’m supposed to take once-a-day.

Hopefully, we’ll get this all figured out. :)