Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Pro Attachments
#1
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


Attached Files Thumbnail(s)
   
Reply
#2
Approved Big Grin
Former MyBB Software Assurance Team
Reply
#3
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? Huh
Reply
#4
(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? Huh

But it's still a plugin.
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.
Reply
#5
(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? Huh
What he said: "This plugin makes the attachments download template more beautiful and professional !"
100 Posts - $3.00
PM me for more information.
Reply
#6
<html> and <head> within a XHTML body isn't professional (it's not allowed)...
Reply
#7
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 ' ....
................................................................................
Reply
#8
(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
Lost interest, sold my sites, will browse here once in a while. It's been fun.
Reply
#9
(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.
Reply
#10
(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
Lost interest, sold my sites, will browse here once in a while. It's been fun.
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)