MyBB Community Forums

Full Version: Give your attachments a simple stunning look.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The most noob and basic thing ever published Toungue

Locate the template:

Postbit Templates > postbit_attachments_attachment

Replace entire code with the following:

<table style="width: 600px;" border="0" align="center">
<tbody>
<tr>
<td style="text-align: center; width: 50px; border-width: 1px; border-color: #003399; border-style: solid;" rowspan="2">{$attachment['icon']}</td>
<td style="text-align: center; background-color: #003399;" colspan="2"><span style="color: #ffffff;"><strong>{$attachment['filename']}</strong></span></td>
<td style="text-align: center; width: 50px; border-width: 1px; border-color: #0033cc; border-style: solid;" rowspan="2"><a href="attachment.php?aid={$attachment['aid']}" target="_blank"><img src="http://i.imgur.com/vvU3W.gif" alt="Download the attachment ..." width="16" height="16" /></a></td>
</tr>
<tr>
<td style="text-align: center; width: 250px;">{$lang->postbit_attachment_size} {$attachment['filesize']}</td>
<td style="text-align: center; width: 250px;">{$lang->postbit_attachment_downloads} {$attachment['downloads']}</td>
</tr>
<tr>
<td style="text-align: center; background-color: #6699ff; border-width: 1px; border-color: #0000cc; border-style: solid;" colspan="4"><span style="font-size: xx-small; color: #000000;"><span style="text-align: center;">Please report for a copyrighted attachment!!!</span></span></td>
</tr>
</tbody>
</table>

Now 'Save' it.

This should be looking like:

[Image: bQ9NJ.png]

As you see this is simple HTML; you can easily modify and change colors as per your requirement.
Very nice tut. I love how it distinguish the file types.