Back to vBulletin 3.7 Template Modifications

Force Signature to the Bottom
Mod Version: 1.00, by dancue

This modification is in the archives.
vB Version: 3.7.0 Rating: (10 votes - 5.00 average) Installs: 105
Released: 27 Mar 2008 Last Update: Never Downloads: 21
Not Supported Template Edits  

Here is a small contribution to this community.

I noticed that this template modification was available for 3.0 and 3.5, but not for 3.7.

Credits:
Was motivated by the original hack, created by Brad.


What does it do?

It will allow you to place the signature at the very bottom of the post.

What's the difference between this and the previous versions?
  • The table area for the signature will shrink to fit the signature. This will avoid the bottom table from directly following the end of a post.
  • The edited note has been moved to the absolute bottom. (On past versions they have showed directly after the post, before the sig.)

Versions tested and working on:
  • 3.7.0

Notes:
  • This is ONLY for postbit_legacy users.
  • Those with very customized templates may reply to this thread or pm me for a different code. Please make a copy of your postbit_legacy before altering it.
  • Support is offered to the best of my ability and when time permits.
  • I will only offer support to those who have clicked install.

Installation:

Find in postbit_legacy template:
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">
Find in postbit legacy template:
Code:
		<if condition="$post['signature']">
		<!-- sig -->
			<div>
				__________________<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>
Replace with:
Code:
<tr>
<td class="alt2" valign="bottom" height="100%"style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
		$template_hook[postbit_signature_start]
		<if condition="$post['signature']">
				<!-- sig -->
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
			<div valign="bottom">
				$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>

Download

No files for download.

Similar Mods

Signature at bottom of postbit. vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024