Poll: Is it neccesary to reload the page?
You do not have permission to vote in this poll.
No, it annoys me and adds load to server
50.00%
2 50.00%
Yes, it is better for some reasons(Please specify)
0%
0 0%
I don't care
50.00%
2 50.00%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing page after quick reply
#3
(2010-07-20, 12:02 PM)MattRogowski Wrote: This is done on purpose, otherwise if you refresh, your post will appear to have vanished as it would now be showing on page 2 and you'd still be on page 1.
I know it is very minor issue. I guess people are intelligent enough to press the next page. They won't cry to mummy saying their post is lost. Anyways, Forget about it.

BTW, if anyone wants to disable it, here's the code in newreply.php responsible for it
// Lets see if this post is on the same page as the one we're viewing or not
				// if it isn't, redirect us
				if($perpage > 0 && (($postcounter) % $perpage) == 0)
				{
					$post_page = ($postcounter) / $mybb->settings['postsperpage'];
				}
				else
				{
					$post_page = intval(($postcounter) / $mybb->settings['postsperpage']) + 1;
				}

				if($mybb->input['from_page'] && $post_page > $mybb->input['from_page'])
				{
					redirect(get_thread_link($tid, 0, "lastpost"));
					exit;
				}


Messages In This Thread
Changing page after quick reply - by Nayar - 2010-07-20, 08:37 AM
RE: Changing page after quick reply - by Matt - 2010-07-20, 12:02 PM
RE: Changing page after quick reply - by Nayar - 2010-07-20, 01:03 PM
RE: Changing page after quick reply - by Matt - 2010-07-20, 04:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)