| Author |
Message |
rafars New Member


Joined: Sep 08, 2003 Posts: 4 Location: England
|
Posted:
Tue Sep 09, 2003 11:27 am |
|
Hi
I can manually add entries from our old guestbook into kisgb.csv.php including the date and time into fields 3 & 4.
The problem is that I think the displayed date & time is taken from the first (msgid) field. As this is coded, how can I display correctly the original date and time which I entered into fields 3 & 4.
p.s. Can I junk the time display - I have always felt that this serves no useful purpose.
Regards
Bob Finch
Royal Air Force Amateur Radio Society webmaster. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Sep 09, 2003 1:19 pm |
|
To hide the time just set
$show_time = false;
KISGB intelligently determines whether to use the msgid or the date/time fields. It checks the value in message id and if it is less than 10000 it uses the value in the date/time. Otherwise it 'assumes' it is a more recent guestbook. So, to force KISGB to use your fields, make sure the msgids are less than 10000. |
|
|
|
 |
Mikoveda New Member


Joined: Nov 27, 2003 Posts: 2
|
Posted:
Thu Nov 27, 2003 3:02 pm |
|
Hi Raven!
Great guest book!! I have an old guest book and I want to transfer the old entries to the new guest book and be able to keep the dates intact.
I've been manually entering the old messages but even when I type the orginal date in the date field on the admin screen, the current date is displayed still when you view the guestbook.
Is there anyway to change the dates? I would really like to be able to keep the orginal dates of the posts from the old guest book.
I hope this makes sense.
Thanks in advance for your help! |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Thu Nov 27, 2003 3:14 pm |
|
In the INSTALL I believe I have instructions for upgrading from ALL previous versions. Did that not help/work? |
|
|
|
 |
Mikoveda New Member


Joined: Nov 27, 2003 Posts: 2
|
Posted:
Thu Nov 27, 2003 3:26 pm |
|
I'm so sorry Raven...my old guestbook is not one of your versions |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Thu Nov 27, 2003 4:15 pm |
|
The dates in kisgb are stored as unix time stamps in column 1. the other columns (for dates) are no longer used and are for backwards compatability only. So if you convert your dates to unix time stamps it should work just fine. |
|
|
|
 |
|
|
|
|