Google Answers Logo
View Question
 
Q: guestbook ( Answered,   1 Comment )
Question  
Subject: guestbook
Category: Computers > Programming
Asked by: liamsi-ga
List Price: $20.00
Posted: 17 Mar 2003 19:01 PST
Expires: 16 Apr 2003 20:01 PDT
Question ID: 177588
I am interested in a guestbook script for my site. I would like a
password protected admin section, that allows for the posts to be
edited, and deleted. Also the submition fields should be editable. i
would like the setup to be the posts first, and the form to add
submitions at the bottom. i would like 10 posts per page.
im am currently being hosted by www.hypermart.com. Check to see what
scripts the support.
Answer  
Subject: Re: guestbook
Answered By: serenata-ga on 18 Mar 2003 01:09 PST
 
Hi Liamsi -

I have found what I think will be a good guestbook for you - it is
Guestbook25.
 - http://www.guestbook25.com/

It has all the features you asked for, including
 * password protected admin section
 * ability to edit and delete scripts
 * editable submission fields
 * ability to post from the page you read from
 * fully customizable.

You can see all the features here:
 - http://www.guestbook25.com/script/features/

Note the ease of installation (web based installation). 

You will have no problem installing this on Hypermart, given the Perl
modules that Hypermart has installed:
 - http://www.hypermart.net/t/development/serverscript/modules

Best of all, it's free!

I found this script on The CGI Resource Index >>  Programs and Scripts
>> Perl >> Guestbooks
 - http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Guestbooks/

and there several others to choose from if you do not care for this
one. I chose this one because it seemed the simplest to install and
customize to match your site.

Search terms used:
 cgi guestbooks
 perl guestbooks

Hope this helps and enjoy your guestbook!
Serenata

Request for Answer Clarification by liamsi-ga on 18 Mar 2003 07:07 PST
i am not very good with cgi scripts and such. can you walk me through
the instalation procees. thnak you.

Clarification of Answer by serenata-ga on 18 Mar 2003 12:54 PST
Hi Liamsi -

Oops! 

I posted the clarification in 'comments' below by mistake ...

Serenata
Comments  
Subject: Re: guestbook
From: serenata-ga on 18 Mar 2003 07:56 PST
 
Hi, Liamsi - 

Although I install cgi scripts on a regular basis, it is a bit
difficult to walk you through this. Google Answers prohibits our
posting personal information, so I would not be available to help you
through this.

Howeverk, once you download the program, there is a "read me" file
which will provide information on what you need to do to install the
script on your server.

This is from their Installation Guide

"To install Guestbook25 to your web server, read the following
directions:

1. First off, a couple rules about where the Guestbook25 files can go
on your web server.  You should have five files to upload:
install.cgi, admin.cgi, view.cgi, sign.cgi, and template.html .  If
your web server only allows you to run CGI/Perl files (with the .cgi
extension) in a predefined directory (often named cgi-bin), then
you're obviously going to have to put your scripts (.cgi extension
files) somewhere in there.  But other than that, you have a bunch of
options.  I recommend a setup similar to this one: upload install.cgi,
view.cgi, sign.cgi, and template.html in one directory, and upload
admin.cgi into a separate one and preferably a password-protected
directory.  You also might want to create an additional directory for
the data files which install.cgi will generate.  This directory can be
the same one as the install.cgi, sign.cgi, view.cgi, and maybe
admin.cgi (depending on where you choose to put it), the only
condition is that this directory must be have permissions of 777.  If
you don't quite get the picture yet, don't sweat it, you will in a
couple of minutes.

2. Ok, you're ready to start.  Again, make sure that you have the
following five files: template.html, admin.cgi, view.cgi, sign.cgi,
and install.cgi.

3. Open up all of the scripts (admin, sign, view, and install) with a
text editor, like Notepad, WordPad, or SimpleText.  Edit the first
line, the path to perl, to fit the location of Perl on your server. 
You will probably want to leave it as-is however, because
#!/usr/bin/perl is usually the path to perl on web servers.  If your
web server is hosted on a Windows machine, then you probably don't
need the path to perl at all, but I suggest leaving it there, just in
case.

4. Edit the scripts again with a text editor, and find the line that
looks like my $data_directory = '/path/to/your/data/directory/'; it
should be at about the 30th line down.  Change the
/path/to/your/data/directory/ to the correct path to your data
directory on your web server.

5. If you want to use your own template, configure your template.html.
 Click here for more information about templates.  If you don't want
to use your own template for Guestbook25, then when you're asked for
the "template path" in install.cgi, make sure to leave the field blank
and Guestbook25 will automatically run in Stand-Alone mode after
installation.  Note, you can always change the mode later to template
mode through the Admin Center later if you choose to.

6. Set the permissions (CHMOD on *nix servers) of the directory in
which you want your data files to 777.  If your server allows it, you
may want to store your data files in a non-web accessable directory,
for increased security.  Note that unlike in past versions of
Guestbook25, the data files will be created by the script; you don't
need to upload them yourself.

7. Upload (in ASCII mode) the script files (the ones with .cgi
extensions).

8. Set the permissions (CHMOD on Unix servers) of the script files
(admin.cgi, sign.cgi, view.cgi, and install.cgi) to 775.
-Note, like I said before, permissions for files on Windows NT servers
are the same as their parent directory's permissions, meaning that you
need to set the directory that your script files are in to 755 or
0755.

9. Run the install.cgi script (with your browser,
http://www.yourpage.com/guestbook/install.cgi) and follow directions
from there.

10. Now that everything is installed, you will want to use the
admin.cgi file to customize your guestbook further.
Note: THE DEFAULT ADMIN CENTER PASSWORD IS admin

11. Finally, DELETE the install.cgi script from your server, for
security purposes.  If everything is working fine, you shouldn't need
it again anyway."

If you are not familiar at all with working with cgi and permissions
(and it appears scarier than it really is), you can contact the writer
of the program on their contact form at
 - http://www.guestbook25.com/contact/ 

and you might even ask them to install it for you.

If you have further questions for our Google Answers Researchers,
please feel free to open another question and do so.

Yours ever so,
Serenata

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy