
heb nog 1 error in het einde van viewtopic.php maar ik heb daar het orginele stuk stukje teruggezet aan het eind en opnieuw gemod maar de error blijft en dat is deze:
Code: Selecteer alles
Parse error: parse error, unexpected $ in /home/httpd/vhosts/rollercoasterparks.nl/httpdocs/forum/viewtopic.php on line 1141
Code: Selecteer alles
'U_POST_ID' => $postrow[$i]['post_id'])
);
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
if ($postrow[$i]['user_my_ignore'])
{
$template->assign_block_vars('postrow.switch_buddy_ignore', array());
}
else
{
$template->assign_block_vars('postrow.switch_no_buddy_ignore', array());
}
//-- fin mod : profile cp --------------------------------------------------------------------------
}
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
$template->assign_vars(array(
'L_IGNORE_CHOOSEN' => $lang['Ignore_choosed'],
)
);
//-- fin mod : profile cp --------------------------------------------------------------------------
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Code: Selecteer alles
#-----[ FIND ]------------------------------------------------
#
'U_POST_ID' => $postrow[$i]['post_id'])
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
if ($postrow[$i]['user_my_ignore'])
{
$template->assign_block_vars('postrow.switch_buddy_ignore', array());
}
else
{
$template->assign_block_vars('postrow.switch_no_buddy_ignore', array());
}
//-- fin mod : profile cp --------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$template->pparse('body');
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
$template->assign_vars(array(
'L_IGNORE_CHOOSEN' => $lang['Ignore_choosed'],
)
);
//-- fin mod : profile cp --------------------------------------------------------------------------
#

het orginele stukje:
Code: Selecteer alles
'U_POST_ID' => $postrow[$i]['post_id'])
);
}
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>