scriptygoddess

30 Jun, 2004

Comment Moderation – Select all for delete

Posted by: Jennifer In: WordPress Hacks

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

29 Jun, 2004

Forget User Info

Posted by: Jennifer In: WordPress my-hacks additions|WordPress scripts

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 »

I just finished making some major changes to the Previous Archive Date / Next Archive Date links plugin. Just wanted to give the heads up.

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

Getting Dates in mySQL with MIN() and MAX()

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

26 Jun, 2004

Insert Image plugin

Posted by: Jennifer In: WordPress Bookmarks to Plugins

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

Preload Images

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

Reset autoincrement value in mysql tabl

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)

24 Jun, 2004

Many Plugins/Hacks

Posted by: Jennifer In: WordPress Bookmarks to Plugins

I found the following plugins on Blogging Pro:

WP Amazon
Easily add links to products mentioned in your post

WordPress Email Notification
Let users sign up to be notified of emails when you post something new
(although bloglet has been working okay for me)

Automatic Images for headlines
Generates PNGs for your headlines.

Pictorialis
wordpress powered photoblogging

And these from Weblog Tools Collection:

Sticky Post Hack
Get a post to stay indefinitely (until you decide) at the top of your blog

MooseCandy
Sticks content above your post (example shows Google Ad Sense banner)

(And these I actually knew about but seeing them on Blogging pro, reminded me I needed to save the link)

Weekday Plugin
Will let you show the weekday (or Today, yesterday, Tuesday, Monday, etc. )

Comment Leader plugin
Lists the names of the people who comment the most on your blog

Seperate Trackback Popup page
Allows you to have your trackbacks on a completely seperate (pop up) page. (again, very much like MT)

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements