Gbook 1.4 versus GBook 1.35 xhtml 1.1. modified by Henrie
Gbook 1.4 versus GBook 1.35 xhtml 1.1. modified by Henrie
Script URL: www.wodanseck.net
Version of script: GBook 1.35 xhtml 1.1
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
Is it necesarry to upgrade to GBook 1.4. Are there essential improvements in GBook 1.4
Version of script: GBook 1.35 xhtml 1.1
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
Is it necesarry to upgrade to GBook 1.4. Are there essential improvements in GBook 1.4
Last edited by harrie55 on Mon May 29, 2006 6:53 am, edited 1 time in total.
Yes, there are quote some new things, I think Henrie will have the new XHTML version ready as soon as I release 1.41 which should be by the end of this week.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Well, the xhtml version will not be ready before june 6 because i am busy with other things untill then. But it will not be to long after that.
Bytheway.
Does anybody know how to convert my old guestbook entries.txt file, because in the xhtml version there now already is an IP field but the new reply field in version 1.4 comes before that so i have to find a way to insert the reply field in my old guestbook before the ip field.
I guess i have to read the old entries.txt file with php and write the entries to a new file with the extra reply field but i don't exactly know how to do it and i could not find a similar script on the internet that i could modify.
Greetings,
Henrie
Bytheway.
Does anybody know how to convert my old guestbook entries.txt file, because in the xhtml version there now already is an IP field but the new reply field in version 1.4 comes before that so i have to find a way to insert the reply field in my old guestbook before the ip field.
I guess i have to read the old entries.txt file with php and write the entries to a new file with the extra reply field but i don't exactly know how to do it and i could not find a similar script on the internet that i could modify.
Greetings,
Henrie
Henrie, can you give an example of how actually an old entries.txt file looked in xhtml version? Just post a line or two and I will write you something.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
If I understood you correctly Henrie, this should do the job (BACKUP before testing!):
http://www.phpjunkyard.com/extras/upgrade_entries.zip
The file above is NOT INTENDED FOR GENERAL USE yet, it's to make Henrie's work easier
Regards,
http://www.phpjunkyard.com/extras/upgrade_entries.zip
The file above is NOT INTENDED FOR GENERAL USE yet, it's to make Henrie's work easier

Regards,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Hello Klemen,
I think something is wrong in the script because i get an entries.txt with only the following in it:
I don't have time to look at what is wrong but i will do so later this evening.
At least i now have a something i can use as a hint to what i must do.
Greetings,
Henrie
By the way a the xhtml 1.35 entries.txt now is:
I think something is wrong in the script because i get an entries.txt with only the following in it:
Code: Select all
Array
At least i now have a something i can use as a hint to what i must do.
Greetings,
Henrie
By the way a the xhtml 1.35 entries.txt now is:
Code: Select all
Henrie Netherlands henrie@home.nl http://mysite.home.nl This is jus a sample message May 28, 2006 192.168.2.100
My Name My Place myemail5@mysite.com http://users.scoutnet.nl/~mysite And this is my private message May 27, 2006 Y 192.168.2.11
Hi,
My mistake, change lin 29 from to and let me know if that works ok.
Regards
My mistake, change lin 29 from
Code: Select all
fputs($fp,$lines);
Code: Select all
fputs($fp,$newlines);
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Hello Klemen,
Thanks for looking at the code again.
When i changed the code at first it did not work.
I looked at the code and played with it (and looked at www.php.net) to better understand it.
When i also changed line 21 to it worked.
Thank you for helping me with this.
Greetings,
Henrie
Thanks for looking at the code again.
When i changed the code at first it did not work.
I looked at the code and played with it (and looked at www.php.net) to better understand it.
When i also changed line 21
Code: Select all
$info=explode($delimiter,$lines[$i]);
Code: Select all
$info=explode($delimiter,$myline);
Thank you for helping me with this.
Greetings,
Henrie
Hello Harrie,
The Xhtml 1.41 version is working for me personally (see http://www.volkelloopt.nl and then choose Gastenboek in the menu).
But it is heavy modified. I have to make it looking like the standard guestbook and check every page to be sure it validates before i publish it here.
I am very busy right now with other things but i will start modifying it after july 24 and i hope to publish it before july 31.
Greetings,
Henrie
The Xhtml 1.41 version is working for me personally (see http://www.volkelloopt.nl and then choose Gastenboek in the menu).
But it is heavy modified. I have to make it looking like the standard guestbook and check every page to be sure it validates before i publish it here.
I am very busy right now with other things but i will start modifying it after july 24 and i hope to publish it before july 31.
Greetings,
Henrie
I just released the new XHTML version of GBook (mod HL.05). It is based on GBook version 1.43.
For more information see the post viewtopic.php?p=4038#4038 in the GBook add-ons forum.
Greetings,
Henrie
For more information see the post viewtopic.php?p=4038#4038 in the GBook add-ons forum.
Greetings,
Henrie