PDA

View Full Version : Signature forced to bottom (postbit_legacy)


Sledgstone
13 Oct 2006, 00:20
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:

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

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

Then find:

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

Delete it.


Now find:
<!-- / edit note -->
</if>

</td>
</tr>

Directly underneath add:

<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: 54617 After: 54618

DJ_aroms
13 Oct 2006, 03:15
nice mod, thanks. :)

kronikdj
13 Oct 2006, 05:49
awesome

/me clicks install

canpare
13 Oct 2006, 10:13
thanks , nice ;)

mhdhallak
13 Oct 2006, 12:31
AMAZING! Just what I've been looking for. This is how they should've done it from the beginning. Thanks alot. Installed :)

Acido
13 Oct 2006, 13:58
Excellent!
Thanx for sharing ;)

Kaleem
13 Oct 2006, 17:44
Great mod Intalled

eNforce
13 Oct 2006, 18:12
Can I have it completely any of the borders it adds?


<tr>
<td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" valign="bottom">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</if>
</td>
</tr>

You can see here:
http://www.areyouserios.com/showthread.php?t=448

tekstylez
13 Oct 2006, 21:52
very nice

NeitherSparky
14 Oct 2006, 05:55
Some of my members were asking for this when we first moved from Proboards (on PB the sig is at the bottom so they had gotten used to it). Thanks!

miner
14 Oct 2006, 09:17
Thank you nice hack...

Sledgstone
14 Oct 2006, 13:37
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:

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

Replace with:

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

Find:

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

Replace with:

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

Find:

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

Replace with:

<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.) 54666 After these code changes: 54667

Ohiosweetheart
15 Oct 2006, 00:08
FANTASTIC!!!! Thanks for the great mod!

An attached text file would be good ;)

NeitherSparky
16 Oct 2006, 02:05
An attached text file would be good ;)

I agree with this.

Also, thank you muchos for the instructions on how to get rid of that stupid line. ;)

As for my users: I presented them with the mod and they said they didn't like it! Said they didn't like the "space" in the middle of the posts. Mind you, when we first moved from Proboards, they were complaining about the space at the BOTTOM of the posts, and they asked me specifically if I could make the sigs go to the bottom. Geez. ;)

Pinky30
19 Oct 2006, 14:20
Donīt work with the Blue Vision Style from vBDesigns
What must I chance here?

My postbit_legacy Template:

<div class="frbg" $post[scrolltothis]>
<div class="frbgl"></div>
<div class="frbgr"></div>
<div class="fortext" >
<div style="float:right;padding:0;margin:-2px 0 2px 0;">
&nbsp; [ <a href="showthread.php?p=$post[postid]#post$post[postid]"><strong>Diesen Beitrag direkt verlinken</strong></a> ]
&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>
<if condition="$show['announcement']">
<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 />

<!-- status icon and date -->
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date --> </if>
</div>
</div>

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="175">
<a name="post$post[postid]"></a>
<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 />
<div class="pibu"><div class="pib"><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></div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</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]">$post[message]</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>
<br />
<fieldset class="fieldset">
<legend><b>Signatur von $post[musername]</b></legend>
$post[signature]<br />
</fieldset>

</div>
<!-- / sig -->
</if>

<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>
<tr>
<td class="alt2" >
$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" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- controls -->
<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>
<a href="cmps_index.php"><img src="$stylevar[imgdir_button]/bportal.gif" alt="$vbphrase[portal]" border="0" /></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>
<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="$stylevar[imgdir_button]/btop.gif" alt="$vbphrase[top]" 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>
</table>

<!-- 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 -->

thepub
19 Oct 2006, 17:45
I cannot find the first set of code you are saying to look for in vb3.6.2 postbit legacy. I found it in one style but after carefully reading and searchin, the code is not in my other style :(

|oR|Greg
19 Oct 2006, 18:15
Well, Thanks for the hack first off, nice idea. However because my board is so heavily modded your code had to have lots of changes. I eventually got it all working, but one thing I did notice. If a user doesn't have a signature, it adds a small empty amount of space between the post and the controls beneath the post. It does this because your hack adds a new row whether or not the user has a signature. To overcome this you can do the following:

Find:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Replace with:
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
</if>

Find:
<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>
Replace with:

<if condition="$post['signature']">
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>

thepub
19 Oct 2006, 19:29
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:

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

Replace with:

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

Find:

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

Replace with:

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

Find:

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

Replace with:

<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.) 54666 After these code changes: 54667

ok I did this and my forum is completely screwed up! Seriously, I have tried to make it normal again and it's not working. my members are freaking out, I'm freaking out and I do not know what to do.

|oR|Greg
19 Oct 2006, 21:05
Revert your templates pub.

thepub
19 Oct 2006, 21:34
I did and now my vbplaza is gone and I dont know how to put it in for that template :(

|oR|Greg
20 Oct 2006, 16:07
Oy, yeah well... by revert I assumed you didn't have other hacks, you should have gone into the template history and compared the 2, and rebuilt the current one minus the changes made by this hack.

Download vbplaza again and go thru the product.xml to see what you're missing for that template, it might take a while, and a lot fo trial and error, but you'll eventually get it. It's just the postbit_legacy so it can't have screwed up plaza too badly.

pascalvisit
20 Oct 2006, 20:20
i tryed every code in the post and i still have the empty space :(

|oR|Greg
21 Oct 2006, 04:01
Pascal, I tried all of Sledgstones code as well and I too had the space. I ended up having to customize it for my site because I have so many hacks running.

What his code attempts is continue using cellspacing="1" overall for the template, but to override it in a few spots with the CSS code placement. You'll have to play with your template in order to get it looking right. It IS possible, don't give up. Take a look at mine.

http://www.amacny.com/vb/showthread.php?t=2522 (I'm GTOOOOOH BTW)

Ang3ls
21 Oct 2006, 06:52
Nice, Thanks for the great mod! :D

pascalvisit
21 Oct 2006, 09:57
Pascal, I tried all of Sledgstones code as well and I too had the space. I ended up having to customize it for my site because I have so many hacks running.

What his code attempts is continue using cellspacing="1" overall for the template, but to override it in a few spots with the CSS code placement. You'll have to play with your template in order to get it looking right. It IS possible, don't give up. Take a look at mine.

http://www.amacny.com/vb/showthread.php?t=2522 (I'm GTOOOOOH BTW)

Thank you for your answer but when i try to change the styles template, it doesn't appear correctly in the generated source.

BTW, i have nothing installed i try to hack the original (reverted) postbit_legacy so it s probably coz of my style css..

|oR|Greg
21 Oct 2006, 15:20
What's your site address?

Canis Firebrand
23 Oct 2006, 02:49
very Nice. I had a similar one installed that was in the 3.5.x section. It looked a bit similar, but it left gaps in the lefthand section with the avatar and all the icons.

this one takes care of that issue.

Nice job!

blacklancer
02 Nov 2006, 21:07
mine gets all screwed up cuz of rowspan="2" and looks like this :

55444

any help???

DrewzR/T
03 Nov 2006, 23:29
I also had a different skin so my postbit was jacked. I figured it out. This is all I had for the first edit.

<td class="alt2" width="175">

Then this is what I did to make it work

<td class="alt2" width="175" rowspan="2">

May not help some but hopefully some can use it.

ogameclub
04 Nov 2006, 18:05
Thanks for useful hack.

thepub
16 Nov 2006, 19:13
I was able to install this somewhat successfully, but no when typing pm's the pm body box is stretched out side of the style (fixed style and it goes past it on the side)

Netaudio
16 Nov 2006, 19:39
Hello, Sledgstone

[Hello vbullet.org ... my 1.]

Donīt work with my postbit_legacy Template?!

Can You Help m, please?

<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="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" 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>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- 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 -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$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>
</td>
</if>
</tr>
<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>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</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]">$post[message]</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>
<br />
<fieldset class="fieldset">
<legend><b><font color="#DF1818">$post[username]</font>'s Signatur</b></legend>
$post[signature]<br />
</fieldset>
</div>
<!-- / sig -->
</if>

<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>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$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" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<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>
</table>

<!-- 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 -->

Flow Fusion
17 Nov 2006, 14:43
How would I add a text field at the bottom of the signatures? A field for like [fieldx]?

MustangLisa
18 Nov 2006, 03:57
Fantastic, thanks!!

ripsaw
18 Nov 2006, 03:58
Doesnīt work with my postbit_legacy Template either?!

Too bad. I'd love to do this.

picardtux
18 Nov 2006, 08:27
many thX

|oR|Greg
11 Dec 2006, 15:03
Works great with mine, try my version maybe...

DannyMilner
11 Dec 2006, 15:50
Thanks for sharing, wanted this for a while

maxicep
15 Dec 2006, 14:30
thanks installed.

krazycivik
18 Dec 2006, 07:47
awsome mod thank you makes my forums look alot cleaner and organized great work

IAWBody
20 Dec 2006, 04:15
thanks I've been needing this! :D

Daracon
22 Dec 2006, 08:27
thanks! *clicks install*

principino1984
23 Dec 2006, 00:39
i'll try to install it! I'll let you know...in any case this is a nice mod!

Marco

adonfun
26 Dec 2006, 14:15
Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?

Sledgstone
29 Dec 2006, 21:19
Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?

Yes, it works fine with 3.6.4

adonfun
30 Dec 2006, 18:25
Yes, it works fine with 3.6.4

:D Thank you Sledgstone :) Will install it in the beginning of 2007

Happy New year!!

Brew
04 Jan 2007, 17:31
I have been wanting this for a long time. I've always thought sigs look too close to the messages. Having them down at the bottom looks a lot better I think.

But I am having a problem with this hack...and it's not the authors fault....it's the skin I'm using. The following line is missing, so I can't even try some of the posts in this thread to fix this:


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


There was a post in this thread about this problem who's attached image was what I am looking for but without the above code in my skin I can't figure out how to accomplish that.

I've been tinkering with this for hours but I just can't seem to be able to get the border from appearing above the sig. The code looks like this:

<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">

<if condition="$post['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">
<!-- sig -->

<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td></if>
</td>


Another problem is that if someone does not have a sig the cell background is black.

If anyone would please go to one of the posts at my site and look at the source I would greatly appreciate it.

Here's one thread that has a few posts in it where you can see the line and an empty sig with the black background:

http://www.politicalforums.net/forums/showthread.php?t=2552

I know this thread probably shouldn't be an HTML tutorial, but I am really stuck with this.

cfish
04 Jan 2007, 18:50
Thank you very much - works perfectly and should be part of the default vB style.

Click Install.

adnedarn
13 Jan 2007, 18:40
I ended up having a really wired screen. Turned out I ended up with a extra <tr> above the last data add. I don't know where it came from or if it was related to this... But, removing that fixed it. it looks great! thanks

akulion
29 Jan 2007, 08:53
couldnt get this to work

the last edit throws off my entire theme (black n blue)

dunn why

but good mod all the same

Sparticus_V2
01 Feb 2007, 19:18
any solutions for the problem of the skins that dont have the <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> line of code?

BillieJoe
24 Mar 2007, 08:58
great mod thx. *installed*

InTeNsE-HuMoR
16 Apr 2007, 17:15
Any way to get it to work for this?

<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 -->

jazzastudios
17 Apr 2007, 01:27
this was REALLY helpful, thank you SO much, i was looking everywhere and found my solution here. thank you

UaeStar
18 Apr 2007, 21:12
nice man

InTeNsE-HuMoR
20 Apr 2007, 03:57
[bump] any fix for my problem posted above?

dbirosel
25 Apr 2007, 20:52
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:

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

Replace with:

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

Find:

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

Replace with:

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

Find:

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

Replace with:

<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.) 54666 After these code changes: 54667
Tried this and it still had a line. Am i doing something wrong???

GrendelKhan{TSU
03 May 2007, 17:52
OMG THANK YOU!!! been wanting this for this forever!!
(very happy now :))

<< installed!! :D :D

NaughtyStud
04 May 2007, 09:17
Very nice Mod, thank you and clicked install. ;)

SecTa
26 May 2007, 22:15
The line
<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:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

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

Then find:
$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:
</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? :rolleyes:

Tulsa
28 May 2007, 00:12
Perfect on 3.6.7 Two thumbs up, this is even better now... Thanks for this SecTa.

dope15gd
29 May 2007, 21:04
snip:

This worked perfectly for me. The OP's way screwed some things up, but yours is perfect. thanks for posting this

Skedoozy
30 May 2007, 03:16
Tried this and it still had a line. Am i doing something wrong???
these changes also did nothing for me

ACIKillJoy
31 May 2007, 07:56
For those who are using postbit_legacy templates that do not include this line:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
I have found a fix.

You need to find this:
<tr valign="top">
<td class="alt2" width="175">

<div id="postmenu_$post[postid]">

then change it to this:
<tr valign="top">
<td class="alt2" width="175" rowspan="2">

<div id="postmenu_$post[postid]">
Then delete this:
$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]
find this:

<!-- / edit note -->
</if>

</td>
</tr>
and after add this:
<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 -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<center>$post[signature]</center>
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
</td>
</tr>

I added a center tag around my $post[sig] code just to make it look better on my site. feel free to remove it if you want.
This is working on 3.6.7
To see it working on my site here is a link to a post
http://www.anticheatinc.com/forums/showpost.php?p=83602&postcount=1

Chadi
14 Jun 2007, 03:44
[edit: fixed, sorry]

foxfirediego
04 Jul 2007, 21:15
still haven't found a way to fix this line
i've already read the thread
thx for the mod..

Aneurysm
13 Jul 2007, 05:41
Thanks, it's a great look

4x4 Mecca
13 Jul 2007, 06:40
remove this line

<hr size="1" style="color:$stylevar[tborder_bgcolor]" /> and that line will be gone

tmod
14 Jul 2007, 02:55
remove this line

<hr size="1" style="color:$stylevar[tborder_bgcolor]" /> and that line will be gone
Actually that won't remove the line he/she is referring to.

That will remove the line that is directly above the signature which you can barely see in the image.

The line he is referring to is due to the rowspan="2" addition and the skin that he is running.

Tmod

tmod
15 Jul 2007, 04:47
Anyone that has a aftermarket skin may have the problem with that line that is directly under the post and then a big space and then the signature.

Well I hated the line there and played with some code until I got it looking the way I wanted it to.

So here is my edition of this mod.

Go to the postbit_legacy template for the skin you are working with.

Find This:
<td class="alt2" width="175">

Replace With This:
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="2">
<else />
<td class="alt2" width="175">
</if>

Find This:
$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

Replace With This:
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<tr height="1">
<td class="alt1" valign="bottom">
<!-- sig -->
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>

$template_hook[postbit_signature_end]

Now save the template and refresh the forum and it should show a bit neater then it did before.

Tmod

flindersredclaw
30 Jul 2007, 18:59
The original code worked spot on on 3.6.8

flindersredclaw
01 Aug 2007, 16:38
... However I have not worked out how to apply this to the postbit template

EvilKitty
02 Aug 2007, 03:47
For those who are using postbit_legacy templates that do not include this line:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
I have found a fix.

You need to find this:
<tr valign="top">
<td class="alt2" width="175">

<div id="postmenu_$post[postid]">

then change it to this:
<tr valign="top">
<td class="alt2" width="175" rowspan="2">

<div id="postmenu_$post[postid]">
Then delete this:
$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]
find this:

<!-- / edit note -->
</if>

</td>
</tr>
and after add this:
<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 -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<center>$post[signature]</center>
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
</td>
</tr>

I added a center tag around my $post[sig] code just to make it look better on my site. feel free to remove it if you want.
This is working on 3.6.7
To see it working on my site here is a link to a post
http://www.anticheatinc.com/forums/showpost.php?p=83602&postcount=1


This almost solved it for me - only there's a sort of ugly white long above the black line now.

Ohiosweetheart
05 Aug 2007, 17:25
I've had a problem with this hack dividing the message side of my postbit_legacy. See my screenshot. It's the same problem that EvilKitty seems to be having.

There are 2 or 3 fixes on this thread in addition to the original post. Do any of them actually work now?

DrussRob
25 Aug 2007, 00:37
I'm by no means good at this, so just a suggestion here.
Would that line maybe be a function of the css?

DrussRob
25 Aug 2007, 04:47
ok, so I investigated my own advice and think I came up with a fix.

This is what I did to get rid of the line.

AdminCP>Styles & Templates>Style Manager>Main CSS>

Now scroll down to "First Alternating Color". You'll see something like this:
border-left: 1px solid #212121;
border-right: 1px solid #212121;
border-top: 5px solid #212121;
border-bottom: 5px solid #212121;

Change the 5's to 0's and save. I'm not sure if you have to do it in the "Second Alternating Color", but I did and it didn't seem to hurt.

Cigarcritic
27 Aug 2007, 01:38
Thanks.....SecTa , works great!

Grunt
05 Sep 2007, 14:12
I ran into the same thing awhile back with this mod - yes it is the borders defined in alt1/2 tags.

Instead of losing your alt borders throughout your forums just for this mod (unless it's of no consequence), create two 'Additional CSS Definitions' that are duplicates of your alt's minus the borders, which more than likely only leaves the background color. Then, in your postbit_legacy template replace all instances of alt1 and alt2 with the newly created definitions.

.alt1a {background-color: #F5F5FF;}
.alt2a {background-color: #E1E4F2;}Or something along those lines..

SliceofLife
10 Sep 2007, 12:09
Thank you for this! It works well on my forum. Exactly what I wanted :D

SliceofLife
11 Sep 2007, 00:34
For some reason, the original code started making all the posts double up, but this code below seems to work fine. Thank you :D

The line
<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:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

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

Then find:
$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:
</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? :rolleyes:

trackpads
03 Oct 2007, 00:44
Great hack! Thanks!

powerful_rogue
25 Oct 2007, 01:23
:confused: Talk about confused!

I think I may have got it sorted, saved a back up just incase but so far so good!

AzH
18 Nov 2007, 17:40
Thanks. Installed.

GhoHan
21 Nov 2007, 13:49
great, just what I need.

installed, dude.

:Judge:
06 Feb 2008, 21:17
Has anyone tried any of these on 3.7.0 ?

TCE Killa
08 Feb 2008, 23:44
Thanks for this, it works but how do I get rid of this black bar shown on the screenshot? Thanks.

TCE Killa
09 Feb 2008, 17:28
ok, so I investigated my own advice and think I came up with a fix.

This is what I did to get rid of the line.

AdminCP>Styles & Templates>Style Manager>Main CSS>

Now scroll down to "First Alternating Color". You'll see something like this:
border-left: 1px solid #212121;
border-right: 1px solid #212121;
border-top: 5px solid #212121;
border-bottom: 5px solid #212121;

Change the 5's to 0's and save. I'm not sure if you have to do it in the "Second Alternating Color", but I did and it didn't seem to hurt.

Thanks so much, it worked.

Thomas P
17 Mar 2008, 14:33
Nice Mod, but the line between the post and the signature is ugly.

The a.m. solution doesn't work for me, as long as cellspacing is set to 1.

todosbaneados
17 Mar 2008, 14:45
For postbitŋ?

Thomas P
17 Mar 2008, 14:50
If you're talking to me: yes

todosbaneados
17 Mar 2008, 21:21
I talking to everybody, how can i edit in the postbit?

Thomas P
18 Mar 2008, 12:29
Go into the vB ACP -> Style (dropdown) - edit templates - postbit_legacy

todosbaneados
18 Mar 2008, 12:57
But i use the postbit, no postbit_legacy...

jGas
22 Mar 2008, 09:24
thanks :D

if you use postbit you don't need this modification!
if you want some space between the post and the signature try adding some <br /> inside the <!-- sig --> in your postbit :D

TTG
28 Mar 2008, 12:41
Could use an update for 3.7.0 :up:

cafenetland
05 Apr 2008, 23:07
thx

installed

Defkalion
04 May 2008, 11:15
I tried to implement this for 3.7 but didn't succeed.

Anyone has any idas?

pedroenf
15 May 2008, 21:13
I use this in 3.7 and it does work.

Majest
21 May 2008, 11:26
Works fine on 3.7.0 too, thanks for this.

pigpog
04 Dec 2008, 00:50
Brilliant. Worked like a charm on my 3.7.3 version. :) Thanks!

AzH
05 Dec 2008, 21:45
Confirmed working on 3.7.3

AzH
06 Dec 2008, 02:59
Question: How do I force the "Edited by" note to the bottom along with the signature? I've tried many different types of div tags etc without success. Example: http://left4deadforums.com/20707-post7.html

AzH
06 Dec 2008, 09:38
NVM, I sorted it.

Vinyljunky
12 Dec 2008, 16:20
neat

BigJohnny
09 Feb 2009, 01:41
I didnt read the whole thread, but did anyone mention the hook locations? they werent moved with the sig...
you might want to try this chunk instead.


$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<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]

BigJohnny
16 Feb 2009, 02:03
Now ive read the thread, and am having a problem of my own with that damn line in my extremepixels skins.

Ive almost got it sorted but i still cant get the damn thing to go away.

using pieces of code throughout this thread ive come up with this so far. keep in mind im using other customizations as well..... so basically I need to find out where this border is being set and remove it.


<tr valign="top">
<!-- Signature Forced To Bottom Mod -->
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="3" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
</if>
<!-- / Signature Forced To Bottom Mod -->



<!-- Signature Forced To Bottom -->
<if condition="$post['signature']">
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<tr height="1">
<td class="alt1" valign="bottom">
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
</td>
</tr>
</if>
$template_hook[postbit_signature_end]
</td>
</tr>
</if>
<!-- Signature Forced To Bottom -->

BigJohnny
16 Feb 2009, 13:18
This change was incorrect.... so i edited this post.

BigJohnny
19 Feb 2009, 02:11
ok ive seen what my problem is, its the cell spacing, however, the code to fix the cellspacing problem is different so i can find and replace the items mentioned.

Is there anyway you could tell me where those locations are to remove the cellspacing, but keep the borders?

ITDarasgah
04 Aug 2009, 19:52
Install and work fine ...thanks