MyBB Community Forums

Full Version: Multiple attachment problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello team

i am using 1.8.15

and it works really good with me , but i have this issue

when i upload a Multiple attachment , it upload and all is good , but when i post the topic it only show me one attachment

can anyone help me please to fix this issue

thanks in advance

sorry i think this post in a wrong place , could any moderators move it to the correct place

really sorry i didn't know how i post it in this section Sad
Can you reproduce in a clean install ? Note that for every attachment you want to upload you need to click the "Add Attachment" button and you can't upload multiple attachments in one go.
https://community.mybb.com/thread-216922.html
(2018-04-13, 03:22 AM)Omar G. Wrote: [ -> ]Can you reproduce in a clean install ? Note that for every attachment you want to upload you need to click the "Add Attachment" button and you can't upload multiple attachments in one go.
https://community.mybb.com/thread-216922.html

Hello Omar

it is a new forum with 1.5.18 , all is new
the problem is not with multi upload , i don't upload it as multi , i upload each file alone but when i submitted the post
it only show me one attach , and when i go to the edit for the post it show me all the attachment , please check the picture in the attachment to see the problem

i already fix it

here is the solution

first restore the postbit_attachments to default
then change the postbit_attachments_attachment to this code


<table border="0" cellpadding="0" cellspacing="3">
<!-----Postbit_Attachment---->
    </table>
    <table class="attachtable" id="table2" width="95%" align="center" border="1" cellpadding="2" cellspacing="0">
        <tr>
            <td colspan="3" class="attachheader" width="100%" align="center"><b>
            {$attachment['filename']}</b></td>
        </tr>
        <tr>
            <td class="attachrow" width="15%"><span class="genmed">File Type:</span></td>
            <td class="attachrow" width="75%">
            {$attachment['icon']}</td>
            <td rowspan="3" class="attachrow" width="10%" align="center">
            <a href="attachment.php?aid={$attachment['aid']}">
            <img src="images/download.png" alt="" border="0"></a><br>
</td>        </tr>
        <tr>
            <td class="attachrow" width="15%"><span class="genmed">Downloaded:</span></td>
            <td class="attachrow" width="75%"><span class="genmed">{$attachment['downloads']} times</span></td>
        </tr>
        <tr>
            <td class="attachrow" width="15%"><span class="genmed">Size:</span></td>
            <td class="attachrow" width="75%">{$attachment['filesize']}</td>
        </tr>
    </table>


and all is work fine now
(2018-04-13, 01:55 PM)MR X Wrote: [ -> ]it is a new forum with 1.5.18 , all is new

Not so new apparently, but glad you sorted it out on your own.