![]() |
CSS Signature Size Enforcer
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. |
very nice
< will likely install > |
Please let me know if there are any problems with this modification. The CSS has been tested on most major browsers and is "hacked" to work with quirky and standard DOMs.
Please post here if you have any problems with the CSS on a specific Browswer. The Browser AND VERSION will be needed to try to debug if any problems arise. Thanks and enjoy. |
ha, I just started working on this exact thing about 10 minutes ago, but decidewd to check and see if it was already done first.
Nice job :-) |
:) Thanks.
Wrote a bunch of little hacks in the last few months. Have some time this week so Im trying to "productize" them and release them before I get busy again. |
Nice one, i had this already manually in my style editted, but the less edits the better!
|
Perfect ...
|
Very Handy. Thank you.
|
whos a good boy then :P
|
Awesome stuff. Cheers!
|
All times are GMT. The time now is 11:27 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:
|