1
Hi
When you post a new message on a thread (with more than one page) the user is redirect on the first page of the topic, it would be great if the user could be redirect to the last page...the last message in fact.
Do you think this code could be easily hacked ?
---
../newbb/post.php (line 226 at 233)
---
if ( $HTTP_POST_VARS['viewmode'] == "flat" ) {
redirect_header("viewtopic.php?topic_id=".$forumpost->topic()."&post_id=".$postid."&order=".$order."&viewmode=flat&pid=".$pid."&forum=".$forum."#forumpost".$postid."",2,_MD_THANKSSUBMIT);
exit();
} else {
$post_id = $forumpost->postid();
redirect_header("viewtopic.php?topic_id=".$forumpost->topic()."&post_id=".$postid."&order=".$order."&viewmode=thread&pid=".$pid."&forum=".$forum."#forumpost".$postid."",2,_MD_THANKSSUBMIT);
exit();
}