Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CSS Signature Size Enforcer Details »»
CSS Signature Size Enforcer
Version: 0.91, by sinaluna sinaluna is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 01-19-2007, 11:25 AM
ximcix ximcix is offline
 
Join Date: Mar 2005
Location: NYC
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great product, but please update & allow us to specify "MAXHEIGHT" and "MAXWIDTH"
Reply With Quote
  #63  
Old 01-22-2007, 01:43 AM
Yvgeniy Yvgeniy is offline
 
Join Date: Jan 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #64  
Old 01-22-2007, 02:25 PM
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Running 3.6.4

Works perfectly. Would absolutely love this functionality with width as well.

Thanks much! Clicked Install
Reply With Quote
  #65  
Old 01-22-2007, 02:53 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb 3.6.4 has this built in correct?
Reply With Quote
  #66  
Old 01-22-2007, 05:26 PM
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
vb 3.6.4 has this built in correct?
Not for external signature images.
Reply With Quote
  #67  
Old 01-29-2007, 06:00 AM
Sol_Invictus Sol_Invictus is offline
 
Join Date: Jun 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works fantastic with 3.6.4. I've got it installed on my forums.
Reply With Quote
  #68  
Old 05-06-2007, 09:20 AM
Abe Babe's Avatar
Abe Babe Abe Babe is offline
 
Join Date: Sep 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Abe Babe...
Reply With Quote
  #69  
Old 05-26-2007, 03:04 AM
ssandgirls's Avatar
ssandgirls ssandgirls is offline
 
Join Date: May 2007
Location: Australia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, this will be the 1st mod Ive installed, I transferred over from phpBB only 5 days ago.

I have imported the XML file, and am wondering where I change the following:

Quote:
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.
Where are those options found ?

Thankyou in advance, Im not sure where to change that and the instructions dont say.

Terrie
Reply With Quote
  #70  
Old 07-30-2007, 11:39 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ximcix View Post
Great product, but please update & allow us to specify "MAXHEIGHT" and "MAXWIDTH"
I have not discovered a way to make maxwidth work with fluid forums.

Quote:
Originally Posted by ssandgirls View Post
Hello, this will be the 1st mod Ive installed, I transferred over from phpBB only 5 days ago.

I have imported the XML file, and am wondering where I change the following:



Where are those options found ?

Thankyou in advance, Im not sure where to change that and the instructions dont say.

Terrie
You can find those options under vBulletin Options / Signature Sizing
Reply With Quote
  #71  
Old 08-09-2007, 11:18 AM
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinaluna View Post
I have not discovered a way to make maxwidth work with fluid forums.
To anyone looking for a quick fix... I just added the CSS property max-width directly to the plugin and it's working great.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05842 seconds
  • Memory Usage 2,310KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete