Browsing all posts tagged wordpress

Here's a handy tip for all you WordPress 2.x users out there. The inline uploading feature of the "Write Post" administration page was completely useless to me. I never have, nor will I ever, upload files to my web server using the WordPress interface (that's what we have SCP and SFTP for). What irritated me most, however, was that I couldn't turn this feature off, thereby hiding the iframe that contained the uploading controls. It took up a large amount of space on the admin page, and it looked ugly. But I've figured out how to "disable" it. Here's what I did:

In the wp-admin/ folder, I opened up the file named edit-form-advanced.php. Doing a search for the word upload yielded a block of code controlled by the following conditional expression:

if(current_user_can('upload_files'))

I simply commented out this block (including the conditional) with some c-style comments. I did the exact same thing for the edit-page-form.php file. VoilĂ : no more inline upload! I'm so glad I've been able to reclaim that wasted screen real estate.

Over the past week or two, I've noticed increasing amounts of bogus referral links in my website statistics. This so called "referral spam" has nearly gotten out of control, so I'm employing yet another WordPress plugin (Referrer Bouncer) to combat this plague. The spammed referral links are interesting: poker sites, ring tone sites, and even "adult" sites. We'll see how well this works out.

Posting may be slow over the upcoming days. I'm very busy with something that I'll talk more about soon.

Spam Karma 2.0

Sep 30, 2005

I have recently been bombarded with trackback spam here at my blog. After searching around the web, I decided to try out Spam Karma 2.0, a neat little plugin for WordPress. I have only used it for a very short time, but it's already filtered out the spam I was seeing! If you are having problems with spam on your WordPress blog, I highly recommend this plugin.

As a bonus, all first-time comments will be viewable immediately (they no longer go to moderation).

New WordPress Version

Aug 16, 2005

A brand new WordPress release was made available a few days ago. I have updated my copy of it at this site, and hopefully I didn't break anything. Several bug fixes and a new feature or two round out this new release.