Posts filed under 'LBnuke Stuff'

WordPress 2.2 Upgrade

9 comments May 16th, 2007 2,490 views

WordPressI am starting to believe that the days of the fast and easy WordPress upgrade have come to an end. Version 2.0 brought some problems for upgraders. Version 2.1 seemed to bring even more due to some database changes breaking certain themes and plugins.

The 2.0 upgrade went very smoothly for me. 2.1 did not. My theme had some db calls to fetch page links using post_status='static' which no longer worked after the database changes. Calling them with post_type='page' instead fixed the problem quite easily, but it took a while of troubleshooting before figuring that out. The 2.2 upgrade was the worst yet.

After having trouble with the 2.1 upgrade, I decided to follow the upgrade instructions for a change and turn off all of my plugins. I have never done that before and have never had a problem because of not doing it. This time, after uploading the new files and running the database update script, I was greeted a by a PHP fatal error message in place of my website. Pretty. This was due to the call in my header.php file to the Ultimate Tag Warrior plugin, which was not activated. No problem. Easy to fix. Comment out the UTW code in the header.

I started reactivating plugins one by one and then testing to make sure nothing went wrong. Everything was going smoothly until activating the King Categories widget. Another fatal error. This time, I emptied the active_plugins field from the wp_options table and tried again with the same result. It occurred to me later that I probably could have just renamed the widget instead of messing with the db, but why do things the easy way when you take the scenic route?

I gave up on the King widget and instead downloaded and installed Breukie’s Categories widget. This worked fine except that every time I made a change to the widget in the admin section, it would forget my exluded categories, so I had to reset them every time. Too annoying.

I was about to hard code the categories into my sidebar just below the hard coded search form and above the widget test statement when I discovered my new favorite widget, the Executable PHP widget, while reading Aaron Brazell’s 10 Things You Should Know About Wordpress 2.2. It was also in this article that I was notified of a workaround by Ryan Boren for this widget that is required if you want to use more than one PHP widget in wordpress 2.2. This widget rocks! Endless possibilities. I used to use the King Text widget to include PHP in widgets, but was too afraid to activate it after the trouble with King Categories. I created 3 execPHP widgets to replace the King Categories widget, a King Text widget, and one to add my RSS links. I am not sure why I didn’t just use plain HTML in a text widget for that last one. Never even occurred to me. Finally my sidebar was back to normal.

One more thing about widgets in wordpress 2.2. They are built in, so do not try to activate the widgets plugin ten times like I did. It will never work.

There is a very cool new Plugin Sandbox feature in WP 2.2 that evaluates the plugin code on activation for fatal errors and does not activate the plugin if any are found. This kicked in for the widgets plugin, but not for the King widget. I suppose a widget is not technically a plugin. Or is it?

I still love wordpress as much as ever and will always upgrade my own site at first stable release of each new version. There are always changes for the better and bug fixes.

I will no longer be upgrading all of my wordpress sites at first release. It has become almost impossible anyway since the 120-day release schedule has been in effect. Most of them are client sites that I do not want to break or cause to have any downtime beyond uploading the new files. It is not part of any agreement I have to keep sites updated with the latest files, but sometimes I like to throw it in as a freebie for increased security and ease of future upgrades, not to mention access to new features. Now that it is not always a fast and easy job, I will probably only do it at a client’s request and for a fee. It is probably best that I charge for my work anyway!

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Filed under: Geekery, LBnuke Stuff

Tags: , ,

Hangman

Add comment August 11th, 2006 1,578 views

Hangman games are back :) Click on the ‘Hangman’ menu to pick a topic.

If you have a request for a new topic, please leave a comment. If you have suggestions for more words to add to a topic that already exists, please contact me here. Don’t want to make it too easy by having the words listed here!

I will probably move the flash games here eventually too. Not sure about the forums, web links, or reviews either. Reviews and links are easy to integrate into this site without having separate sections. If anybody wants the forums back, let me know.

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Filed under: LBnuke Stuff

Tags:

LBnuke 5.0

Add comment August 7th, 2006 2,037 views

The spam. I can’t deal with it anymore. I am finally going to convert this site to WordPress. I was inspired by word camp. Can’t get online at moment. I am guessing it is a Comcast thing. It has given me some time to start transferring posts since I can’t even find out what my homework is for this week until I’m back online.

I am working on a version of this theme for wordpress, but for now will be using a different one which is very nice and has a similar color scheme. I will also be trying out a beta version of MeCommerce by Good Storm, so if you are looking to buy things, check my sidebar first! I will get 50% of the profits. Pretty cool!

WordPress widgets are fun! Drag and drop sidebar items. I’ve widgetized a few themes, and when I have some time, I will try my hand at making a widget.
Read the rest of this entry »

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Filed under: Geekery, LBnuke Stuff

Tags: , ,

New Design

Add comment April 6th, 2006 1,361 views

I am trying out a new design that uses CSS for layout, which is something I have wanted to change about this site for a long time. I’ve been working on a css version of the ‘red brick’ design on and off, but I like this one better and it has the advantage of being finished! I will be modifying and testing it live on this site. At some point, it may end up looking a lot like the red brick design. Most likely I will keep tweaking it as long as it exists on this site.

Any comments are appreciated.

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Filed under: LBnuke Stuff

Railroad Museum Pix

1 comment December 5th, 2005 1,788 views

Thanks to everyone who came out to the model railroad yesterday. I had fun and it was nice to meet those folks that I haven’t met before. I took some pictures on my phone, most of which needed to be photoshopped in some way or other, so please pardon the “art shots”! Click on the thumbnails to view larger images.

I never got around to resizing them to fit this site, so also please pardon the couple that are hiding behind the sidebar.

bridgepalace hotelstreet lights
power housetunnelvictorians

Scatchmonkey took some pictures with a real camera and put them up on his site too. Click here to see them. They are about 3/4 down the page.
Read the rest of this entry »

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Filed under: Autism / Asperger's, LBnuke Stuff

Tags:

Previous Posts


Good Mac Things

Daily Mac Promo

Mac Video Tutorials

aspieSocial

Meet other folks with autism/asperger's.
Visit aspieSocial.com!

Random

Putting a lightbulb in a micro wave causes it to light up, then explode.