MyBB Community Forums
[Duplicate] breaking thread when replying with attachment - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Rejected (https://community.mybb.com/forum-184.html)
+----- Thread: [Duplicate] breaking thread when replying with attachment (/thread-213027.html)



breaking thread when replying with attachment - vishwap - 2017-09-20

hello i just installed mybb 1.8 and i was testing when i found a bug. when someone reply with attachment it breaking attachment design .  i am attaching screenshot.
   

lol now you dont need screenshot.

i have fixed this myself.  you have to edit template 'postbit_attachments_thumbnails_thumbnail' . replace code with following code. 

<a href="attachment.php?aid={$attachment['aid']}" target="_blank"><img src="attachment.php?thumbnail={$attachment['aid']}" class="attachment" alt="" title="{$lang->postbit_attachment_filename} {$attachment['filename']}
{$lang->postbit_attachment_size} {$attachment['filesize']}
	" /></a>&nbsp;&nbsp;&nbsp; </br> {$attachdate}



RE: breaking thread when replying with attachment - StefanT - 2017-09-20

This has been reported before: https://github.com/mybb/mybb/issues/2751