Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pro Attachments
#1
Smile 
HI

Author: OmidKarimzadeh ( ! Omid StaR ! )
mian link: http://mods.mybb.com/view-resource/advanced-attachments
Support: http://mybbskin.ir
web: http://iran-talk.ir


Please go to:

ACP >>> Templates & Style >>> Themes >>> Your Theme >>>postbit>>>postbit_attachments_attachment


Please replace the previous:


<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 id="table2" width="95%" align="center" border="1" cellpadding="2" cellspacing="0">  
        <tr>  
            <td colspan="3" width="100%" align="center"><b>  
            {$attachment['filename']}</b></td>  
        </tr>  
        <tr>  
            <td width="15%"><span>File Type</span></td>  
            <td width="75%">  
            {$attachment['icon']}</td>  
            <td rowspan="3" width="10%" align="center">  
            <a href="attachment.php?aid={$attachment['aid']}">  
            <img src="http://up.iran-talk.ir/uploads/13326006071.png" alt="download" border="0"></a><br>  
</td>        </tr>  
        <tr>  
            <td width="15%"><span>Hits</span></td>  
            <td width="75%"><span>{$attachment['downloads']}</span></td>  
        </tr>  
        <tr>  
            <td width="15%"><span>Size</span></td>  
            <td width="75%">{$attachment['filesize']}</td>  
        </tr>  
    </table>  
    <br> 


Good luck Heart
Omid Karimzadeh (!ArTiN!)
http://mybulletinboard.ir


Sample:


Attached Files Thumbnail(s)
   
Reply
#2
Looks nice!

!ArTiN! thank you for all your tutorials. Are very useful especially for beginners.

Great work!

:MY: Heart
Why is MyBB FREE? Because "Free never tasted so good"!
And what we (the users) can do is [...]
Reply
#3
(11-14-2013, 06:31 PM)Flavius Popa Wrote: Looks nice!

!ArTiN! thank you for all your tutorials. Are very useful especially for beginners.

Great work!

:MY: Heart

Thanks for your appreciation and encouragement
my friend
Heart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)