Posts Tagged ‘habari’

Hello world!

October 26, 2009

I have just destroyed the database at a WP experimental site and tried again using Chris Meller’s script to convert from Habari to WordPress.

Although the output of the script didn’t reach my browser checking out the dashboard of at the WP site afterwards I think the conversion was successful.

wp_dashboard

Site maintenance

October 2, 2009

I have been lazy so ever since r3608 I have not svn upped this site because plugins that I need weren’t ready and I didn’t bother modify plugins myself, so I have been waiting.

Today I have just done it, upping this to r3746 however my theme requires a little adjustment before I could use it so the default K2 theme is now in use until I fix my theme.

I bought my DIY PC home which I have been using in the office, reinstalled everything with only a Windows 7 and ubuntu 9.04 partitions. I’ll be using the ubuntu partition as my coding environment. While doing that my howto for LAMP installation has been proved good for 9.04 as well.

@9:25pm now theme fixing has been done and thanks Karen’s friend again helping me with the very nice English title font (Chinese font to her credit as well) which is also now incorporated.

Excuse Me

January 22, 2009

My server just suffered a crash due to a very high CPU load. Upon a hard and a soft boot it went back to normal again.

Found out from ‘top’ that php-cgi was consuming exceptionally high loads when the home page of my custom theme was loaded. All other WordPress sites that I’m hosting have not suffered from this problem.

This could be a theme specific problem so the safe bet for now is using the default theme. The header is in a mess I know and I’ll fix that later when I have time.

[Edited: now using this modified K2 theme with my custom theme functions all commented out for the moment, these functions appear to be driving php-cgi crazy when they are loaded. The misery is that why all in a sudden this became a problem as I must have these functions in use for many months. Perhaps I need to revisit slice optimization again such as this one. ]

A 3 columns theme

October 25, 2008

I’ve never done one 3 columns theme before, this is first.
There are few features, in particular

  • entry.single will call entry.sidebar
  • comments will call comments.sidebar
  • search will call search.sidebar
  • tag will call tag.sidebar
  • display of single post is moved to a post-block.php, this makes changing easy at just one file
  • Google adsense codes are put in 2 files horizontal.googleads, vertial.googleads and also Amazon ads in amazonads files, so if I play with this on localhost I just have to comment out the include file line
  • there is virtually no image used except one in the header
  • Google analytic codes are also in a separate file such that they are not called when theme is not online
  • style sheet is small 4,687b vs 14,692b (system K2 theme)

My rationale is for certain display to have conditional sidebar for cases like single post and rendering of search/tag search results.

I have tried to make the style sheet as small/light as possible but still there 200+ lines.