scriptygoddess

Archive for the ‘Scripts’ Category

14 May, 2003

Password protect your page

Posted by: Jennifer In: Scripts

I wrote this script to password-protect a page of mine. This has some disadvantages in that you need to implement this on every page you want to password protect, though you can throw it into a header/footer file to cover a set of pages. I use this in MT to password protect a private journal […]

11 May, 2003

Another way to manage links

Posted by: Jennifer In: Script snippet

Back when I first changed the format of my page so that I had the same list of links down the side of every page, I quickly discovered that it was a pain to have to go through 5 or 6 pages of HTML/PHP adding new links here and there. I eventually came up with […]

22 Apr, 2003

Password Protection

Posted by: Jennifer In: Scripts

VERY basic password protection script. It's based off ONE username/password set. Pages that are protected by the password maintain a "session cookie" with the encrypted username and password. Here's the download (Requires the use of PHP on all pages that will be password protected) Testing on this script has been minimal. (Hey, its free!)

06 Apr, 2003

pagination

Posted by: kristine In: Scripts

Pagination is a great way to show a bunch of data from a MySQL database without showing it all at once. An example: the Picture Yourself sidebar is paginated. I saw a great overview article at DevShed this morning on this subject. Check out Paginating MySQL Data with PHP. For some Movable Type specific options, […]

01 Apr, 2003

Multi Mini Poll

Posted by: Jennifer In: Scripts

This script is kind of like that micropoll – except it will allow you to have as many options as you want. Here's a little demo: Who's your favorite action character: It should be pretty easy to use. However, this is a BETA (read: UNTESTED and readme probably is poorly written. LOL!) Have fun! 😉 […]

29 Mar, 2003

show more of this comment…

Posted by: Jennifer In: Scripts

So you've got a few people who like to leave really long comments on your blog. It's all well and good, but it's making your page run really long, and some people just don't want to scroll through all that just to get to the next comment. This script will let you (after a certain […]

18 Mar, 2003

Get users IP with PHP

Posted by: Jennifer In: Script snippet

Not sure why I haven't posted this before. (or maybe I did and I'm just drawing a blank). Get the IP of the user: if ($_SERVER['HTTP_X_FORWARD_FOR']) { $ip = $_SERVER['HTTP_X_FORWARD_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } I've also seen it done this way too but for some reason I was under the impression the […]

17 Mar, 2003

show hide layer in same position

Posted by: Jennifer In: Scripts

A few people have asked for code similar to this. Basically this will allow you to show/hide layers where one layer hides and another shows in it's place depending on what you click. This code comes with Dreamweaver MX, and if you have it and know how to use it – it's nice there because […]

16 Mar, 2003

Drop down month archives

Posted by: Jennifer In: Scripts

I'm clearing out some of my templates and had this in a test page. I don't know if I ever posted the code here, so just in case I hadn't, here's the code to create a dropdown "jump box" that will forward you to the selected month's archive. (Script assumes you are on MT. No […]

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 […]


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