If someone is viewing an attachment and you click on the link in the Who's online list it opens in the same window. The link should open a new window like the attachment links in posts do.
It's not really a bug but it can be annoying. Because of that the links in posts open in a new window, too.
online.lang.php:
$l['viewing_attachment2'] = "Viewing <a href=\"attachment.php?aid={1}\">Attachment</a> in Thread <a href=\"{3}\">{2}</a>";
Replace with:
$l['viewing_attachment2'] = "Viewing <a href=\"attachment.php?aid={1}\" target=\"_blank\">Attachment</a> in Thread <a href=\"{3}\">{2}</a>";
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