Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
rafars
New Member
New Member



Joined: Sep 08, 2003
Posts: 4
Location: England

PostPosted: Tue Sep 09, 2003 11:27 am Reply with quote

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.
 
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Sep 09, 2003 1:19 pm Reply with quote

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.
 
View user's profile Send private message
Mikoveda
New Member
New Member



Joined: Nov 27, 2003
Posts: 2

PostPosted: Thu Nov 27, 2003 3:02 pm Reply with quote

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!
 
View user's profile Send private message
Raven







PostPosted: Thu Nov 27, 2003 3:14 pm Reply with quote

In the INSTALL I believe I have instructions for upgrading from ALL previous versions. Did that not help/work?
 
Mikoveda







PostPosted: Thu Nov 27, 2003 3:26 pm Reply with quote

I'm so sorry Raven...my old guestbook is not one of your versions
 
Raven







PostPosted: Thu Nov 27, 2003 4:15 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©