Page 1 of 1

Changing entries from my old guestbook to the new one

Posted: Mon Jul 17, 2006 10:46 am
by frankpaul1
Script URL: ???
Version of script: ???
Version of PHP: ????
Hosting company: mijn domein
Have you searched THIS FORUM for your problem: YES
(if not please do before posting)
If so, what terms did you try: entries, editing

Write your message below:

Hi,

I'm trying to use your guestbook as the new method to avoid those SPAMMERS. But I already have an old guestbook, with a different entries.txt file. By this I mean the way way it's categorized is different. So if I try to use the old entries.txt file in this new guestbook, it doesn't index all the information at the right place.

Now I've tried editing the old entries.txt file so that it looks exactly like the Gbook entries.txt file. But all I get now is a very long name tag.

How can I edit the old entries so that it will work with Gbook? Or do I have to copy paste every old post?

Here's the URL:

http://www.theneats.nl/test/gbook.php

Posted: Mon Jul 17, 2006 1:07 pm
by Klemen
Hi,

This is the format GBook 1.4x uses (one entry per line):

Name(TAB)From(TAB)email(TAB)url(TAB)comment(TAB)isprivate(TAB)reply(TAB)IP

what you did wrong is you used SPACE to separate data, you should use TAB

Regards

Posted: Mon Jul 17, 2006 5:34 pm
by frankpaul1
Thanks,

but I've got no idea how to insert tabs between every tag. I'm working in Excel. I can put tabs between them in Wordpad, but this would take me at least as long as copying the whole lot.

Posted: Mon Jul 17, 2006 5:41 pm
by Klemen
Can't you save from Excel as "Text (Tab delimited)"?

Posted: Mon Jul 17, 2006 5:52 pm
by frankpaul1
That's seems to work, but I can't input the date. And all my messages show up as private. What am I doing wrong,

Thanks in advance

Frank

Posted: Mon Jul 17, 2006 6:07 pm
by frankpaul1
WORKING!!!! Thanks