Page 1 of 1
How to embed Gbook into my pages
Posted: Thu Jul 31, 2008 7:41 pm
by Ton
Script URL:
http://xs4me2.info/gbook
Version of script:1.6
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: All the forum remarks about embedding
Write your message below:
Hello,
I just can't get Gbook embedded in my site
http://xs4me2.info. I tried everything..but I just can't get it to work. I,ve tried an I-Frame and that works but when gbook loads in the Iframe I get a white square first of about 3 seconds and I don't like that. I know also that my pages are full of stylesheets, but that is because of the webbuilder software I use.
Can somebody help me?
Thanks
Posted: Sun Aug 03, 2008 9:13 am
by Klemen
There's been so much talk about this subject, try reading old posts. If you can't get it to work (you will need to understand HTML and CSS) the iframe is the way to go, even though you have to wait a bit for it to load.
Posted: Sat Oct 11, 2008 6:43 pm
by pete917
URL:
http://www.myporsche911.co.uk/gbook/gbook.php
First of all great script. As a complete novice in website design this has been relatively easy to install and get working. So thank you for provising this for free.
Is it possible to incorporate this script into my existing web page?
I have tried pasting the script from gbook.php and pasting it into a table cell on a page. It works except the the images dont appear.
Any advice greatfully accepted.
Posted: Sat Oct 11, 2008 8:45 pm
by jayceegee
As Klemen has stated above, probably the iframe is the way to go.
See my post at
viewtopic.php?t=1684 for the code.
This you can paste into the area that you have the picture of your Porche. so that it looks part of your site.
Hope this helps you. Jim.
Posted: Sun Oct 12, 2008 9:08 am
by pete917
thanks jim. Ill give that a go today and report back on progress.
thanks again.
Posted: Sun Oct 12, 2008 10:43 am
by pete917
Hi Jim.
The iFrame worked a treat. Thank you mate nice work.
Im left with one small hangup. At the tope of the questbook there are links, one of which is "back to yourdomain". Which file is this in as it needs to be removed as it opens the home page of the website in the iFrame?
Many thanks again
Pete
Posted: Sun Oct 12, 2008 11:23 am
by Henrie
Hi Pete,
You will have to edit the gbook.php file.
I have explained it before for someone else, but it is more work for me to find in old posts, than to explain it again.
In gbook.php version 1.6 find lines 1084-1086
Code: Select all
<p style="text-align:center"><a href="'.$settings['website_url'].'">'.$lang['t61'].' '.$settings['website_title'].'</a>
| <a href="gbook.php">'.$lang['t60'].'</a>
| <a href="gbook.php?a=sign">'.$lang['t48'].'</a></p>
and change it to
Code: Select all
<p style="text-align:center">
<a href="gbook.php">'.$lang['t60'].'</a>
| <a href="gbook.php?a=sign">'.$lang['t48'].'</a></p>
Greetings,
Henrie
Posted: Sun Oct 12, 2008 11:39 am
by jayceegee
I really must reiterate Klemen's and Henrie's statements of searching the forum. Almost every question has been answered somewhere.
However...
This post will show you the lines to remove
viewtopic.php?t=1830
One thing I did not mention in the previous post is that you can put the main information into a javascript document, and call it from the head statements i.e.
<script src="name_of_folder/iframe.js" type="text/javascript"></script>
You can do this in a MS text doc or download the excellent program PsPad that Henrie has suggested on many of his posts at
http://www.pspad.com/ which has many uses.
Regards, Jim.
Posted: Sun Oct 12, 2008 12:03 pm
by pete917
thanks guys that worked a treat.
I did try searching but couldnt find thre answer.
Thanks again.
Works perfect now:
http://www.myporsche911.co.uk/gbook/gbook.html