scriptygoddess

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, this thread (scroll down to the long post by Brenna) is where I started when I was learning to do this. And there's even an MT plugin called Paginate that I haven't tried out, but looks like it would be a good tool.

05 Apr, 2003

Snazzy resources

Posted by: Jennifer In: Bookmarks

Erika posted that she has a resources page with tons of links to photo sites, clipart sites, fonts sites, script sites, etc.

If you want more, I haven't compared the lists, but I made a few posts about free photo sites and free font sites a while back (most of the links on those can be found in the comments). And, of course, the end all be all collection of font site links is here

Comments Off on Snazzy resources

05 Apr, 2003

Portal page creation

Posted by: Jennifer In: Bookmarks

Noticed on GeekGrrl's site a few posts about how to create a portal. Looks like fun! Here's a few of the tools that were mentioned: Cheatsheet Creator and the amazing portal generator.

04 Apr, 2003

Mozilla Facelift

Posted by: dave In: Suggested reading

Ok, ok, I debated putting this here, as this really is a *scripting* site, but as anyone who can look to the left can see, I'm too lazy to have my own blog, and I think this is of interest to web users/developers (plus, I think this would probably slip under most people's radar):

Major changes to mozilla

In a major 'bout time move, Mozilla is decoupling its browser & mail components from its Gecko rendering engine. An excellent move, as I have been using Phoenix as my main browser for a while now, and its the goodness of Gecko rendering without the bloat of Mozilla. Not to mention that upgrades to the mail client won't mean upgrading your entire browser suite.

03 Apr, 2003

Multi Mini Poll

Posted by: Jennifer In: Announcements

Just a quick note to let you know that I've made a ver 2 of that Multi Mini Poll that sets a cookie so you can prevent double votes (within x number of hours) by the same person. (again, beta, not tested a whole lot – use at your own risk/frustration – I'll try to fix any obvious bugs that come up)

See original post for download

02 Apr, 2003

Running PHP on a html or htm page

Posted by: Jennifer In: How to's

I've had to look this up more times than I can count. I think I've made a post to link to it, but it'd be easier for me if this was just here. I got this code from Christine who posted it on the Blogomania support forums ages ago. (side note: Those forums are mostly for people who are hosted on Blogomania – but obviously you're free to peruse the info there)

To make your .htm or .html pages process like they were .php, just add this line to your .htaccess file:

AddType application/x-httpd-php .html .php .htm

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! 😉

Here's the download

Update 4/3/03 Here's a version 2 that sets a cookie on the users machine so they can only vote once within x number of hours. Demo here | Download here

01 Apr, 2003

Making your PHP code portable

Posted by: Lynda In: Lessons learned

Recently my host, for whatever reason decided that it would be a better idea to NOT display errors if there was an error in the PHP code. Therefore if you had a parse error, instead of getting a helpful display that said such and gave you the line number, the page would just show a blank screen.

I have absolutely NO idea why my host thought that was a good idea, but I don't care because there are certain settings in the php.ini file that I can override for my site only.

This article at evolt gives a wonderful overview of what to do and how to do it.

What I did to solve my problem was simply place the following in my .htaccess file:

php_flag display_errors on

Simple as that. You can do this with any .ini setting that is changable by all (some settings ONLY the host can control.)

From now on I'll probably stop bugging my host about such things and just change what I can change myself. There's no reason everyone on my server has to deal with the changes I suggest.

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 point) put a "show more of this comment" link. (While the show/hide script is javascript – there's some php in there to show the "show/hide" link only when the comment reaches your "max"
Read the rest of this entry »

28 Mar, 2003

pMachine Hacks Resource

Posted by: Lynda In: pMachine

Hey all! I know I haven't been around much, however most of my PHP hacking as of late has gone into pMachine and vBulletin, two programs which people don't seem to use a lot around here.

If you're interested in pMachine Hacks and help, I have developed a forum where you can track your installs, post requests and ask for help, etc.

Here's the link to the pMachine Hacks Resource Forum

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