![]() |
legacy_postbit Signature Spacing Mod
Heres a mod that cleans up the signature & edit note spacing in the legacy_postbit template, leaving them at the bottom of the post regardless of how short the post is.
I replaced the __________________<br /> tag with an <hr> tag making the line cross the entire post. If you prefer the old style, replace <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> with the old __________________<br /> |
Installed fine but it really doesnt do what it is supposed to: save space
If you notice it almost seems to add a new row. The sig will push down so that nothing is in the cell to the left of it. Look at the screenshot. The sig is justified below the status information on the left. Why is that? I'ver been looking for this mod for a while. Does anyone know how to fix it? Thanks in advance... [Edit] I found a simple compromise. All you have to do is make the <td> tag for the message area valign="bottom". If you want the horizontal rule to span the entire area, you will have to insert a table width="100%" inside the <td valign="bottom". The only downside to this approach is that short messages start a bit down on the page, but no space is wasted and the signs are always bottom justified. |
Nice mod. I will test this soon. :)
|
this doesnt work for me. All it does it make table upon table upon table for my postbit.
It screws everything up. |
yea .. didnt work
|
Works great for me so far, seperates the sig from the post body very nicely.
|
how did you get it to work? Keep in mind this is for VB3.
Did you have to edit or change anything? |
How did I get it to work?
I just followed the directions and it worked fine. I'm using vb 3.0.0 and had no problems. After a couple days I got rid of it though because I realized the spacing and alignment of the tables (the fact that the sig table started directly under the information on the side of the legacy postbit, as mentioned earlier in the thread) would cause some problems if you had a fairly large sig and filled out all the information that I made visible in the postbit, it would cause the post to be huge even if you only posted a few words. It's a nice hack but I just have too much crap visible in the postbit to use it. Now I just put <hr> tags above and below the sig to kind of section it off from everything else. If I could figure out how to align it to the bottom I'd be totally content. |
Uber, can you post an update for vB3 Final, I did try to install it but It mess up the table.
|
works fine for me in VB3 .. not sure if I like the results yet, but it does work
|
actually no ... not quite, the edited by bit looks wrong now, I have had a mess with it on my own and come up with this as an alternative:
In postbit_legacy (after the mod has been installed) Find this: <!-- Signature --> <if condition="$post['signature']"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <span class="smallfont">$post[signature]</span> </if> <!-- / End Signature --> <!-- Edit Note --> <if condition="$show['postedited']"> <div class="smallfont"> <hr size="1" 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> </if> <!-- End Edit Note --> Replace with this !-- Edit Note --> <if condition="$show['postedited']"> <div class="smallfont" align="right"> <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> </if> <!-- End Edit Note --> <!-- Signature --> <if condition="$post['signature']"> __________________<br /> <span class="smallfont">$post[signature]</span> </if> <!-- / End Signature --> This will make the "edited by" note move above the signature and justify it to the right, it will also restore the old "________" above the signature rather than the HR tag Hope that helps people who are after an alternative view |
This may sound silly.. but how did this website do it?
Notice the sig on Tonys post appears at the bottom even though his post is just a few words long. |
^thats how it is suppose to be.
|
thx, it's work for me
|
worked fine for me.. thx..
|
Thanks for contributing!
|
Thanks Uber.
|
Edit: Works in 3.5 as well.
|
ok...so does this work ok or not :P
|
doesnt work for me....
Quote:
|
Quote:
|
Doesnt work for me. I have tried all different kinds of hacks and still the signatures are at the top of the post, just below the last line.
|
didnt works
|
does not work with 3.5.4. It makes everything alllllllll screwy.
|
Quote:
Is anyone else seeing this and if so, is there a way to get rid of the box? Thanks! |
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|