Pro Attachments - Mohammad-Za - 2010-07-23
Hi To All!
This plugin makes the attachments download template more beautiful and professional !
For More information see the attachment!
Download Link: http://mods.mybb.com/view/pro-attachments
RE: Pro Attachments - Conor C. - 2010-07-23
Approved
RE: Pro Attachments - querschlaeger - 2010-07-23
This plugin does nothing more than replacing the template postbit_attachments_attachment with this:
<html>
<head>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style>
<!--
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow {font: normal 11px Tahoma;}
-->
</style>
</head>
<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>
<br>
</head>
</html>
It's just a simple template edit?
RE: Pro Attachments - Diogo Parrinha - 2010-07-23
(2010-07-23, 01:18 PM)querschlaeger Wrote: This plugin does nothing more than replacing the template postbit_attachments_attachment with this:
<html>
<head>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style>
<!--
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow {font: normal 11px Tahoma;}
-->
</style>
</head>
<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>
<br>
</head>
</html>
It's just a simple template edit?
But it's still a plugin.
RE: Pro Attachments - Winford F. - 2010-07-23
(2010-07-23, 01:18 PM)querschlaeger Wrote: This plugin does nothing more than replacing the template postbit_attachments_attachment with this:
<html>
<head>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style type=\"text/css\">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style>
<!--
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow {font: normal 11px Tahoma;}
-->
</style>
</head>
<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>
<br>
</head>
</html>
It's just a simple template edit? What he said: "This plugin makes the attachments download template more beautiful and professional !"
RE: Pro Attachments - querschlaeger - 2010-07-23
<html> and <head> within a XHTML body isn't professional (it's not allowed)...
RE: Pro Attachments - crypt - 2010-07-23
Agreed .. it still a plugin
Most MyBB users do not want or need to know how to edit a template as it's deemed hard work
They seem to forget a lot of plugins can be 'template edited' even to embed javascript.
Problem is the MyBB community has become ' plugin dependent ' ....
RE: Pro Attachments - pavemen - 2010-07-23
(2010-07-23, 04:32 PM)crypt Wrote: Problem is the MyBB community has become ' plugin dependent ' ....
perhaps. but plugins allow easy upgrades as they minimize core file changes
RE: Pro Attachments - mrl586 - 2010-07-27
(2010-07-23, 06:27 PM)pavemen Wrote: (2010-07-23, 04:32 PM)crypt Wrote: Problem is the MyBB community has become ' plugin dependent ' ....
perhaps. but plugins allow easy upgrades as they minimize core file changes But MyBB templates located in database.
RE: Pro Attachments - pavemen - 2010-07-27
(2010-07-27, 05:02 AM)mrl586 Wrote: (2010-07-23, 06:27 PM)pavemen Wrote: (2010-07-23, 04:32 PM)crypt Wrote: Problem is the MyBB community has become ' plugin dependent ' ....
perhaps. but plugins allow easy upgrades as they minimize core file changes But MyBB templates located in database.
so what. there is a built-in template management system and you never need to mess with the database
|