Guestbook 1.6 in different pages

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
opendesigner
Posts: 2
Joined: Thu Apr 10, 2008 6:26 am

Guestbook 1.6 in different pages

Post by opendesigner »

Script URL: http://www.calmachicha.net/public/gbook16/gbook.php
Version of script:1.6
Hosting company:
URL of phpinfo.php: http://www.calmachicha.net/public/gbook16/phpinfo.php
URL of session_test.php: http://www.calmachicha.net/public/gbook ... n_test.php
What terms did you try when SEARCHING for a solution: I looked for how to insert gbook in html pages but this is not the kind of problem i have.

Write your message below:

Hello there....first of all i have to say that this script is faboulous. Thanks!

Ok I used in my personal webpage the gbook v 1.43 and i succeed to instert it in an html page.

Now a friend of mine asked me to create a webpage for a short movie his finishing and he would like to have a guestbook. I creaated all the pages with css but none of theme does have header in it.
The problem is that my friend asked me to create the webpage in two languages, english and spanish and he would like to use the SAME guestbook for both languages.

How can I insert the same guestbook in two different pages? Can I insert it in an Iframe?

I looked in the forum but i didn't find anything could help me.

Many thanks and best regards

Massimo

P.S. the link of guestbook is this one http://www.calmachicha.net/public/gbook16/gbook.php
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Not sure what exactly you want, but sure, you can insert it in a iframe, why not just give it a try?

By the way, I see you've been editing gbook.php and managed to break session handling, that's why your GBook doesn't work at the moment. Don't edit gbook.php unless you are very familiar with how PHP sessions work, use header/footer.txt to add any extra HTML code, not inside gbook.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
opendesigner
Posts: 2
Joined: Thu Apr 10, 2008 6:26 am

Thanks

Post by opendesigner »

Thanks man!

I need any particular code or I just call the gbook inside the iframe wherever i have the iframe?

Max
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Just call gbook.php in an iframe, for example:

Code: Select all

<iframe src ="http://yourdomain/gbook/gbook.php" width="100%">
</iframe>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
LRod
Posts: 9
Joined: Wed Apr 09, 2008 10:47 pm

Post by LRod »

Klemen wrote:By the way, I see you've been editing gbook.php and managed to break session handling, that's why your GBook doesn't work at the moment. Don't edit gbook.php unless you are very familiar with how PHP sessions work, use header/footer.txt to add any extra HTML code, not inside gbook.php
Almost sounds like that was directed at me from my own thread. Yes, guilty as charged. However, I thought that the only things I had edited were HTML parts wherein I deleted the <h3> title declaration (which calls the "title" variable from the settings file--my header supplied that info with the appropriate site look and feel), and I added a line in the header to display a favicon, one for a supplemental .css file, and changed the name of the style.css (I'm anal about my personal file naming conventions).

Those shouldn't have affected the session handling (and didn't, as my new installation works just fine with those changes), so I must have made an inadvertent (it certainly wasn't intentional) change elsewhere in the code.

I do want to learn PHP and am already doing some online looking. My history shows that I learn a bunch about programming just from looking at (and in some cases diddling with) other peoples' source.

Thanks for your patience.
LRod
Post Reply