Announcement

Collapse
No announcement yet.

How to align signatures to bottom (when using postbit)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB 3.8] How to align signatures to bottom (when using postbit)

    This template edit will align users' signatures to bottom, when forum uses postbit template.
    Original idea by Sledgstone (found on vbulletin.org) rearranged and updated for vB 3.8 by me.

    Admin CP -> Styles & Templates -> Style Manager -> -> Postbit Templates -> postbit_legacy

    Find:
    Code:
    	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
    Replace with:
    Code:
    	<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

    In same template find this code and add the blue code:
    Code:
    	</td>
    </tr>
    <tr>
    <td class="alt1" style="vertical-align: bottom; border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
    		$template_hook[postbit_signature_start]
    		$ad_location[ad_showthread_firstpost_sig]
    
    		<if condition="$post['signature']">
    		<!-- sig -->
    			<div style="vertical-align: bottom">
    				__________________<br />
    				$post[signature]
    			</div>
    		<!-- / sig -->
    		</if>
    		$template_hook[postbit_signature_end]
    
    		<if condition="$show['postedited']">
    		<!-- edit note -->
    			<div class="smallfont">
    				<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
    				<em>
    					<if condition="$show['postedithistory']">
    						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
    					<else />
    						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
    					</if>
    					<if condition="$post['edit_reason']">
    						$vbphrase[reason]: $post[edit_reason]
    					</if>
    				</em>
    			</div>
    		<!-- / edit note -->
    		</if>
    
    	</td>
    </tr>
    Attached Files

Related Topics

Collapse

Working...
X