spam

Be confident with Soft Viagra

Tuesday, March 4th, 2008 | Quickie | No Comments

While cleaning out the spam folder on one of my email accounts, I ran across a piece of spam with this particularly amusing subject line:

Be confident with Soft Viagra

Soft Viagra? Does that defeat the whole point of taking Viagra? :D

Tags: , ,

Funny Comment Spam

Monday, June 5th, 2006 | Life | Comments Off

Even though I run multiple plugins to block comment spam; some still makes it into my moderation queue. Mostly it's annoying and boring, but this bit cracked me up.

Your site is very cognitive. I think you will have good future.

If you don't also find this amusing, then I probably just need more caffeine this morning. :)

Update 2006-09-13: Oddly enough, this post is suddenly get hit with all kinds of comment spam that actually makes it past my filters and into the comment moderation queue. As such, I'm here by closing comments on this post.

Tags: , , , , , ,

WordPress/Akismet Hack 0.0.2

Thursday, November 24th, 2005 | WordPress | 6 Comments

Do you run WP? Do you also have Akismet installed? Would you like a quick reference on the Dashboard showing you some info from Akismet? I do and did want this. Since I have zero idea on how to set this up as a plugin; I simply added the code into /wp-admin/index.php. I scanned through the file until I found the section of code which creates the "Latest Activity" box. Then between the sections for "Blog Stats" and "Incoming Links"1, I added the following code:

<h3><a href="http://akismet.com/" title="Stop Comment Spam and Trackback Spam « Akismet">Akismet</a> Stats</h3>
<? php
$deadspam = get_option('akismet_spam_count');
$livespam = $wpdb->get_var("SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_approved = 'spam'");
$sitelink = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_id = '1'");
print "Killed Spam Count: $deadspam\n";
if ($livespam == 0) {
print "Your spam queue is empty!";
} else {
print "<strong>Possible Spam Count: <a href="http://coffeebear.net/wp-admin/$sitelink/wp-admin/edit.php?page=akismet.php" title="Click here to see the moderation queue">$livespam</a></strong>\n";
}
?>

There's undoubtably a more elegant way of retrieving and displaying this information. And for somebody who actually writes PHP code regularly, this might even be a quick and easy plugin to create. Unfortunately, I've only read part of a book about PHP; so this is about as far as I can currently take the hack. Unlike what some people think, WordPress does not require you to be a PHP guru. It only requires a webserver with PHP, MySQL & a little patience2.

NOTE: THIS IS A CORE WORDPRESS FILE! EDIT AT YOUR OWN RISK! I AM NOT RESPONSIBLE IF YOU HOSE YOUR BLOG, SERVER, LIFE, THE UNIVERSE, AND EVERYTHING! BACKUP EVERYTHING BEFORE YOU EVEN CONSIDER ATTEMPTING THIS! ONLY ATTEMPT THIS HACK IF YOU FEEL COMFORTABLE EDITING CORE WORDPRESS FILES.

Update: Neto Cury was kind enough to point out an error in the above code. Though to be fair it's not entirely my fault. I pasted into this post the exact code I used in my file, but something in WP or one of the plugins I use appears to have changed the first part of the PHP coding from <? php to < ?php. I'm not sure what caused that, but to help people avoid getting errors; I've uploaded a text file containing the code for the hack. You can download that file here.

Update #2: Fixed a typo in the previous update. Sorry about that Neto!

Update #3 2007-04-21: I've updated this hack to modify the akismet plugin file (Akismet v2.0 for WordPress 2.1.3) instead of one of the WordPress core files. Read about it here.

1 Blog Stats ends at line 85 in my file and at the time of this writing I am running WordPress 1.5.2.
2 This is true of every CMS that I've looked at.

Tags: , , , ,

New Anti-Comment Spam Plugin

Wednesday, October 26th, 2005 | WordPress | No Comments

I'm testing out a new plugin to stop comment spammers. So if you are one of the 3 people who ever commented on this blog and you run into any problems commenting in the future; please contact me.

Tags: , , , , ,

Dear Mr. S. Bot

Tuesday, October 11th, 2005 | Rants | No Comments

Dear Mr. S. Bot,

Mr. S. Bot, do you mind if I call you Spam? No? Good. I thought I would take a moment to let you know this blog uses comment moderation to prevent you from ever appearing on its pages. Additionally, I use a variety of plugins to prevent you from even showing up in my moderation queue. Unfortunately, you've managed to find a few ways to sneak past those plugins so I actually have to do something about you. I'd rather not have to do that and since you are never going to be allowed to display any information on this blog or link to your own sites from it; please give it up and go bother somebody else.

Sincerely,
Mark

P.S. I know the odds of this actually cutting back on the flow of spam to this site are less then the odds of me throwing a snowball from my office parking lot at the sun and hitting it, but it's nice to dream. :)

Tags: , , , , , ,

Search

Change We Can Believe In | Barack Obama for President

Recent Comments

  • FineTexan: I love Dannon coffee yogurt! My favorite way to eat it is...
  • Laura: I absolutely love coffee yogurt. I am addicted, I have been...
  • Rachel: Doris, I had the same problem! I absolutely loved the Dannon...
  • ouini: The youth co-star was a better character / actor than I was...
  • Dolores Beck: Coffee Yogurt from Dannon is something special. I also...

Now Reading

Secret Societies of the Middle Ages: The Assassins, the Templars
Recent Books
Valor’s Choice I’d Tell You I Love You, But Then I’d Have to Kill You Halfway to the Grave
Future Reads
The Watch Pride of Lions The Hidden Diary of Marie Antoinette: A Novel

View full Library

Referrals

Text Link Ads