Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Links given in email and PM via reported post [C-Michael83]
#1
Are missing the "#pid11246" on the end of the URL, so you are not taken directly to the reported post.

The links that I get in emails and PMs are something like this:
http://www.<board url>.com/thread-605-post-11246.html
Whereas they should be:
http://www.<board url>.com/thread-605-post-11246.html#pid11246

I spent a while trying to work out how to fix this myself, just out of curiosity, but ended up going around in circles and getting next to no-where. Sad
#2
A fix (probably) would be to replace, in report.php, both instances of:
get_post_link($post['pid'], $thread['tid'])
with
get_post_link($post['pid'], $thread['tid'])."#pid".$post['pid']

Though I'm not too sure why it isn't just added to the defined THREAD_URL_POST constant...
#3
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group


Forum Jump:


Users browsing this thread: 1 Guest(s)