multiple guestbooks on one website

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
mek113
Posts: 1
Joined: Mon Jan 11, 2010 4:22 pm

multiple guestbooks on one website

Post by mek113 »

Script URL: ?
Version of script: 1.7
Hosting company: Hostmonster
URL of phpinfo.php: general question
URL of session_test.php: n/a
What terms did you try when SEARCHING for a solution: multiple guestbook for funeral home

Write your message below:

A funeral home has asked me to develop a guestbook for posting condolences for their deceased. This would require a separate guestbook for each of the deceased persons. Is this possible to set up using this script?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

As the script is now, it uses a textdata file that is set in a settings file, The settings file is called from the gbook.php file.
It is not possible to use a different data file by calling a different link to the gbook.php file (although i am sure the guestbook could be modified to work that way).

For now you would have to set up a different folder for each guestbook and call that folder.
Or create separate gbook.php files (for example gbook1.php; gbook2.php) that each have a different setting inside to call a different settings.php file (for example settings1.php; settings2.php).

So not a good out of the box solution for what you want, but doable if you don't mind editing the script a little.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If you are going to have a large number of guestbooks you might be better off using a MySQL script and modify it to accept guestbook username as an URL parameter to avoid installing 10 (100, 1000, ....). copies of the same script on the server.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I think you are right Klemen.
Plus i think a condoleance register creates a lot of posts in a small time. Which leads to a bigger chance of corrupting the text database. A MySQL can handle that better.
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply