You are not driving me crazy
It's just like you said, I can't look into every website. I help with the script and if that's working it's up to the owner to configure the rest. That's why I try to give general guidelines so everyone can benefit (if I help one person, why not all the others?).
What you (or anyone else) can try is something like this (BACKUP OLD FILES FIRST):
1. create a page how you would like your script to look and type GBOOK_HERE where you want the posts to appear.
2. open that page in a text editor (Notepad or Wordpad) and find GBOOK_HERE in the code (don't get scared by all the code, you can use the "Find" function).
3. copy all code AFTER the GBOOK_HERE and paste it into footer.txt
4. Open gbook.php in Notepad or Wordpad. Copy all code BEFORE the GBOOK_HERE. Delete lines 1063 to 1081 in gbook.php:
Code: Select all
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>'.$settings['gbook_title'].'</title>
<meta http-equiv="Content-Type" content="text/html;charset='.$lang['enc'].'" />
<link href="style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript"><!--
function openSmiley() {
w=window.open("smileys.htm", "smileys", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=300,height=300");
if(!w.opener)
{
w.opener=self;
}
}
//-->
</script>
</head>
<body>
';
and paste this instead:
Then add this javascript to your code, somewhere between <head> and </head> tags:
Code: Select all
<script type="text/javascript"><!--
function openSmiley() {
w=window.open("smileys.htm", "smileys", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=300,height=300");
if(!w.opener)
{
w.opener=self;
}
}
//-->
</script>
Hope this helps. If it still breaks your design I suggest that you try making a simple header and footer instead of putting it in a frame.
- OR -
You can use an <iframe> to show the GBook in your design.