MyBB Community Forums

Full Version: [F] [WOL] Viewing an attachment [R] [C-Michael83]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Is this really a bug?
It's not really a bug but it can be annoying. Because of that the links in posts open in a new window, too.

$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