i had the '/' in, as i want it to redirect back to the home page of the site, which happens
ive now changed the code back to the following:
// If the posting user is logged in, increment his/her post count
if (!$pun_user['is_guest'])
{
$low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
$db->query('UPDATE '.$low_prio.$db->prefix.'users SET num_posts=num_posts+1, last_post='.$now.' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
}
if($cur_posting['id'] = 1)
{
redirect('/', $lang_post['Post redirect']);
}
else
{
redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect']);
}
that redirects every reply, no matter what forum it is posted in, back to the homepage of the site