update 1.5 to 1.7

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Netgear
Posts: 2
Joined: Fri Dec 04, 2009 2:11 am

update 1.5 to 1.7

Post by Netgear »

Write your message below:

HiYa,

Trying to update from 1.5 > 1.7 and followed instructions - however, header/footer.txt seems not compatible.

my 1.5 header contents is:

<div align=\"center\">
<center> <br><br>
<table border="0" cellspacing="0" cellpadding="0" width="590" class="border">
<tr><td colspan="3" rowspan="1" style="height: 25px; background-image:url(../BorderH.gif);">&nbsp;</td></tr>
<tr><td style="width: 25px; background-image:url(../BorderV.gif);">&nbsp;</td>
<td><a href="../PrivacyGb.html">Privacy Statement</a>


footer contents:

</td>
<td style="width: 25px; background-image:url(../BorderV.gif);">&nbsp;</td></tr>
<tr><td colspan="3" rowspan="1" style="height: 25px; background-image:url(../BorderH.gif);">&nbsp;</td></tr>
</table>
</center>
</div>
<br>
<div style="text-align: center;">
<br><br>

</div>


link to the original good gbook is:
http://enchantingthreadsdesigns.com/Stu ... /gbook.php

the update result is here:
http://enchantingthreadsdesigns.com/Stu ... /gbook.php


what do I miss?

:(
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Netgear,

You have made several custom changes to your guestbook, more than just using the header.txt and footer.txt files.

I will help you with the most obvious

Changing the background image, you will have to edit the style.css files in the folder "templates/default".
Change in body{...} part:

Code: Select all

background-image:url(images/bg.png); background-repeat:repeat-x;
to

Code: Select all

background-image:url(../../../images/bg.png); background-repeat:repeat;
To remove Guestbook post-it image:
Remove in #gbook_header{...} part:

Code: Select all

background-image:url(images/book.png);
And to show left and right borders, the content of some of the divs in the guestbook is to wide for your layout. Remove following:
in #gbook_header{...} part:

Code: Select all

width:600px; 
and in #gbook_top_links{..} part:

Code: Select all

width:450px; 
To add the background image in your guestbook change the following line in your header.txt file:

Code: Select all

<td><a href="../PrivacyGb.html">Privacy Statement</a> 
to

Code: Select all

<td style="background-image:url(../CanvasBG.gif);"><a href="../PrivacyGb.html">Privacy Statement</a> 
To remove the light grey background, behind the comment entries change in the .gbook_commentbox {...} part:

Code: Select all

background-color:#f9f9f9; 
to

Code: Select all

background-color:transparent;
I think the rest you can now manage by yourself.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Netgear
Posts: 2
Joined: Fri Dec 04, 2009 2:11 am

Post by Netgear »

Only a beer?

Boys, if you ever come to Brisbane's Redland let me know in time and you both can have a barbie (barbecue) including your beer.

I have to decide making all these changes all over again or just stick with 1.5 as it is working quite well.


thanks Henrie

:wink:
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Netgear,

If you are not getting to much spam and don't need any of the new features, there really is no need to upgrade.

I have a site running version 1.41 still because i have modified it so much. But i plan on upgrading it because it gets a few spam messages every week.

Brisbane's Redland is in Australia, that is on the other side of the globe. So the chance is small i will visit you any time soon. But thanks for the offer anyway.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply