PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Mikoveda
New Member
New Member


Joined: Nov 27, 2003
Posts: 2

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

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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

In the INSTALL I believe I have instructions for upgrading from ALL previous versions. Did that not help/work?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Mikoveda
New Member
New Member


Joined: Nov 27, 2003
Posts: 2

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

I'm so sorry Raven...my old guestbook is not one of your versions
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum