Back to vBulletin 3.5 Template Modifications

A Well Organized Postbit_Legacy
Mod Version: 1.00, by zendiver

This modification is in the archives.
vB Version: 3.5.2 Rating: (0 vote - 0 average) Installs: 39
Released: 28 Dec 2005 Last Update: 28 Dec 2005 Downloads: 58
Not Supported Template Edits  

I keep getting PM's asking about my postbit_legacy template and everyone keeps telling me I should post it. So here it is.

First of all, you will need to install Cyricx's User Info Collapsable Postbit in Legacy. Once you have installed the product and get to the step of editing the postbit_legacy template, this is where this one would take over.

(NOTE: I have NOT put this to use in the postbit template, ONLY the postbit_legacy template. If you try it in your postbit, then let someone know that it works)

(ALSO NOTE: I have PhotoPost Pro and Jason's iTrader installed and shown in my users information. If you don't have them installed and have something else you want to show in your members information, just replace that bit of information or add yours to the area that you want it to show up in. Everyones postbit information varies, so adjust your information in the appropriate categories outlined below. See attached screenshots of what mine looks like.)

This is installed on ver 3.5.2.

In your postbit_legacy template:

FIND:
PHP Code:
            <if condition="$show['avatar']">
                <
div class="smallfont">
                    &
nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </
div>
            </if> 
PUT THIS BELOW IT: (you will see why in a second)
PHP Code:
<!-- ******************************************** --> 
NOW FIND:
PHP Code:
</td>
    <if 
condition="$show['moderated']">
    <
td class="alt2" id="td_post_$post[postid]">
    <else />
    <
td class="alt1" id="td_post_$post[postid]">
    </if> 
ADD ABOVE IT:
PHP Code:
<!-- ******************************************** --> 
Now replace everything between these:
PHP Code:
<!-- ******************************************** --> 
WITH THIS:
PHP Code:

            
<div class="smallfont">
                &
nbsp;<br />
                <!-- 
START COLLAPSABLE POSTBIT BEGINNING-->
<if 
condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">
<
table class="tborder" cellspacing="1" border="0" width="100%">
<
tbody>
<
tr>
        <
td class="thead" colspan="2">
            <
a style="float:$stylevar[right]href="#" onclick="return toggle_collapseuserinfo('postbit_legacy_userinfo$post[postcount]')"><img id="collapseimg_postbit_legacy_userinfo$post[postcount]src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_legacy_userinfo].gif" alt="" border="0" /></a>$vbphrase[collapse_postbit]
        </
td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_postbit_legacy_userinfo$post[postcount]style="$vbcollapse[collapseobj_postbit_legacy_userinfo]"><tr><td class="alt2">
</if>
<!-- / 
END COLLAPSABLE POSTBIT BEGINNING-->

<!-- 
START PROFILE LEGEND -->
        <
fieldset class="fieldset">
            <
legend>$post[musername]'s Profile</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="1">
                    <if condition="$post['
joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                    <if condition="$post['
field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                </div>
                </table>
        </fieldset>
<!-- / END PROFILE LEGEND -->

<!-- START STATS LEGEND -->
        <fieldset class="fieldset">
            <legend>$post[musername]'
s Stats</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="1">
                <if 
condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                <
div>
                    
$vbphrase[posts]: $post[posts]
                </
div>
                <if 
condition="$post['userid']">
                <
div>iTrader: <b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b></div></if>
                <if 
condition="$show['reputation']">
                <
div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>Reputation$post[reputationdisplay]</div></if>
                <if 
condition="$post['photos']"><div>Photos: <strong>$post[photos]</strong> <a href="$vbpoptions[bbdir]/gallery/showgallery.php?cat=500&ppuser=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="Users Photo Gallery" border="0" /></a></if>
                </
div>
                </
table>
        </
fieldset>
<!-- / 
END STATS LEGEND -->

<!-- 
START INSTANT MESSAGING LEGEND -->
                <if 
condition="$show['hasimicons']">
        <
fieldset class="fieldset">
            <
legend>$post[musername]'s Messaging</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="1">
                    <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                </div>
                </table>
        </fieldset>
                </if>
<!-- / END INSTANT MESSAGING LEGEND -->
            </div>
<!-- START COLLAPSABLE POSTBIT ENDING -->
        <if condition="THIS_SCRIPT=='
showthread' OR THIS_SCRIPT=='showpost'">
</td></tr></tbody></table>
</if>
<!-- / END COLLAPSABLE POSTBIT ENDING --> 

Download

This modification is archived and cannot be downloaded.

Screenshots

   

Similar Mods

More Organized Footer vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024