How to remove the default author profile fields in WordPress

When working on a client’s website you want the back-end to be as clutter-free as possible to avoid having to explain what certain things mean. This recently was the case when I was working on a WordPress website. I didn’t want the bother the client with fields for AIM, Jabber / Google Talk or Yahoo IM. Removing these fields was really easy to do. […]

When working on a client’s website you want the back-end to be as clutter-free as possible to avoid having to explain what certain things mean. This recently was the case when I was working on a WordPress website. I didn’t want the bother the client with fields for AIM, Jabber / Google Talk or Yahoo IM. Removing these fields was really easy to do. Continue reading “How to remove the default author profile fields in WordPress”

Setting up virtual hosting with MAMP

When I started working on a Magento-based webshop I wanted to do the primary development locally. Apparently Magento doesn’t play nice with a vanilla MAMP setup so I decided to write an article on how you can configure virtual hosting for MAMP.

My apologies for not posting anything lately but I’ve been really busy developing several Magento shops. Normally I have the luxury to start development early on a test domain but for a more recent assignment this wasn’t the case. When I decided to start working on this webshop locally I encountered big problems with Magento running in a vanilla MAMP setup so I decided to share with you how you can easily turn MAMP into a more solid testing environment. Continue reading “Setting up virtual hosting with MAMP”

Bulk change prices in Magento

This article is actually about deducting the tax from prices in Magento via SQL. A few days ago I got an e-mail by a client in which he mentioned that he actually entered the prices including tax in Magento, instead of the prices excluding tax. So I decided to write a small code snippit to change the prices.

First of all, sorry for the misleading title. This article is actually about deducting the tax from prices in Magento via SQL. A few days ago I got an e-mail by a client in which he mentioned that he entered the prices including tax in Magento, instead of the prices excluding tax. After a short investigation on the internet on how to easily edit the prices I came across a plugin which costs around $60. But I thought I could easily manage this without purchasing the plugin. Continue reading “Bulk change prices in Magento”

Changing the style of the default WordPress post editor

In this article I share with you how you can easily add custom styles to the WordPress post editor.

Recently a client of mine wanted to have the post editor in WordPress mimic the styles used on the front-end. And although I’m a big fan of WYSIWYM and rather not use WYSIWYG editors at the end of the day the client pays the bill. Continue reading “Changing the style of the default WordPress post editor”

Testing password strength with a simple regex

In a world where the biggest security risk exists between the chair and the keyboard, weak passwords are the quickest way of allowing yourself to be hacked. That’s why web developers should be helping their users to create stronger passwords. In this article I share with you the regular expression I use for this.

In a world where the biggest security risk exists between the chair and the keyboard, weak passwords are the quickest way of allowing yourself to be hacked. A brute force attack for a 8 character lowercase password can be done in (micro)seconds. And although you should always protect your application against these attacks ( e.g. allowing three wrong password entries before suspending the account ) I’ve always felt you should be “training” your end-users. Help them create strong passwords so that this specific part of security is the least of your worries when developing a web application. Continue reading “Testing password strength with a simple regex”