Latest crap from the codemonkey
Crap tagged with wp-hacks
This Sunday is International Talk like a Pirate Day, and in honor of this glorious holiday, this post, plus all the comments that are added to it will be automagically converted to Pirate via Dougal’s snazzy Text Filter Suite.
Post from me will probably be infrequent for the next week or so as I bear down on various projects that are approaching deadline, hope you all are doing well. Oh and look for version .7 RC 1 of Mass Delete in the next day or so.
Go here and get it.
Now that I have found the bug and squashed it, here is a little ditty that will make it easier to delete large amounts of spam in one fail swoop. Mass Comment Delete.
While it is true that there is mass deleting already built into WP 1.3, I didn’t care for it that much, and the amount of time it takes to use it when you get hit by 260+ spams at once. The most efficient way to deal with that much spam is to issue SQL commands against your database, unfortunately for a lot of our users this is a bit much to ask, so enter my newest hack. Here is a screenshot:
…
Note to self, when writing a hack that deletes comments, do not use your live server to test against, because you might wipe out all your comments.
Also don’t hack on comment deletion when you have been deprived of sleep. I will be restoring some of my comments from a backup, but I imagine that I have lot 150 - 200 comments in this fiasco. Bah.
I have completed around 95% of the work for my latest plugin/hack combo.
This time out I am giving you good people the ability to set the text of your comments link on a per post basis. So if you wrote a post about dreams, the link to leave comments could be like this:
So what are you dreaming? (0)
instead of the normal:
Comments (0)
…
Now we comes the part where we throw in some cache-action. Brought to you by the Dynamic Duo Mattman and Zeller the Boy Wonder. Now Staticize Reloaded is not the best thing since sliced bread, but it is pretty great regardless.
Now I am not going to get into the “how” the plugin works, I mean who wants that! We are Americans, we just want it to work now! So anywhoo, follow these easy steps to set up a little cache action:
Latest crap from the photoman