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

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ 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.

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



[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