Custom Comments Notice WordPress Plugin

January 15th, 2012

Custom Comments Notice for WordPress is a plugin that allows you to add a custom message or notice to your WordPress comments form. You can set a single message for your entire site and/or choose to display notices on a per post/page basis. You can fully customize the appearance of your message including font and background colors, border and even shadow effects. The plugin comes with various icons that you can add to your message to increase its impact on your audience.

Read more »»

Converting a string to a number consistently using PHP

January 12th, 2012

Say you want to convert strings to numbers such that a string will always convert to the same number. So for example the string
“red” will always convert to 2 or the string “blue” will always convert to 1. You don’t know which strings you are going to get and the exact number they convert to doesn’t matter just that it always converts to the same number. The reason you want to do this is to pick a value from an array based on that string-converted-to-a-number i.e. you want to use the string-converted-to-a-number as the array’s index or key. How do you do that conversion using PHP?
Read more »»

Backup and restore MySQL databases

December 20th, 2011

MySQLMySQL comes with a utility called mysqldump that allows you to take a backup of your MySQL database. It generates a text file containing SQL statements that you can use to recreate your database on any MySQL server.

Read more »»

Related Products from OpenCart for WordPress

December 20th, 2011

Related Products from OpenCart (RPOC) is a new plugin that I created for WordPress. Once installed, it displays contextually related products from your OpenCart store in your WordPress blog posts.  This allows you to promote your OpenCart store using your WordPress blog.

Read more »»

CentOS continuous release repository

October 2nd, 2011

CentOSCentOS is a project run by volunteers who take the source RPMs behind Redhat Enterprise Linux or RHEL and turn it into a binary compatible free version of the OS. Because it is run by volunteers the CentOS project can sometimes fall behind in it’s releases. To address the need for timely updates the CentOS team has created a Continuous Release (CR) repository. The purpose of a CR repository is to deliver bug fixes and security updates for existing users before an ISO image of the latest point version is ready.

Read more »»