Page 1 of 1

Copy old book entry to entries.txt

Posted: Fri Feb 29, 2008 12:36 am
by sandy
Write your message below:

After successful uploading and testing with one entry I thought just below that entry copy and paste my other guestbook messages exatly same and it worked :cry: but name placed in correct box in the table but message didn’t, message also in the same box as name! Then I tried looking into all the script to find solution but didn’t succeeded please help your help will be appreciated.

Please see http://www.sandeepraval.com/forms/newbook/gbook.php

I must say thank you for providing nice best guestbook script it has real potential

Posted: Fri Feb 29, 2008 7:26 am
by Klemen
Did you copy old entries from:

a) previous version of GBook

- or -

b) from another guestbook script (not GBook)?


If a) try uploading the old entries file again as GBook posts are backwards-compatible.

If b) this won't work because virtually each guestbook (or other) script has it's unique database structure and just copying one to another will not work. You can't just copy/paste data from one guestbook to a completely different script and expect it to work.

hi

Posted: Fri Feb 29, 2008 2:18 pm
by sandy
many thanks for promp reply :)
because i thought as you said you can't do other way because difference on database from many books so what exatly i did instead of entering each time in to my book i just manualy entered all antry in to entries.txt
i have just bought you bear!paypal :D

if you cant do this then help me on temporary take off the date added and i will do labour :( for 1 hour to enter all my old entry manualy as you sign a book

Posted: Fri Feb 29, 2008 2:43 pm
by Klemen
Well if you can change your old file into this format:

NAMEtabFROMtabEMAILtabURLtabCOMMENTStabDATEtab

then just pasting inside to GBook file should work.

tab = the Tab key (separates info)

If any info is missing (like e-mail or URL) you can leave it empty, but the tab must still be there

For example (without URL and e-mail):

JohntabUKtab tab tabTest commentstabFeb 29, 2008tab



- OR -

You could simply leave old entries in your old guestbook, disable posting new entries and add a link to the top of the new guestbook saying something like "Old guestbook archive". This way your old posts stay in the old guestbook and if anyone wants to read them they can click the link and go to your old guestbook.


- OR -

Do it manually :wink:

done

Posted: Sat Mar 01, 2008 2:24 am
by sandy
thank you tab worked just done it best wishes :D