Version: 0.91, by sinaluna
Developer Last Online: Jul 2011
Version: 3.5.4
Rating:
Released: 03-14-2006
Last Update: 03-19-2006
Installs: 178
Uses Plugins
No support by the author.
Product Name:
Signature Size Enforcer
Product Description:
Ever get tired of problem users with half-page long signatures and of policing signature size rules by hand? This mod might be just what you are looking for.
This product wraps signatures in a <div> and forces the sig to a maximum height (in pixels) with CSS. If their sig goes over the maximum height, the sig area is limited to the specified height. Optionally, you can choose to have a vertical scroll bar displayed for the overflowing signature.
This product requires no template changes or file modifications at all. It is all done automagically in the plugin.
Contents:
This package includes: 2 Plugin:
"Add CSS code to vBulletin": Adds CSS code to the global CSS header.
"Put Signature in a <div>": Wraps the signature inside a <div> with the CSS class defined above.
1 Phrase:
sigsizecss: holds the CSS code to be added. In this product, it creates a class called "sizedsig" that will be used for the sig <div>
2 Option/Setting:
maxsigsize: (group "Signature Sizing"): This is the maximum size, in pixels, a signature is allowed to grow.
sigsizescroll: (group "Signature Sizing"): [yesno] Option to add scroll bars to the oversized signatures, or to just clip the signature.
Installation Instructions:
Step 1: Import the product .xml file (attached here)
Step 2: Change the "maxsigsize" option to your desired maximum signature size. This number is in pixels. The default is "150".
Step 3: Change the "sigsizescroll" option to yes to add scroll bars to oversized signatures, or no to just clip the region with no scroll bars.
Step 4: Enjoy.
Version History: version 0.9 - Initial release] version 0.91]
Added option to choose scroll bars.
Great hack! Now my mods and I don't have to spend so much time modding sig violations. It would be nice if you added a width option as well, however, because believe it or not but some people abuse that.
I've been looking for something like this that actually works for around 4 years now. We have a rule for the maximum area that a sig can take up, and it's the biggest pain to enforce.
As my forum is a fixed with, I have already used a div with CSS overflow to restrict the width myself, but height was always an issue. I've found so many hacks in the past which claimed to do as yours does, but the problem was that they either didn't work, or they forced a specified height to be displayed, even if the user only had a small one line sig, leaving a gap below smaller sigs. Yours is the first one I've found which actually doesn't do that.
So I thank you so much for this hack ... this will save a lot of headaches.