13 Feb, 2003
Posted by: Jennifer In: Scripts
This is from another script request – Show most recent comments AND how many comments that person has made in total. Sort of a combination of this (Show most recent comments) and Girlie's comment leader script.
12 Feb, 2003
Posted by: kristine In: MT hacks
Earlier today, I saw a lazy web post about using mod_rewrite to redirect pages if you change your MT URLs. Check out Generating MT Entry Redirects. Another thought that I had today — if you are moving a blog from one location to another (think changing domains), you could use a redirect right in the […]
Comments Off on Redirects in MT
12 Feb, 2003
Posted by: Jennifer In: Bookmarks
Natalie posted links to download her "Exercise Journal" script, and her "TV Guide" script.
12 Feb, 2003
Posted by: Jennifer In: Scripts
Pretty simple script. This is in response to a script request. Show a different image, or display a different line of text – (maybe even a different color for your site!) depending on the time. Very simple. All based on the date() function in php.
Chalk this up to "not one of my finer (smarter) moments". This is so silly, I probably shouldn't even admit to not realizing this – but I'm putting it here so I never forget it again. I had wanted to run a SELECT query where the conditional would be set with the "LIKE" – but […]
Comments Off on sprintf and mySQL's "LIKE"
10 Feb, 2003
Posted by: Jennifer In: Scripts
Promo asked for a script that would display comments on the main page, but in a scrolling box, so that if the comments ran long, they didn't make the page unbareably long (but still all visible on the one page). It was actually incredibly simple to do thanks to CSS. (He also only wanted it […]
It is usually recommended to do some javascript validation on a form before it's sent. This way, you don't have to waste server resources doing this. (It's still recommended to do some server side validation as well – but hopefully you can cut out some of the mistakes with the client side/javascript validation).
(another non-blog post) Problem: Let's say you're displaying rows of data from your database, and there's just too many rows for one page. You'd like to show X number of rows of data per page, and then have "next"/"previous" buttons to navigate through the list. Let's also say you want to be able to sort […]
09 Feb, 2003
Posted by: Christine In: MT hacks
From my travels for today: :: Want to convert from LiveJournal to MT? Meredith has information on how to do it here and is working on a full tutorial. :: SimpleComments from Kalsey Consulting Group will allow you to display your comments and your trackback pings all together in one spot. The logic being that […]
08 Feb, 2003
Posted by: kristine In: Bookmarks
I've had the opportunity to play with a teeny tiny bit of perl while helping on the Plugin Manager project (which you are welcome to leave some of your thoughts and comments on!), and so since I have a ton of windows open with great info right now, I figured I'd post them here PerlFAQ […]