Stumbled across this: phpMySearch (homepage – download)
Stumbled across this: phpMySearch (homepage – download)
Sometimes the simplest thing are the things that seem the hardest. You're almost embarrassed when you finally figure it out – and realize how simple it was.
Cron jobs. Did you know you can create a script (that could technically be run if you pulled the page up in a browser) – but lets say you wanted to run this script on a regular basis. You can set up a cron job to run this php script.
Read the rest of this entry »
14 Jan, 2004
Posted by: Jennifer In: Script snippet
Just some snippets for safe keeping regarding radio buttons. One that will change which radio button is selected. The other that will change the focus to the appropriate radio button (useful when validating that fields are filled out in a form)
Read the rest of this entry »
So you're working on comps for an application and need to come up with a bunch of "fake" usernames (ok, maybe that's just me) in any case, this link would come in handy:
And just in case you needed to make them all hobbits or elves – you could always take those name and plug them into here or here. Or maybe you're into cyborgs, smurfs or prison bitches (in which case, please don't tell me – I REALLY don't want to know)
This is in reference to this post which included a link to a revised version of the show/hide (collapsing/expanding) script. That one was designed specifically for entries. Most people use this script for their comments to, so I made a slight change to it so that you can use ONE function that will work with both.
Read the rest of this entry »
03 Jan, 2004
Posted by: Jennifer In: Scripts
Note: To pull this off, you'll have to invest $25. It's worth it for great mailing list software, but if you're a cheapskate, do not read past this point.
I've been a big fan of Mojo Mail (now called Dada Mail because somebody has too many lawyers and too much free time) for a long time. I set it up a year ago for my day job, and have loved working with it.
I recently purchased the Pro version of the software which came with the Magic Book. The $25 Magic Book is the key to this — it's loaded with tons of extra documentation, and it comes with a bunch of cool plugins. The one I like the most is an automated mailer that will send mailings at predefined intervals, pulling from Web pages. It's called Beatitude.
I've been using Bloglet to send nightly mailings of the headlines on the site. Bloglet, while, simple, isn't very flexible or powerful. So I thought, why couldn't Beatitude be used to send off MovableType nightly entries?
It now is on my site, in both a text and HTML formatted version. Sign up using the forms over on my site, and read on below to see how I did this.
Read the rest of this entry »
Truck808 has been added to How magazine's top 10 links. In that list I found this site: MissPato.com which has a ton of great design inspiration links/thumbnails.
I've been searching for ways to password protect a directory using usernames and passwords stored in a MySQL database.
Found these links so far:
Advanced htaccess tutorial (scroll down to the Module: mod_auth_mysql part)
PHP security admin (freshmeat .net project) * (realized after I downloaded this that it won't do what I'm looking for – this will protect PAGES, not an entire directory)
(If you find any – feel free to post them in the comments)
MT Paginate: Just implemented this plugin on another (lesser known) site I run. Very easy – Very cool. I was easily able to take my category archives and paginate them so that one page wasn't loading tons and tons of entries (there was one category that was more "top heavy" than the others). The pagination won't show up unless the archive needs it. Very well done!!
[Found on MT-Plugins.org]
Read the rest of this entry »
So for a while now I've wanted to be able to use "current mood" with my posts, kind of like LiveJournal has. Then I noticed that I wasn't using my categories, well, not for anything really worthwhile. So my solution? I've made up a way for your categories to be used for your moods.
Read the rest of this entry »