PDA

View Full Version : Mini Mods - Limit the height of the signature


dothanhtrung
12-15-2008, 10:00 PM
find postpit or postbit legacy
<!-- sig -->
.......
<!-- /sig -->
and replaced by all

<!-- sig -->
<hr size="1" style="color:#678B06" />
<div valign="bottom" style="width:100%; height:400px; overflow: auto">
$post[signature]
</div>

<!-- / sig -->

400px is the maximum height permitted for you. you can edit if you want

this mod can use for all version vbb

Huy Ho?ng
12-16-2008, 09:28 AM
Good job :D

Tarfandestan
12-16-2008, 11:19 AM
Excellent!

Jezlad
12-16-2008, 01:12 PM
Awesome, thanks for this. I had a few members asking for it last month.

a9eel
03-19-2009, 05:24 PM
hi how are you some problem with me

any one have abig sig when he Write Subject the buttons of quote and post reply
will be Inside his sig is there away i can Separate the buttone frome his sig ?????

skariko
01-15-2010, 08:47 AM
Anyone know how to make this on VBulletin 4.0?

BLykMik
01-28-2010, 04:56 PM
This is nice.

Question (for anyone that knows).

1.) Is there a way to make it so no scroll bars show up if they overflow? I would like to just tell the users that, say 150 pixels is the max height for sigs and if they go over, it will just crop cleanly. It will be up to them to fit within the parameters when they set up their sigs.

2.) Is there any way to make the postbit sig area table (or whatever it is) start RIGHT after the end of the post. Currently, it looks like the sig table (or space) is always below the poster information (on the right) table. So if you have a lot of info there, a short post leaves a TON of blank space. (Any mod you can point me to for changing that part of the layout?)

Thanks!

BirdOPrey5
08-17-2010, 01:39 PM
Anyone know how to make this on VBulletin 4.0?


In postbit/postbit_legacy template:

Replace the code:
{vb:raw post.signature}

With:

<hr size="1" style="color:#678B06" />
<div valign="bottom" style="width:100%; max-height:400px; overflow: auto">
{vb:raw post.signature}
</div>


If you want to hard limit the size and prevent scrollbars completely, change: overflow: auto to overflow: hidden.


Edit - changed height: to max-height: so height is not fixed if signature is smaller.

Harley D
10-30-2010, 01:43 PM
Works GREAT on VB 4.08
This should be listed under VB 4.0 mods, had one hell of a time finding it.

THANK YOU!!!!!!!!!!

In postbit/postbit_legacy template:

Replace the code:
{vb:raw post.signature}

With:

<hr size="1" style="color:#678B06" />
<div valign="bottom" style="width:100%; height:400px; overflow: auto">
{vb:raw post.signature}
</div>


If you want to hard limit the size and prevent scrollbars completely, change: overflow: auto to overflow: hidden.

8thos
11-16-2010, 02:40 AM
Thanks man some of these peeps large ass sigs were getting on my nerves.

cmmguy
01-14-2011, 10:01 PM
This sets a FIXED height not a max height, making all posts with sigs to that height. I tried the max-height parameter instead and it worked except it caused oversize items to overflow the sig into the post below.

Nook_Neformat
05-24-2012, 10:52 AM
This sets a FIXED height not a max height, making all posts with sigs to that height. I tried the max-height parameter instead and it worked except it caused oversize items to overflow the sig into the post below.
Yes, i wish someone would tell how to make max height, not fixed