View Single Post
  #1061  
Old 03-21-2006, 10:22 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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=99bgcolor="$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?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01132 seconds
  • Memory Usage 1,817KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete