Spam and Web ads are annoying but much better than TV ads

For now my blog will continue to be ad free. Full disclosure: I’ve had two offers in the last month to expose my visitors to ads. The presumption is that I would make some (albeit small) amount of money. However, I’ve done the homework and know that the advertisers make the big bucks and not the advertisees.

Ads in all forms continue to plague the earth because some surveys consistently show that they work. The math is stark and the math simple. Someone is responding to spam email, even the icky ones. Someone is clicking on those web ads, and someone claims to be watching TV ads and even going so far as saying they are effective. Gasp! I will reluctantly agree that some ads are useful for communicating new products or features, but that doesn’t mean I have to like them.

I recently read about a survey claiming that 53% of online consumers said a TV ad had influenced them to purchase a product or service in the last twelve months. My heart nearly stopped. Yikes! Who are these people? Speaking on behalf of my own brain, it automatically shuts down within 30 milliseconds of an ad starting on TV or Hulu, or YouTube. Sometimes I can barely read a news article because my brain automatically blurs out 3/4’s of the page where presumably the evil ads are lurking.

Here’s a fact. When you watch prime time television you will be brainwashed and turned into a zombie through the constant exposure of 50 – 70 ads per hour. I’ll repeat that in case you missed it: 50 to 70 advertisements in a single hour. I can tell you this with certainty because I sat down one night and decided to convert percentage of ad time per hour into a meaningful number that anyone could understand. If you watch two TV shows back-to-back that’s possibly 100 to 140 ads that have soaked into your sleep addled brain. And, these are the actual ads and the numbers don’t include embedded product placements that are getting increasingly brazen.

After I had a grasp on the level of digital bombardment we were receiving from TV ads, I was able to take some of the full page, online, take-temporary-control-of-the-entire-browser ads with a bit more perspective. I also said a silent praise for DISH Network’s Hopper.

Maybe I’m writing this blog post because an ad told me too.

Maximum Anti-spam Measures for WordPress

On my blog I’ve had to take what I consider maximum, or perhaps even extreme, measures to minimize spam. I use captcha’s, which I don’t particularly like, as well as mandatory approval for comments along with shutting off comments after 30 days. Oh, and I’ve also commented out the code that allows for trackbacks and pingbacks.  It was the combination of these measures that finally gave me some peace-of-mind.

Back during the month when I finally implemented all of these anti-spam methods I had received over 400 spam messages via various methods. It was filling up my mail box and getting really annoying. Mostly it was the time wasted while glancing at each message to weed out legitimate comments from junk before deleting it. Now I’m down to around six or so spam comment posts per month, and while this is still annoying is a much more manageable number.

I’ve gradually accepted that I won’t be able to completely eliminate spam (argh!). And, there are several downsides to this heavy handed approach. Now, every time I upgrade to a new version of WordPress I have to re-comment out the trackbacks and pingbacks PHP code. If I don’t, I start getting spam again within 24 hours. Also, if someone wants to post a legitimate comment after 30 days they won’t be able to.

Minor Code Change – Bye Bye WordPress Trackback Spam

I’ve been getting a bit frustrated with thirty or more trackback/pingback spam emails per day from my blog. I’ve been trying to ignore it for about a month, but my inbox keeps filling up. So, I did some research and, surprisingly, most of the anti-spam WordPress blog posts are from five to six years ago. I’m currently using WordPress 3.2.1.

Some of the fixes/hacks crashed my blog faster than you can blink an eye. Others, such as turning off trackbacks/pingsbacks in the WordPress settings did nothing to stop the waterfall o’ spam. Simply put: most of the old hacks don’t work on the latest version of the WordPress. One fix was to install the Askimet plug-in, but that required registering for a key and I didn’t feel like doing that.

So, I decided to actually look at the WordPress code and create my own home-made hack just to see if it might work. What I’ve done is rather brute force.

Step 1. Locate the php file responsible for trackbacks. On my system it’s under /htdocs/WordPress/wp-trackback.php.

Step 2. [Update: 11/18/2011] Comment out the following two lines of code. Then save your work and make sure your blog still runs. These lines of code are the one that writes the trackback to the database. In theory, if I stop that from happening then I won’t be annoyed by spambots for at least a little while.

 //wp_new_comment($commentdata);
 //do_action('trackback_post', $wpdb->insert_id);

So, now that’s done I’m going to sit back and wait. I’ll update the post if my “experiment” is successful. Or, if I have to dig further into the WordPress code.

[Update: 11/18/2011] With the additional line commented out all trackbacks are now ignored and they cannot be written to the database. Sweet!