Category Archives: Web

Fix Nginxcp errors in WHM, conflicting server name, Address already in use

Some configurations using nginxcp in whm may see the following errors when starting/restarting WHM:

Posted in Web | Tagged , , | Leave a comment

WHM Account transfer: Unable to validate setting for cpmod: x3

Recently I got this error message “Unable to validate setting for cpmod: x3” when attempting to copy an account from another server in whm/cpanel.

Posted in Web | Tagged , | Leave a comment

Vim Syntax Highlighting for php-fpm conf files

By default, my vim installation was not recognizing conf files in the php-fpm directory (/etc/php5/fpm in debian) as ini files.

Posted in Web | Tagged , | Leave a comment

Slow connections with cli tools on Debian squeeze

One of my debian servers was taking between 5-8 seconds just to resolve a domain name when using tools such as wget, curl or scp.

Posted in Web | Tagged | Leave a comment

Automatically add alt tags to wordpress featured images

I was working on a site recently that had a few thousand images imported to wordpress after a drupal conversion, these images were set as the featured image for the imported posts. Because of the way the old site was … Continue reading

Posted in Web | Tagged | 3 Comments

Fixes for vbulletin forums hacked by Team Animus

A lot of vBulletin forums were hacked/exploited recently by a flaw in the advanced forum rules modification.

Posted in Web | Tagged | 3 Comments

Post Thumbnails in WordPress 3.0.4

In this follow-on post, I will show you to get post thumbnails showing up next to posts in a stock install of wordpress 3.0.4 with a few minor improvements.

Posted in Web | Tagged , , | 3 Comments

How to Import Posts from a Text File into WordPress

Recently, I was converting an old site that used cute news to wordpress. Here is a simple method that you can use to import news, posts or content from a text file into wordpress.

Posted in Web | Tagged , | 13 Comments

vBulletin 4: StyleVars vs Additional.css

Those of you new to vBulletin 4 may be wondering what is the best way to go about customizing the default style. Should you use StyleVars of just add custom css rules to additional.css? I use a combination of both.

Posted in Web | Tagged , | 1 Comment

Setup Local Web Development Environment on Mac

If you are a mac user and web developer like me, chances are you need a local lamp web development environment setup.

Posted in Web | Tagged , , , , , | Leave a comment