Back to vBulletin 3.6 Template Modifications

{mishakoz} Postbit_Legacy Scroll
Mod Version: 1.00, by sonichero

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 3
Released: 11 May 2007 Last Update: Never Downloads: 3
Not Supported Template Edits  

This will create a postbit with curved headers on the top and bottom of the user information.

Find:
HTML Code:
<tr valign="top">
    <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
            <div id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                <else />
                $post[musername]
                </if>
            </div>
            <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
            <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
            <if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </div>
            </if>
            <div class="smallfont">
                &nbsp;<br />
                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                <div>
                    $vbphrase[posts]: $post[posts]
                </div>
                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
            </div>                    
    </td>
Replace with:
HTML Code:
<tr valign="top" align="left">
    <td class="alt2" width="175" cellpadding="10">
<table width="180">
<tr>
<td></td>
</tr>
<tr>
<td class="bm2" align="center" width="160"><div class="tcenter">
<div class="tleft">
<div class="tright">
<div class="tcat2">
&nbsp
</div></div></div></div>
<hr>
    <div align="center" id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                <else />
                $post[musername]
                </if>
            </div>
            <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<hr>
<table align="center" valign="middle" border="0" width="110" height="110">
<tr>
<td>        
<if condition="$show['avatar']">
                <div class="smallfont" align="center" valign="middle">
                    &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>
</td>
</tr>
</table>    
<!--Add Profile Fields Here-->
<table width="95%">
<tr>
<td><div class="smallfont"><if condition="$post['joindate']"><div><b>Joined: </b> $post[joindate]</div></if></td>
</tr>
<tr>
<td>
                <if condition="$post['field2']"><div><b>Located: </b>$post[field2]</div></if></td></tr>
<tr>
<td>
                <if condition="$post['age']"><div><b>Age: </b>$post[age]</div></if>
                <div>
                    <b>Posts: </b>$post[posts]
                </div></td></tr>
<tr>
<td>
                <if condition="$show['infraction']"><div><b>Infractions: </b>$post[warnings]/$post[infractions] ($post[ipoints])</div></if></td></tr>
</table>
<!-- / Add Profile Fields Here-->
<div class="fcenter">
<div class="fleft">
<div class="fright">
<div class="tcat2">
&nbsp
</div></div></div></div></td>
</tr>
</table>


Add to custom CSS Definitions:
Code:
/* ***** Postbit_Legacy Scroll ***** */
.tleft{background:  url(images/gradients/left.gif) top left no-repeat ;}
.tcenter{background:  url(images/gradients/center.gif) top left ;}
.tright{background:  url(images/gradients/right.gif) top right no-repeat ;}
.fleft{background:  url(images/gradients/footleft.gif) top left no-repeat ;}
.fcenter{background:  url(images/gradients/footcenter.gif) top left ;}
.fright{background:  url(images/gradients/footright.gif) top right no-repeat ;}
.bm2{background:  url(images/bm/misc/page_bg.jpg) top right no-repeat ;}
.bm3{background:  url(images/bm/misc/top.gif) top right no-repeat ;}
.tcat2
{color: #000000; font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; padding-left: 70px; padding-top: 3px;}
.tcat2 a:link, .tcat2_alink
{color: #000000;text-decoration: none;}
.tcat2 a:visited, .tcat2_avisited
{color: #000000; text-decoration: none;}
.tcat2 a:hover, .tcat2 a:active, .tcat2_ahover
{color: #878787; text-decoration: none;}
...and change the url to the locations of your images to be used for the curved head and foot.

Edits:
  1. Change URLs in CSS to that of the correct images.
  2. Set bm2 to what you want the background of your postbit to look like. Define an image or a background color.
  3. Change the CSS of tcat2 to whatever your preference. If you have a white forum this may need to be changed
  4. Find "Add Profile Fields Here" in the template and add any profile fields you wish too.
  5. In the very beginning it say <tr valign...>, define valign as either top, middle or bottom and align as left right or center, wherever you want it in the postbit.
  6. Find <table align="center" valign="middle" border="0" width="110" height="110"> and define height and width to the allowed size of your forum avatars. Delete height and width if you have multiple allowed sizes per usergroup.
Picture:


Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024