Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Signature forced to bottom (postbit_legacy) Details »»
Signature forced to bottom (postbit_legacy)
Version: 1.00, by Sledgstone Sledgstone is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 10-12-2006 Last Update: Never Installs: 228
 
No support by the author.

This mod will force all user's signatures to the bottom of their post. This is helpful if you have custom fields displayed under your avatars. Only 3 code changes are required in the postbit_legacy template. It'll take you about one minute to install this.

I have attached a couple screenshots showing what this mod does. I also have enabled this on my forums and you can see an example there:

http://forums.ancientclan.com/



In postbit_legacy, find:

Code:
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Change to:
Code:
	<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Then find:
Code:
		<if condition="$post['signature']">
		<!-- sig -->
			<div>
				__________________<br />
				$post[signature]
			</div>
		<!-- / sig -->
		</if>
Delete it.


Now find:
Code:
		<!-- / edit note -->
		</if>
	
	</td>
</tr>
Directly underneath add:

Code:
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">

		<if condition="$post['signature']">
		<!-- sig -->
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
			<div valign="bottom">
				$post[signature]
			</div>
		<!-- / sig -->
		</if>
		</td>
</tr>
Before: Attachment 54617 After: Attachment 54618

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-01-2007, 06:18 PM
Sparticus_V2 Sparticus_V2 is offline
 
Join Date: Jan 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any solutions for the problem of the skins that dont have the
Quote:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
line of code?
Reply With Quote
  #53  
Old 03-24-2007, 07:58 AM
BillieJoe BillieJoe is offline
 
Join Date: Mar 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod thx. *installed*
Reply With Quote
  #54  
Old 04-16-2007, 04:15 PM
InTeNsE-HuMoR InTeNsE-HuMoR is offline
 
Join Date: Sep 2006
Location: Northern Ireland, UK
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to get it to work for this?

Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<br />

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td>
	<td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. It's contents can be trusted.</font></td>
</tr>
</table>

<br />
</if>
<if condition="THIS_SCRIPT != 'private'">
<div class="tcat_top_iefix">
<table class="tcat_big" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
	<tr>
		<td class="tcat_left"></td>
		<td class="tcat">
		<if condition="$post['title']">$post[title]<else />Re: $thread[title]</if>
	</td>
		<td class="tcat_right"><img src="$stylevar[imgdir_misc]/skin/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
</div>

<div class="tborder_big">
<div class="tborder_big_right">
</if>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<if condition="$show['announcement']">
		<td class="thead" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor];font-weight:normal;" colspan="2">
			<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
			<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
	<else />
		<td class="thead" colspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor];font-weight:normal;" $post[scrolltothis]>
		<div style="float: $stylevar[right];">
			&nbsp;
			<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
			<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align: middle; padding:0px; margin: 0px 0px 0px 5px;" value="$post[checkbox_value]" />
			</if>
		</div>
			<!-- status icon and date -->
			<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
			$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->
	</if>
</td>
</tr>
<tr valign="top">
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0; border-bottom: 0; border-top: 0; text-align: center;">
<img src="$stylevar[imgdir_misc]/skin/spacer.gif" style="width: 175px; height: 1px;" alt="" />
			<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 class="postbit_field"><span class="postbit_text">$vbphrase[join_date]:</span> $post[joindate]</div></if>
				<if condition="$post['field2']"><div class="postbit_field"><span class="postbit_text">$vbphrase[location_perm]:<span> $post[field2]</div></if>
				<if condition="$post['age']"><div class="postbit_field"><span class="postbit_text">$vbphrase[age]:</span> $post[age]</div></if>
				<div class="postbit_field"><span class="postbit_text">
					$vbphrase[posts]:</span> $post[posts]
</div>
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]"><div class="postbit_field"><span class="postbit_text">
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1"><div class="postbit_field"><span class="postbit_text">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1"><div class="postbit_field"><span class="postbit_text">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
</div>
</div>
</div>
<!-- End Post Thank You Hack -->
<if condition="$post[FIELD_HASBLOG]"><div class="postbit_field"><span class="postbit_text">
   <a href="$vboptions[blog_url]/viewblog.php?$session[sessionurl]userid=$post[userid]">
   <span style="font-weight:bold; font-size:11px; text-decoration:none;">
     <phrase 1="$post[username]">
          $vbphrase[blog_visit_x_blog]
     </phrase>
   </span></a>
 </if>
				
				<if condition="$show['infraction']"><div class="postbit_field"><span class="postbit_text">$vbphrase[infractions]:</span> $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
				<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="postbit_field"><span id="reppower_$post[postid]_$post[userid]" class="postbit_text">$vbphrase[reppower]</span>: $post[reppower]</if></div><div class="postbit_field"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
				<if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon]"><div class="postbit_icons">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></if>
			</div>
		$post[onlinestatus]
		<if condition="$show['reputationlink']">
			<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
			<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
		</if>				
		<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
		<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
		$post[iplogged]
		&nbsp;
	</td>

	<if condition="$show['moderated']">
	<td class="alt2" id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-bottom: 0; width: 100%;">
	<else />
	<td id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-bottom: 0; width: 100%; height: 100%;" class="alt1">
	</if>
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong></if>
			</div>
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
			<!-- / icon and title -->
		</if>
		
		<!-- message -->
		<div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div>
		<!-- / message -->
	
		<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>
		
		<if condition="$post['signature']">
		<!-- sig -->
		__________________
			<div class="overflow_parent"><div class="overflow_child">

				$post[signature]
			</div></div>
		<!-- / sig -->
		</if>
</td>
</tr>
<tr valign="bottom">
	<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0; border-top: 0; ">&nbsp;</td>
	<if condition="$show['moderated']">
	<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0; text-align: right; padding: 3px; height: 23px;">
	<else />
	<td class="alt1" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0; text-align: right; width: 100%; padding: 3px; height: 23px;">
</if>
		<!-- controls -->
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
		<if condition="$post['editlink']">
			<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
			<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
		</if>
		<if condition="$post['forwardlink']">
			<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
		</if>
		<if condition="$post['replylink']">
			<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
		</if>
		<if condition="$show['multiquote_post']">
			<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
		</if>
		<if condition="$show['quickreply'] AND !$show['threadedmode']">
			<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
		</if>
		<if condition="$show['moderated']">
			<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
		</if>
		<if condition="$show['deletedpost']">
			<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
		</if>
		<if condition="$show['redcard']">
			<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
		<else />
			<if condition="$show['yellowcard']">
				<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
		</if>
			</if>
		<!-- / controls -->
	</td>
</tr>
<if condition="$show['postedited']">
<tr>
	<td class="alt1" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0;" colspan="2">

			<!-- edit note --><em class="smallfont">
			<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
			<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
			</em><!-- / edit note -->
	</td>
</tr>
</if>
</table>
</div>
</div>
<div class="tbottom">
<div class="tbottom_left"></div>
<div class="tbottom_right"></div>
</div>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
	</if>
	</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
Reply With Quote
  #55  
Old 04-17-2007, 12:27 AM
jazzastudios jazzastudios is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this was REALLY helpful, thank you SO much, i was looking everywhere and found my solution here. thank you
Reply With Quote
  #56  
Old 04-18-2007, 08:12 PM
UaeStar UaeStar is offline
 
Join Date: May 2006
Location: UAE
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice man
Reply With Quote
  #57  
Old 04-20-2007, 02:57 AM
InTeNsE-HuMoR InTeNsE-HuMoR is offline
 
Join Date: Sep 2006
Location: Northern Ireland, UK
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[bump] any fix for my problem posted above?
Reply With Quote
  #58  
Old 04-25-2007, 07:52 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sledgstone View Post
Thanks for the nice words everyone.

For those of you that have that extra line above your signature, this is because you have cellspacing set to 1 for your main postbit_legacy table. Most people use cellspacing="1" to add that border line inbetween the two main cells of the table and to add the border lines to seperate the online/reputation/etc icons and the edit/quote/etc buttons from their respective cells. As of vb 3.6 there is a border sperating the main cells so you don't need to add any extra code for that one, but for the bottom rows you can still keep those borders by doing the following:

(Before doing this, please look at the screenshots to see the before and after to make sure you like the results and that you still want to do this.)

In postbit_legacy

Find:

Code:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
Replace with:

Code:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
Find:

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

Code:
	<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px">
Find:

Code:
	<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
Replace with:

Code:
	<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 1px">
With cellspacing="1" (Notice the extra line above the sig.) Attachment 54666 After these code changes: Attachment 54667
Tried this and it still had a line. Am i doing something wrong???
Reply With Quote
  #59  
Old 05-03-2007, 04:52 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG THANK YOU!!! been wanting this for this forever!!
(very happy now )

<< installed!!
Reply With Quote
  #60  
Old 05-04-2007, 08:17 AM
NaughtyStud's Avatar
NaughtyStud NaughtyStud is offline
 
Join Date: Jan 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Mod, thank you and clicked install.
Reply With Quote
  #61  
Old 05-26-2007, 09:15 PM
SecTa SecTa is offline
 
Join Date: Dec 2004
Location: Alfa Centauri
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The line
HTML Code:
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
is not that good, cause it's used for "Last edited" separation, so, it's better to leave the original one. Also, when applying this hack, "last edited' info is shown ABOVE the signature, which is not good. And there's signature hooks appear to be misplaced.
Here's my alternative to this hack, with needed fixes:

In postbit_legacy, find:
HTML Code:
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Change to:
HTML Code:
	<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Then find:
HTML Code:
		$template_hook[postbit_signature_start]
		
		<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]" />
				<em>
				<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
				<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
				</em>
			</div>
		<!-- / edit note -->
		</if>
	
	</td>
</tr>

Replace With:
HTML Code:
	</td>
</tr>
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
		$template_hook[postbit_signature_start]
		<if condition="$post['signature']">
		<!-- sig -->
			<div valign="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]" />
				<em>
				<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
				<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
				</em>
			</div>
		<!-- / edit note -->
		</if>
		</td>
</tr>
Works with vB 3.6.7
Sledgstone, could you please update your first post?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07251 seconds
  • Memory Usage 2,369KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (12)bbcode_code
  • (5)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete