Welcome, visitor! Log in
 

KB Plugins blog

The best Wordpress plugins are free

Category Archives: Custom

Graphs: When Spammers Attack

These charts show when spammers like to attack the most. These charts use averages dating back to January 28th, 2008, when KB Spam Blacklist starting operating on this site. These times are in my server’s time zone, where it is currently 4:53 pm.
The red line indicates the number of spams stopped, on average, for each [...]

KB Comment Links

Here’s a little plugin to fix an annoying problem. Do you ever have commenters paste an entire URL into their comment as plain text, rather than putting it in <a href="..."> tags? Or if they do use the a tags, do they still use the URL as the link text?
Sure looks ugly when people do [...]

New Plugin: KB New Posts

When somebody visits your blog’s main page, the plugin sets a cookie recording the time of their visit. If they come back a few days later, and you’ve written a new post (or many new posts) since their last visit, the plugin adds a CSS class to the new posts so that you can highlight them, or add a background image, or change the font size, or whatever you want to do to new posts.

New plugin: KB Spam Blacklist

As if there weren’t enough anti-spam plugins, right? Actually, this isn’t a traditional anti-spam plugin. This is a regular-expression based blacklist plugin. And by blacklist, I mean blacklist. If a comment matches one of your regexes, it gets deleted immediately, not sent to moderation.
Why use this plugin?
So why would you want this? I don’t know [...]

Truncate Titles

Let’s say you’ve written lots of posts with lengthy titles. But now you’re switching to a theme that doesn’t handle long titles well. Copy this into a file, name it truncateTitle.php (or whatever.php), upload to your plugins directory, and activate it in the usual way. Don’t leave any blank lines or spaces before or after [...]