Hi,
I tried installing this hack to a fresh 3.0.13. The guestbook seems to work, but the webpage doesn' t work. It doesn' t store the content. It only stores the webpage title and webpage description.
There has been one problem on step 5 of the hack installation. You have to find
PHP Code:
<if condition="$show[signature]">
and add above
PHP Code:
<!-- ###### WEBPAGE & GUESTBOOK SCRIPT - START ###### -->
<if condition="$webpage[quickedit_form]">
$webpage[quickedit_form]
<else />
<table align=center width="$wghtml[webgbtotalwidth]" border=0 cellspacing=0 cellpadding=0>
<tr>
<if condition="$webpage[gb_onoff] == "on"">
<if condition="$webpage[gb_position] == "left"">
<td valign=top width="$wghtml[gbwidth]">$webpage[gb_html]</td>
</if>
</if>
<td valign=top width="$wghtml[webpagewidth]">
<if condition="$webpage[webpage_onoff] == "on"">
<if condition="$webpage[text]">$webpage[header]
<table style="margin-top: 6px" align=center width=99% bgcolor="$webpage[bordercolor]" border=0 cellspacing="$webpage[bordersize]" cellpadding="$webpage[bordersize]">
<tr><td valign=top bgcolor="$webpage[bgcolor]">
<font size=3 face="$webpage[fontface]" color="$webpage[fontcolor]"><b>$webpage[name]</b><br>
</font>
<br>
<font size="$wghtml[defaultfontsize]" face="$wghtml[defaultfontface]" color="$wghtml[defaultfontcolor]">
$webpage[text]<br>
</font>
</td></tr>
</table>
<div style="margin-right: 10px" align=right><font size=1><b>$vbphrase[views]:</b> $webpage[hits]</font><br>
<if condition="$webpage[quickedit_button]">
$webpage[quickedit_button]
</if>
</div>
<else />
<center>
<font color="$wghtml[no_content_textcolor]">$vbphrase[webpage_has_no_content]
</font></center><br>
</if>
<br />
</if>
<if condition="$webpage[gb_onoff] == "on"">
<if condition="$webpage[gb_position] == "right"">
</td><td valign=top width="$wghtml[gbwidth]">$webpage[gb_html]</td></tr>
</table>
</if>
<if condition="$webpage[gb_position] == "left"">
</td></tr>
</table>
</if>
<if condition="$webpage[gb_position] == "bottom"">
</table>
$webpage[gb_html]
</if>
<else />
<table>
</if>
</if>
<br>
<!-- ###### WEBPAGE & GUESTBOOK SCRIPT - END ###### -->
.
The code in the file is slightly different (there are two ' characters):
PHP Code:
<if condition="$show['signature']">
I added the code of the install script, anyway, but the webpage doesn' t work. Does anybody know what I have done wrong?
|