Back to vBulletin 3.6 Template Modifications

Attachment display like vBulletin.org
Mod Version: 1.00, by Ntfu2

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 22
Released: 10 Jan 2007 Last Update: Never Downloads: 95
Not Supported  

This is simple, only tested in postbit_legacy template, though postbit should be similar/same

AdminCP -> style and templates -> Postbit Templates -> postbit_legacy

find:
Code:
        <if condition="$show['attachments']">
        <!-- attachments -->
            <div style="padding:$stylevar[cellpadding]px">
            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[imageattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachmentlink']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[imageattachmentlinks]
                    </table>
                    </fieldset>
            </if>
            <if condition="$show['otherattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_files]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </fieldset>
            </if>
            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </fieldset>        
            </if>
            </div>
        <!-- / attachments -->
        </if>
replace with:
Code:
                <if condition="$show['attachments']">
        <h2>Downloads</h2>
        <hr />
            <if condition="$show['thumbnailattachment']">
                    <div style="padding:$stylevar[formspacer]px">
                    $post[thumbnailattachments]
                    </div>                
            </if>
            <if condition="$show['imageattachment']">
                    <div style="padding:$stylevar[formspacer]px">
                    $post[imageattachments]
                    </div>
            </if>
            <if condition="$show['imageattachmentlink']">
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[imageattachmentlinks]
                    </table>
            </if>
                        <if condition="$show['otherattachment']">
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </if>
                        <if condition="$show['moderatedattachment']">
                    <strong>$vbphrase[attachments_pending_approval]</strong>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </if>
                </if>
http://exposedforums.com/forums/showthread.php?p=135229#post135229 post is work safe!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s postbit.txt (2.9 KB, 115 downloads)

Screenshots

Click image for larger version
Name:	postbit.jpg
Views:	1445
Size:	108.1 KB
ID:	58771  

Similar Mods

vBulletin Project Tools PT Display attachment size in each issue vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024