scriptygoddess

14 Mar, 2003

Starting a Blog with MT

Posted by: Christine In: Bookmarks

A lot of visitors to this site already have a blog in one form or another, but for those that are considering setting one up, this is a great read – NSLog(); – Starting a Blog (with MovableType). Via Lockergnome.

Comments Off on Starting a Blog with MT

This was insipired by Quadsk8's comment here. I've actually been using this script for awhile on my personal blog, but realized I never posted the script here when GeekGrrl mentioned a longer download time on her pages when she added the show/hide script. Quadsk8 had originally suggested doing this using only MT tags – but I prefer to do it with php. I explain why at the very bottom of this post…

(note: this script requires your being able to use PHP on your page)
Read the rest of this entry »

14 Mar, 2003

Extra field in comments

Posted by: Jennifer In: MT hacks

As requested by Chris, here's a hack that will give you an extra field for your comments, and have the contents of that field included in your email notification.

(note: what this will NOT do is show those contents back on your site. I can think of a way to do that with php and mySQL (with a slight detour on the comment form submission – similar to the way comment subscribe works) and I can write up a second tutorial on that one if there's interest. OR 10 points to the person that can figure out how to hack that directly into MT.)

(another note: if/when you do upgrades to MT – you will need to do this hack again (or one similar depending on how much changes in the version of MT you're working with). This tutorial assumes you're using MT 2.63 – although it also applies to 2.62)
Read the rest of this entry »

14 Mar, 2003

the php guy

Posted by: Jennifer In: Bookmarks

Interesting php site: thephpguy.com – found by Sam (my better half) who's too cool to blog. 😉

14 Mar, 2003

Saving your PHP configure options

Posted by: dave In: Lessons learned

If you admin a (U*ix) PHP server and…
If you recompile PHP periodically and…
If you use a lot of add-ins with PHP

do yourself a favor & save your "./configure…" command to a file with:

echo ./configure -my options- > configure.sh

You can then chmod the file as you see fit so no one else can run it…

Then, when you want to reconfigure & recompile PHP, just delete config.cache & run sh configure.sh

Now back to figure out all the options I had compiled into PHP.. doh!

13 Mar, 2003

Winamp Playlists in MT

Posted by: Christine In: Bookmarks

Matt Haughey has recently converted to using MT and has come up with a way to generate a Winamp playlist for your blog using MT's Trackback feature. Read more about it here. Personally, I would put all of the information in to an include file to keep the rebuilds for your site down to a minimum.

13 Mar, 2003

Fight Off the Spambots

Posted by: Christine In: Bookmarks

If you're like me, you get way too much spam. Dive Into Mark offers up a way to block spambots, ban spybots, and tell unwanted robots to go to hell.

Disclaimer: Most of the methods require that you have the ability to modify your .htaccess file. If you are hosted with a free hosting company, you probably do NOT have this ability. Sorry.

Comments Off on Fight Off the Spambots

How often has it happened that you have a few hundred pages, with something that needs to be changed on each page? Luckily, PHP >= 4.2.0 ships with PCRE enabled by default, opening up the power of regular expressions to PHP scripters.

I'm not going to give a primer on REs (Regular Expressions), but if you don't know about them you should really sit right down & teach yourself. O'Reilly has an excellent book on them, and the program Visual REGEXP (search Freshmeat) is a great learning tool.

If you need help on running PHP from the command prompt, see my earlier post on the topic.

Here's the setup:
Read the rest of this entry »

12 Mar, 2003

Adjusting the date with php

Posted by: Jennifer In: Script snippet

Will asked about adjusting the date php displays to account for the fact that the server may not be in the same location as you. (I don't think this solved his problem with displaying the actual timezone differently – but thought it was worth putting up anyway…)

I'm sure there are other ways (if you got 'em feel free to post them or links to them in the comments. It's always interesting to see how different people solve the same problem) :)

Here's what I do:
Read the rest of this entry »

11 Mar, 2003

New Author Addition

Posted by: Jennifer In: Announcements

We are scriptygoddess… resistance is futile… you will be assimilated.

Added another author! Please welcome Lisa (aka Unix Gal) as a new scriptygoddess. :)

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