Very simple guestbook script/software?

I dont have IE so I can't see how to fix your problem but I can answer the other two questions:

In the include.php file, at the top there is a piece of code with the HTML headers. If you look through it you will see it linking to a stylesheet called "stylesheet.css". You will need to point this at your own CSS stylesheet. Then you can control how it all looks. Linking to your own stylesheet might fix your current problem.

To add a password and username, you will need to scroll to the bottom of index.php where you will see an ADMIN section. There are two variables that have been set to "CHANGEME". Do what they say and change them to what you want.
 
Cheers SiriusB. I thought I already had changed the CSS file.. weird :/. I still can't find whats defining the large gap between the sections as there aren't any divs in the CSS with such a large padding, but i'll keep looking. And the password section was a bit obvious wasn't it.:o

Im not going to attempt it until im happy with the rest of the stuff that needs doing, but how would I go about making a php equivalent of frames? The reason I ask is that each time I click on a new page, the flash element at the top reloads. Ideally I would want the flash element to be persistant and just the bottom content to change. Im guessing this can be done by making a dynamic php page that simply changes its contents when a link is clicked, rather than a whole new page loading. But im not entirely sure where to start with this. Anyone got any pointers or examples of this?
 
That script works a treat tsinc80697. :) you can see it on http://www.afowler.co.uk/ under the 'messages section'. Just a couple of questions about it though;

What sections do I need to change with the style sheet to change the colour of the message posters name, and also the reply link? And more importantly, how would I go about having the newest messages at the top? Would it also be a huge job making it so that after say 20 messages, they go over onto a new page with a link "show next 20" etc?
 
There is a line of code in Index.php

Code:
//Generates comment information
        for($i=0; $i < $intComCount; $i++) //Goes through comment files, displays them

This starts from 0 and counts upwards to $intComCount. If you want the comments the other way around, you need to alter the line of code so the loop counts down.

Code:
//Generates comment information
        $count = $intComCount - 1
        for($i=$count; $i > -1; $i--) //Goes through comment files, displays them

That should do the trick. I haven't tested it so i could be miles off :p
 
Back
Top Bottom