Page 1 of 1

Date and time on one line

Posted: Fri Sep 18, 2009 5:59 pm
by Jomar
Script URL: www.zydegonutz.nl
Version of script: 1.6
Hosting company: Hosting2Go
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: date, date field

Write your message below:

I would like the date and time on one line, but don't know where to change it.
Now it's breaking in a funny way.
Don't mind if the word Toegevoegd is not present.

Posted: Sun Sep 20, 2009 9:17 pm
by Henrie
Hallo Jomar,

At first, my advise is to upgrade to version 1.7 (in case you missed that there is a new version).


As for your answer:
Open the file gbook.php in a suitable editor.
Find the following lines (2 times, once for private messages and once for the public messages)

Code: Select all

<td style="width:50%" class="smaller">'.$lang['t31'].' '.$added.'</td>
<td style="width:50%; text-align:right">
and change it to

Code: Select all

<td style="width:75%" class="smaller">'.$lang['t31'].' '.$added.'</td>
<td style="width:25%; text-align:right">
Greetings,
Henrie

Posted: Wed Sep 23, 2009 4:15 pm
by Jomar
Tnx Henrie, I was looking for the word Toegevoegd, but found the right lines now. I assume it's not working till the next entry?

I did have a peek about the new version, will upgrade shortly.

Youre most welkom to collect your drink at the next Jazzfestival or Harleydag in Breda :wink:

Posted: Wed Sep 23, 2009 6:12 pm
by Henrie
This code is placed inside the gbook.php file and changes the layout. So the change should be visible the next time the guestbook is viewed.

Changes that are only available when the next entry is added are changes that are stored in the entries.txt file where the data of the entries are stored.

Greetings,
Henrie

PS. I might just take you up on that offer :twisted:

Posted: Thu Sep 24, 2009 8:07 pm
by Henrie
Hi Jomar,

Did you make the change yet? I could not see a change on your guestbook.
Remember, you have to make the change twice, once for the private messages and once for the public messages.

Greetings,
Henrie

Posted: Sat Sep 26, 2009 6:14 pm
by Jomar
Sorry Henrie,

Forgot the 2nd ones :oops: but now it looks fine.
And the offer stands :P

Posted: Sat Sep 26, 2009 8:23 pm
by Henrie
I thought it would be something like that.

It happened to me too, when i wanted to see how i could change it. Wondering why it did not change immediately. then i remembered that the private messages part is first found in the gbook.php :roll:

But most important is, you have got it working now.

Greetings,
Henrie

When i will be visiting the Harleyday next year, i will contact you first :wink: (if i don't forget)