Click to See Complete Forum and Search --> : Other uses for the guestbook script


Dark Dragon
06-04-2003, 02:30 PM
Although I was warned I decided to go ahead and try the guestbook codes from the scriptarchive site.

I was wondering if I can use the same codes for a "tips and hints" section by changing the file names of the guestbook and change the references in the perl script thingee?

Jona
06-04-2003, 03:34 PM
You mean where people can post tips and tricks?

Jona

Dark Dragon
06-04-2003, 03:58 PM
Well, duh!!!!:rolleyes:

Jona
06-04-2003, 04:05 PM
I just asked for clarification. (Duh):D

Jona

pyro
06-04-2003, 04:06 PM
It sounds more like a shoultbox... You can find Perl ones here:
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Chat/Shoutbox/
or PHP ones here (there are more there than in the Perl section):
http://php.resourceindex.com/Complete_Scripts/Chat/Shoutbox/

Dark Dragon
06-04-2003, 04:14 PM
I just asked for clarification. (Duh) Hee-hee...:D


Thank Pyro but I don't want a shoutbox...I want people to be able to post tips and view the ones others have posted as well...just like the guestbook

pyro
06-04-2003, 04:29 PM
Originally posted by Dark Dragon
I want people to be able to post tips and view the ones others have posted as wellSounds like a shoutbox to me...

Dark Dragon
06-04-2003, 05:33 PM
AARRGGHH!!!

Pyro! I-do-not-want-a-shoutbox....I want it to be in the near same format as the guestbook...people post and people view....I am not after a forum or chatroom.

God I swear you are doing this stunt on purpose...

Jona
06-04-2003, 05:40 PM
DD, give it a rest. For one you never even posted any code. :rolleyes:

Also, I think Pyro is pretty much convinced that you want a shoutbox--until now. :)

You might want to try to be more specific, too...

Goin' nutz with smillies... :) ;) :D :p :rolleyes:
Jona

Dark Dragon
06-04-2003, 05:48 PM
DD, give it a rest. For one you never even posted any code.

First off the script I got off of scriptarchive.com is too long to post...so don't sound so snooty;)

But I will post the script as an attachment..hopefully it works so take a look at it and tell me if it would work if I just replaced the original guestbook names with the copies of the renamed guestbook html documents

pyro
06-04-2003, 06:48 PM
Don't get all cranky on me... I personally don't care what you use. :rolleyes:

Yes, it looks like the guestbook will work by renaming the pages...

Dark Dragon
06-04-2003, 06:58 PM
Don't get all cranky on me...

Uh-huh..whatever Pyro dear;)

However do I have to change the references wherever it has the original names of the original documents?

For example I see Guestbook mentioned several times so I imagine I need to change those references too...right?

pyro
06-04-2003, 07:01 PM
From what I can see, no, you shouldn't have to change other things. Probably just these:

# Set Variables

$guestbookurl = "http://your.host.com/~yourname/guestbook.html";
$guestbookreal = "/home/yourname/public_html/guestbook.html";
$guestlog = "/home/yourname/public_html/guestlog.html";
$cgiurl = "http://your.host.com/cgi-bin/guestbook.pl";
$date_command = "/usr/bin/date";

If you want more help, it would be nice to see you show some appreciation, or at the very least, a bit of respect...

Dark Dragon
06-04-2003, 07:18 PM
Twas a wee bit of a joke, Pyro:rolleyes:

Offenses were not part of my intentions

Anyway Thanks..I was sweating because I seen the documents mentioned several times all through the script...so all I gotta do is change the references in those few lines...what a relief.:D