Copy old book entry to entries.txt

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
sandy
Posts: 3
Joined: Thu Feb 28, 2008 11:46 pm

Copy old book entry to entries.txt

Post 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
Last edited by sandy on Sat Mar 01, 2008 2:26 am, edited 2 times in total.
sandy
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
sandy
Posts: 3
Joined: Thu Feb 28, 2008 11:46 pm

hi

Post 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
sandy
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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:
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
sandy
Posts: 3
Joined: Thu Feb 28, 2008 11:46 pm

done

Post by sandy »

thank you tab worked just done it best wishes :D
sandy
Post Reply