My spam words list is pretty good and has been catching almost all spam (and very few "legitmate" comments) – however, my complaint has been that the moderation page makes you manually select under each and every comment, the delete "radio" button. If a lot of comment spam has been thrown into moderation, I want an easy way to "select all for delete". So I wrote a little javascript that you can add to your moderation.php page (in wp-admin folder) (yes, sorry, core wp file editing – if you have another way – suggest it) that will auto-select the "delete" radio for all comments on the moderation page.
Read the rest of this entry »
Now this is very slick. She had some earlier versions of this script, which would add everything and anything to the "spam words" list – but this latest version lets you pick and choose what will be added – as well, it doesn't appear that you need to modify any core WP code. VERY nice!
Kitten's Spam Words
When someone leaves a comment on a WordPress blog, a cookie is saved to their computer with the name, e-mail, and URI that they entered. This is quite handy for most people, but it may bother those who use public or shared computers. WordPress does not by default have a way for commenters to specify that they don't want their info saved to a cookie, so here's a way to do that.
Warning: This is not just a plugin. You are going to add a few lines to a core WordPress file. Just so you know.
Read the rest of this entry »
This plugin will allow you to put next / previous links for date archive pages. For example, you're looking at the archive page for "January 7, 2004" – it will put a link to the previous day and next day page. If there are no posts on that day – it will look for the next available day that has posts. So in our example – if we had posts on January 6, January 7 (the page we're looking at) and there wasn't another post until January 10. Calling the two functions in this plugin, you could do this:
« January 6, 2004 | Home | January 10, 2004 »
Current Version: v 2.0
Last updated: 11/04/04 10:10pm
Read the rest of this entry »
27 Jun, 2004
Posted by: Jennifer In: mySQL
I'm working on a plugin that required getting the earliest date in the database, and also getting the oldest date in the database. I was hoping that there was a built-in function that did this – and there is.
I found this helpful article on various mySQL techniques. And this is the one I was going to use:
MIN() will return the earliest date, while MAX() returns the latest date.
So the mySQL statement will look something like this:
SELECT MIN(DateFieldName) FROM TableName
Just noticed this plugin on the wordpress plugins wiki page:
Image Browser
"This plugin adds an "Insert Image" button to the edit screen which opens an image browser to select from all previously uploaded images and add the appropriate code to the post. If you want, you can consider it a sort of mini-gallery for easy selection of images, you want to include in your post."
25 Jun, 2004
Posted by: Jennifer In: Bookmarks
This is just the coolest thing. I was looking for a script that would preload images and show a status bar based on the progress, and this is what I found. Very easy to use/setup!
(Little side note/disclaimer: If you use this kind of thing on a regular webpage – your users may get annoyed that they have to wait while the images load before they can go to your site. So, this may or may not be useful for the 'general public.' In my case, this suited a very particular need perfectly.)
Comments Off on Preload Images
24 Jun, 2004
Posted by: Jennifer In: mySQL
So tired of searching for this, (I know it's simple, but for some reason I can't seem to keep it in memory. LOL!)
You just deleted all the rows in a table – but when you add new rows – they're still starting where the deleted ones left off.
Run this sql query to reset the autoincrement value:
TRUNCATE TABLE (TABLENAME)