Script URL: www.dab-photographyonline.co.uk
Version of script: 1.6
Hosting company: Wiser
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi, I have looked through the forums for assistance and have been led to believe that the best way of incorporating this nice script into a site design is using the iFrame method. I did find a dynamic iframe code which I hoped would have worked and extended the frame when new posts made, this seemed to work in IE but not FF, therefore I'm not happy with having the scroll bar as I feel it detracts from the feel of a site.
I have opened up the "gbook.php" file and found where the "header.txt" file is called and changed the path to link to an existing header include without a problem, I cannot find the "footer.txt" include in the file, am I missing it, can anyone give me an indication as to line number in Version 1.6.
Also is it possible to attach my own style sheet to the "gbook" page as well as the standard script style sheet, again I'm at a loss as to where this may go, any suggestions?
Finally, if I can skin using the gbook file is it possible to add custom div tags to assist with positioning as when I tried it didn't appear to work.
Apologies for a lengthy post, and thank you for any help to come.
All the best.
Using header and footer txt files and including own css file
Hello webbo,
Perhaps you can add the link to your own footer file inside the footer.txt file.
For now, find function printTopHTML() in the gbook.php file and add a link to your own style sheet after the existing link to the style.css file.
I have myself made a 'better' version of the guestbook when it comes to being able to modify it with css but it has so many tags it is hard to use for others (and i have not fully upgraded it to version 1.6 yet).
I hope this helps you a bit.
Greetings,
henrie
I have not tested using (dymamic) iframes because i am still using a normal frames in my pages (i know it's bad practice but sometimes very handy). But i agree that extra scrollbars are very distracting.Hi, I have looked through the forums for assistance and have been led to believe that the best way of incorporating this nice script into a site design is using the iFrame method. I did find a dynamic iframe code which I hoped would have worked and extended the frame when new posts made, this seemed to work in IE but not FF, therefore I'm not happy with having the scroll bar as I feel it detracts from the feel of a site.
The footer.txt link is inside the function printDownHTML() and is gzinflated and base64 encoded. This function also contains the </body></html> tags. I hope Klemen will move these </body></html> tags outside this function so us users can add our own page contents with more flexibility.I have opened up the "gbook.php" file and found where the "header.txt" file is called and changed the path to link to an existing header include without a problem, I cannot find the "footer.txt" include in the file, am I missing it, can anyone give me an indication as to line number in Version 1.6.
Perhaps you can add the link to your own footer file inside the footer.txt file.
This is possible, but you will have to edit the gbook.php file. I hope in future releases, Klemen will introduce a htmlhead.txt file so we can add our own contents in the <head>...</head> section without having to change the gbook.php file.Also is it possible to attach my own style sheet to the "gbook" page as well as the standard script style sheet, again I'm at a loss as to where this may go, any suggestions?
For now, find function printTopHTML() in the gbook.php file and add a link to your own style sheet after the existing link to the style.css file.
The existing GBook has very bad div tag support because allmost none have id's or classes assigned. And even some have hardcoded center alignments. To do positioning exactly the way you want it, i am afraid that in some cases you will have to edit the gbook.php file.Finally, if I can skin using the gbook file is it possible to add custom div tags to assist with positioning as when I tried it didn't appear to work.
I have myself made a 'better' version of the guestbook when it comes to being able to modify it with css but it has so many tags it is hard to use for others (and i have not fully upgraded it to version 1.6 yet).
I hope this helps you a bit.
Greetings,
henrie
Hi Webbo,
I prefer discussing questions in the forum (not by private mail) so others can use it too.
For my modified version of GBook, you can see it in the post i have in the GBook - guestbook add-ons section GBook v 1.5 HL modifications with extra functionality.
I have version 1.6 version changed for my own site, but i am still working on making it ready for publication here. For seeing heavily modified version 1.6 with div's, you can look here http://www.scoutnet.nl/~donbosco/gbook/gbook.php (dutch language only).
For modifying the GBook. What i do is look at the generated source code in the browser, than find parts that can easily be recognised in the gbook.php file and modify them.
The biggest hurdle here is the footer.txt, </body> and </html> tags like i said before.
Greetings,
Henrie
I prefer discussing questions in the forum (not by private mail) so others can use it too.
I have no time for helping you with your site right now. Sorry.Hi Henrie
Thank you for your reply to my post, I did manage to attach the style sheet, but cannot get the div's to work at all, and I notice you have done a great job on customising yours, when i try to put a div tag in, it isn't picking it up.
Did you use div tags within your copy of gbook.
I wonder if I would be able to ask for your assistance to see if I can get it looking anything like my site.
My site is: www.dab-photographyonline.co.uk
The guestbook is http://www.dab-photographyonline.co.uk/ ... /gbook.php
Kind regards
For my modified version of GBook, you can see it in the post i have in the GBook - guestbook add-ons section GBook v 1.5 HL modifications with extra functionality.
I have version 1.6 version changed for my own site, but i am still working on making it ready for publication here. For seeing heavily modified version 1.6 with div's, you can look here http://www.scoutnet.nl/~donbosco/gbook/gbook.php (dutch language only).
For modifying the GBook. What i do is look at the generated source code in the browser, than find parts that can easily be recognised in the gbook.php file and modify them.
The biggest hurdle here is the footer.txt, </body> and </html> tags like i said before.
Greetings,
Henrie