The install info is riddled with errors and unnecessary spaces. For example, the instructions say in the forum edits for newreply.php to:
Quote:
- FIND IN script => newreply.php (1 time)
if ($_POST['do'] == 'postreply')
{
globalize($_POST, array(
'posthash' => STR_NOHTML,
'poststarttime' => STR_NOHTML
));
- REPLACE IN script => newreply.php (1 time)
if ( $_POST['do'] == 'postreply' )
{
if ( ! empty ( $_POST['draft'] ) )
{
$draftperms = draft_perms ( $bbuserinfo['userid'], $bbuserinfo['permissions'], 'newreply', 'post' );
if ( isset ( $draftperms['error'] ) )
{
$draftinfo = draft_errors ( $draftperms['error'], 'newreply' );
eval ( print_standard_error ( $draftinfo['page'] ) );
}
}
globalize ( $_POST, array ( 'posthash' => STR_NOHTML, 'poststarttime' => STR_NOHTML ) );
|
You can clearly see that
Code:
if ( $_POST['do'] == 'postreply' )
should be
Code:
if ($_POST['do'] == 'postreply')
and the instructions are filled with problems like that.
Can someone provide fixed/correct install info for this hack?