Posts Tagged “wordpress”

Removing Inline Upload From WordPress

Published on September 24, 2006

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.

Dealing With Referral Spam

Published on March 31, 2006

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

Published on September 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).

Copyright © 2004-2019 Jonah Bishop. Hosted by DreamHost.