![]() |
Signature forced to bottom (postbit_legacy)
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"> Code:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<if condition="$post['signature']"> Now find: Code:
<!-- / edit note --> Code:
<tr> |
nice mod, thanks. :)
|
awesome
/me clicks install |
thanks , nice ;)
|
AMAZING! Just what I've been looking for. This is how they should've done it from the beginning. Thanks alot. Installed :)
|
Excellent!
Thanx for sharing ;) |
Great mod Intalled
|
Can I have it completely any of the borders it adds?
Code:
<tr> http://www.areyouserios.com/showthread.php?t=448 |
very nice
|
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!
|
Thank you nice hack...
|
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"> Code:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> Code:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px"> Code:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px"> Code:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px"> Code:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 1px"> |
FANTASTIC!!!! Thanks for the great mod!
An attached text file would be good ;) |
Quote:
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. ;) |
Don?t work with the Blue Vision Style from vBDesigns
What must I chance here? My postbit_legacy Template: Code:
<div class="frbg" $post[scrolltothis]> |
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 :(
|
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: Code:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<if condition="$post['signature']"> Code:
<tr> Code:
<if condition="$post['signature']"> |
Quote:
|
Revert your templates pub.
|
I did and now my vbplaza is gone and I dont know how to put it in for that template :(
|
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. |
i tryed every code in the post and i still have the empty space :(
|
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) |
Nice, Thanks for the great mod! :D
|
Quote:
BTW, i have nothing installed i try to hack the original (reverted) postbit_legacy so it s probably coz of my style css.. |
What's your site address?
|
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! |
|
I also had a different skin so my postbit was jacked. I figured it out. This is all I had for the first edit.
Code:
<td class="alt2" width="175"> Code:
<td class="alt2" width="175" rowspan="2"> |
Thanks for useful hack.
|
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)
|
Hello, Sledgstone
[Hello vbullet.org ... my 1.] Don?t work with my postbit_legacy Template?! Can You Help m, please? Code:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> |
How would I add a text field at the bottom of the signatures? A field for like [fieldx]?
|
Fantastic, thanks!!
|
Doesn´t work with my postbit_legacy Template either?!
Too bad. I'd love to do this. |
many thX
|
Works great with mine, try my version maybe...
|
Thanks for sharing, wanted this for a while
|
thanks installed.
|
awsome mod thank you makes my forums look alot cleaner and organized great work
|
All times are GMT. The time now is 06:16 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:
|