MyBB Community Forums
[F] [WOL] Viewing an attachment [R] [C-Michael83] - Printable Version

+- MyBB Community Forums (
+-- Forum: Community Archive (
+--- Forum: Archived Forums (
+---- Forum: Archived Development and Support (
+----- Forum: Archived Bug Reports (
+------ Forum: MyBB 1.4.2 (
+------ Thread: [F] [WOL] Viewing an attachment [R] [C-Michael83] (/thread-40363.html)

[F] [WOL] Viewing an attachment [R] [C-Michael83] - Michael S. - 2008-11-11

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.

RE: [WOL] Viewing an attachment [R] - Ryan Gordon - 2008-11-11

Is this really a bug?

RE: [WOL] Viewing an attachment [R] - Michael S. - 2008-11-11

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>";

[F] [WOL] Viewing an attachment [R] - Ryan Gordon - 2008-11-16

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