1
Stewdio
Add a simple guestbook without a module!
  • 2004/1/22 20:09

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


I have found a simple standalone guestbook script that uses php and mySQL and I have managed to integrate it into XOOPS with very little ease using just
First off, you should know that this is not a module. It is a standalone script that you can get at http://www.proxy2.de It is template based and has good administration features.

Once you have downloaded this script and installed it into a directory of your choice, (I used mysite.com/guestbook) all you need to do is add the following code to 3 files of the script.

include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>

include(XOOPS_ROOT_PATH."/footer.php");
?>

Open the following three files in your favorite editor:
addentry.php
comments.php
index.php

Add the first
Well, almost, you will need to provide a link on your site for others to get to the guestbook and for this purpose, I use the multimenu module. (a search on this site will find the module)

More advanced coders may find other ways to add this script to their site and are encouraged to share their findings. The reason I chose this method is because I don't have the needed skills to make a module of my own. From the looks of things, this looks like it can easily be modified for XOOPS modularization and is GNU licenced for those that are interested in porting this thing over.

I wanted to add some functionality to my site for visitors. I get around a thousand hits a month with 150 unique visitors on average and I really want to know who those people are so I searched high and low for a way to get something that these anonymous people would use without having to register on my site.

Download link: http://www.proxy2.de (Go here for additional help with the script please. I can't offer any ouside support)
Preview: http://stewdio.net/guestbook

[size=x-small]Other then what I have explained here, I don't know any more about how this works. Hopefuly other XOOPS users can help contribute to any problems you have using the explaination I gave. I'm just sharing something I found that works well for me and it may not work for everyone.[/size]

2
Shine
Re: Add a simple guestbook without a module!
  • 2004/1/22 22:14

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Great thanks Stew, bcause I use this guestbook for quite some time now.(indeed a great guestbook!)
Now I've 'implemented' it by using the famous framebrowser,...but this way it'll look even better. Almost as if.......

I'll cherish this thread

grtz., Shine


Login

Who's Online

454 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 454


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits