Archive for the Tag: code

*** While browsing the archives, post contents are stripped down to only include the words without any links or special formatting. Once you find what you are looking for, please click through to view the full post as it was written.

WordPress Plugin: Comment Author URL Stripper

Published on Monday, February 4th, 2008 at 10:37pm.

As promised, I’ve created a plugin which removes the URL from a comment author if it contains any of the words specified in the Options screen. Too many people have been leaving comments and putting in yahoo, gmail, hotmail, etc. as their web site and I got tired of editing those comments all of the time. (...)

Continue reading WordPress Plugin: Comment Author URL Stripper »

Short and Sweet Code

Published on Wednesday, November 8th, 2006 at 11:38am.

Short and sweet code techniques…Echo/Return Logic and Alternating Rows. (...)

Continue reading Short and Sweet Code »

Google Adsense Flickering Fix

Published on Tuesday, July 26th, 2005 at 6:36pm.

I don’t know how long I’ve been bothered by the Firefox problem with Google Adsense ad blocks. I’m sure you know what I’m referring to. While a web page is loading all you can see are Google ads flickering across the page. Or you’re on a site and when you move the mouse over a link, the Google ads flicker. It’s rather annoying. (...)

Continue reading Google Adsense Flickering Fix »

WordPress Plugin Update Notification

Published on Friday, June 24th, 2005 at 11:58am.

Last night I went out searching for plugin updates. I use quite a few plugins at all of my sites, so I wanted to get everything updated. After visiting countless sites, I became frustrated. Most people post about their plugins on their own blogs, but finding some updates is like looking for a needle in a haystack. Today the light bulb went off. (...)

Continue reading WordPress Plugin Update Notification »

Cheat Sheets

Published on Monday, May 2nd, 2005 at 8:29pm.

PHP and CSS cheat sheets. (Thanks If…Else!) (...)

Continue reading Cheat Sheets »

Card Converter Update

Published on Sunday, April 10th, 2005 at 10:40am.

The Card Converter plugin has been updated. There were a few things that didn’t work after converting to be compatible with WP 1.5. (...)

Continue reading Card Converter Update »

Tag, You’re It!

Published on Friday, March 25th, 2005 at 1:04pm.

Since I started using Flickr earlier this month, I’ve falling in love with tags. Using categories in WordPress has always been a burden, so made the move to rid the site of them. Using tags is much better way to classify things in my opinion. You can view a heat map or full list of the tags used here at MDV. (...)

Continue reading Tag, You’re It! »

Firefox on Steroids

Published on Sunday, March 13th, 2005 at 8:24pm.

As if Firefox wasn’t fast enough, you can make it run even quicker. (...)

Continue reading Firefox on Steroids »

WordPress Fights Spam

Published on Sunday, February 27th, 2005 at 12:18pm.

As I mentioned on Friday, I had deactivated my spam prevention plugins. It’s been about 60 hours, but all of spam fighting techniques that are built into WordPress are working extremely well. One thing I noticed however was pingbacks automatically being approved. I had trackbacks moderated by a plugin I wrote, but otherwise they would have been approved also. (...)

Continue reading WordPress Fights Spam »

Fight the Spam

Published on Friday, February 25th, 2005 at 8:33am.

Last night I deactivated the WP Hashcash plugin here and at 2 Hole Cards to see how it goes. As of right now, the only spam plugin I have activated is my moderate trackback plugin. We’ll see how the spam prevention measures that are built into WordPress do. (...)

Continue reading Fight the Spam »

I Code

Published on Monday, February 21st, 2005 at 8:52pm.

Today was the first day in a long time that I didn’t want to leave work at 4:30. I’ve been coding a program for the past week and because of the short work day I didn’t get time to work on it until almost 4:00. I was just getting into the zone and found out where my bug was when a co-worker mentioned it was time to go home. Time flies when you’re doing what you like. (...)

Continue reading I Code »

Trackback and Pingback Moderation Updates

Published on Monday, February 21st, 2005 at 8:13pm.

I’ve updated the plugins for moderating pingbacks and trackbacks. They now work like I should have first created them. The PB or TB is set to moderate before being committed to the database. This eliminates my query to the database and it also allows WordPress to send you the correct email message. The latest version for each is 1.2. (...)

Continue reading Trackback and Pingback Moderation Updates »

Updated WordPress Plugins

Published on Sunday, February 20th, 2005 at 11:41am.

I’ve updated all of my WordPress plugins for WP 1.5 compatibility. Most of them would have functioned without a problem, so I didn’t make many changes. Enjoy! (...)

Continue reading Updated WordPress Plugins »

MDV Archive

Published on Saturday, February 19th, 2005 at 4:08pm.

Want a better archiving system for WordPress? You may remember the old MtDewVirus archives system, but this is much better. The new theme system makes it possible. You can see it in action on the archives here at MtDewVirus and get the files at the MDV Archive page. (...)

Continue reading MDV Archive »

Forward

Published on Saturday, February 19th, 2005 at 11:38am.

I’m pretty happy with the way the design turned out. I call it Forward because of it’s relation to my life right now. We can usually tell what is over our heads and what is under our feet, but we don’t always know what’s right in front of us. For instance, just look at the header and footer images. (...)

Continue reading Forward »

Change Of Scenery

Published on Thursday, February 3rd, 2005 at 4:25pm.

MtDewVirus realy needs a change of scenery…I just haven’t wanted to spend the time on a new design though. WordPress 1.5 has entered the gamma stage, so it shouldn’t be long before the final release. Maybe that’s when I’ll work on some changes around here since there are some new features that I’ve planned to take advantage of for quite some time. (...)

Continue reading Change Of Scenery »

WordPress Plugin Repository

Published on Sunday, January 16th, 2005 at 3:00pm.

Recently, the WordPress Plugin Repository was launched, so I figured I should participate. I just got done adding all of my plugins. It’s a little bit of a process getting things in and out, but I think I got the hang of it now. I’ve created a page in the Wiki at wp-plugins.org that lists them all for easy access. (...)

Continue reading WordPress Plugin Repository »

Coding Zone

Published on Sunday, January 9th, 2005 at 9:21pm.

I love it when I get into a coding zone. Over the last few days I’ve released moderation plugins, found a new contact form, fixed some of my old plugins, installed my archiving system on someone’s site, updated Poker Chip Tricks, and setup discussion forums. Phew! (...)

Continue reading Coding Zone »

Comment And Post Plugin Updates

Published on Friday, January 7th, 2005 at 9:26pm.

I just updated almost all of the comment and post plugins. Thanks to everyone for your suggestions and fixes. Everything has been moved over the to WordPress Plugin Repository. See my list of plugins. (...)

Continue reading Comment And Post Plugin Updates »

WordPress Plugins: Trackback And Pingback Moderation

Published on Thursday, January 6th, 2005 at 1:11am.

These two plugins basically do the same thing, but I wanted to keep them seperate. When you turn one on, it will automatically place either all NEW trackbacks or all NEW pingbacks (depending on the plugin) into the comment moderation queue. It’s meant as a simple way to keep the spammers from getting these onto your site without you first approving them. (...)

Continue reading WordPress Plugins: Trackback And Pingback Moderation »

Trackback Spam

Published on Wednesday, January 5th, 2005 at 1:48pm.

Now that I’ve gotten a handle on the comment spam taking over my blogs, I’m getting hit through other means. Trackbacks! I found a few hooks in the WP code that I can plug into, so tonight I plan to whip up a few plugins so that pingbacks and trackbacks can automatically be put into the moderation queue. At least that’s what I hope to accomplish. (...)

Continue reading Trackback Spam »

Stop The Comment Spam

Published on Sunday, January 2nd, 2005 at 2:16pm.

Hopefully comment spam is a thing of the past. I want to apologize to anyone who has attempted to comment recently and has been redirected to the FBI’s site. I think my comment spam checking system was going a little haywire from all of the spammers and it was flagging some of you that were attempting to leave legitimate comments. (...)

Continue reading Stop The Comment Spam »

WordPress Comment SPAM Plugins

Published on Friday, October 29th, 2004 at 8:46am.

I’m now using two plugins to help me combat comment SPAM. The first is Kitten’s Spam Words, which gives you an easy way to delete comments and mark them as spam at the same time. This helps to create a list of comment spam words in WordPress so that further comments will automatically be held for moderation. The second plugin is Mark Ghosh’s Three Strikes Spam Protection. (...)

Continue reading WordPress Comment SPAM Plugins »

Livesearch

Published on Friday, October 15th, 2004 at 4:23pm.

Michael over at Binary Bonsai has implemented a Livesearch feature for WP. Very cool! (...)

Continue reading Livesearch »

WordPress Plugin: Card Converter

Published on Tuesday, September 28th, 2004 at 6:55pm.

Card Converter is a WordPress plugin with poker bloggers in mind, but it can be used by anyone who would like to display playing cards in posts and comments. It will take card abbreviations such as Ad (meaning Ace of diamonds) and convert it to a CSS graphical-like representation of the card. (...)

Continue reading WordPress Plugin: Card Converter »

WP-Dstats2

Published on Monday, September 27th, 2004 at 1:46pm.

Sweet stats plugin for WordPress. Exactly what I’m looking for and very powerful. (...)

Continue reading WP-Dstats2 »

WordPress Pokerhand Plugin

Published on Thursday, September 23rd, 2004 at 7:33pm.

Chris’s Pokerhand plugin for WordPress is one the greatest I’ve seen…at least for a poker player with a blog running WP. When you type a hand like AcKs (along with surrounding tags) it will display the “c” as a club and the “s” as a spade. Sweet! (...)

Continue reading WordPress Pokerhand Plugin »

More Pictorialis Bug Fixes

Published on Sunday, September 19th, 2004 at 10:26am.

Found and fixed two more bugs in Pictorialis II. Here and here. (...)

Continue reading More Pictorialis Bug Fixes »

Next-Previous Fix for Pictorialis

Published on Saturday, September 18th, 2004 at 1:12am.

Pictorialis II has had a problem with the Next Photo and Previous Photo links since it was released. After a post in the forums tipped me off, I came up with a solution. Fix yours! (...)

Continue reading Next-Previous Fix for Pictorialis »

WordPress Plugin: Last Modified

Published on Sunday, September 12th, 2004 at 10:18pm.

While working on my new Poker Chip Tricks site, I had the need to show the date and time that a post was last modified. I didn’t feel like looking around on the WP site to see if a plugin was already written, so I wrote my own. It’s just a simple little plugin, but it does exactly what I want it to. You can find it along with all of the other plugins that I’ve written. Enjoy! (...)

Continue reading WordPress Plugin: Last Modified »

Comments Posted Elsewhere

Published on Wednesday, September 1st, 2004 at 8:57pm.

It’s been awhile since I’ve released any WordPress plugins or even worked on any for that matter. But today, I’m releasing a new one called Comments Posted Elsewhere. You can find it in the WP Plugins Repository here. The entire idea for this one goes out to Neil Uchitel who came to me with the idea. (...)

Continue reading Comments Posted Elsewhere »

WP-Amazon

Published on Thursday, July 1st, 2004 at 11:55am.

If you include pictures of books, DVDs, or other things in posts, you need WP-Amazon, another great WordPress Plugin. (...)

Continue reading WP-Amazon »

Workin’ It

Published on Tuesday, June 22nd, 2004 at 10:46pm.

Today was one of the best days at work that I’ve had in a long time. It flew by because of this, so that was an added bonus. About 2 months ago I was assigned the task of HEAT Administrator for our Help Desk. No added pay or job title, just another responsibility. HEAT is our call logging system, which communicates with an SQL server as the back-end. (...)

Continue reading Workin’ It »

PHP Sharing

Published on Monday, June 21st, 2004 at 11:57pm.

Share your PHP code. Useful for quickly pasting some PHP code up to a site in order for someone else to troubleshoot a problem. Credit to: GoodSnake (...)

Continue reading PHP Sharing »

Digital Fortress

Published on Wednesday, June 9th, 2004 at 12:19pm.

Another great one by Dan Brown, but ranks 3rd of the three I’ve read so far. This one is a thriller based around the Cryptology department of the NSA. One of the agency’s former employees has created an unbreakable encryption algorithm and threatens to release it to the world if the NSA does not let the country know about their super code breaking computer. (...)

Continue reading Digital Fortress »

3D CSS Box Model

Published on Friday, May 21st, 2004 at 12:27pm.

A nice diagram that shows how CSS padding, border, margin, background-color, and background-image are stacked. (...)

Continue reading 3D CSS Box Model »

Matching Google Ads

Published on Friday, May 21st, 2004 at 12:33am.

So you want your Google Ads to match the rest of your page, but you have a style switcher. All of the sudden your green colored ads (that match your green style) don’t match the pretty pink style. See the problem? You may have noticed that my Ads change with the style. Here’s how I did it… Yes, I know it’s not an elegant solution, but it works. (...)

Continue reading Matching Google Ads »

WordPress Plugins

Published on Sunday, May 16th, 2004 at 12:21pm.

WordPress 1.2 is in final testing and the final release should be available sometime this week. There is a nice new plugin structure to replace the previous hacks functionality. As a result, I’ve ported some of my hacks over to plugins. Everything has been moved over the to WordPress Plugin Repository. See my list of plugins. (...)

Continue reading WordPress Plugins »

GMT vs. UTC

Published on Thursday, February 26th, 2004 at 5:44pm.

Recent updates to the way dates and times are stored in the MySQL database by WordPress are causing quite a stir at the Support Forums. When I ran a few upgrades the other day, the new code had a lot of bugs, so my site hit the shitter for a bit. Everything is running smooth again though after a few more updates. (...)

Continue reading GMT vs. UTC »