Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Limit the height of the signature Details »»
Limit the height of the signature
Version: 1.00, by dothanhtrung dothanhtrung is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.4 Rating:
Released: 12-15-2008 Last Update: Never Installs: 18
Template Edits
 
No support by the author.

find postpit or postbit legacy
Code:
<!-- sig -->
.......
<!-- /sig -->
and replaced by all

Code:
<!-- 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

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 12-16-2008, 09:28 AM
Huy Ho?ng Huy Ho?ng is offline
 
Join Date: Dec 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job
Reply With Quote
  #3  
Old 12-16-2008, 11:19 AM
Tarfandestan Tarfandestan is offline
 
Join Date: Nov 2008
Location: Iran
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!
Reply With Quote
  #4  
Old 12-16-2008, 01:12 PM
Jezlad's Avatar
Jezlad Jezlad is offline
 
Join Date: Apr 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thanks for this. I had a few members asking for it last month.
Reply With Quote
  #5  
Old 03-19-2009, 05:24 PM
a9eel a9eel is offline
 
Join Date: Oct 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?????
Reply With Quote
  #6  
Old 01-15-2010, 08:47 AM
skariko skariko is offline
 
Join Date: Apr 2006
Location: Milano (Italy)
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to make this on VBulletin 4.0?
Reply With Quote
  #7  
Old 01-28-2010, 04:56 PM
BLykMik BLykMik is offline
 
Join Date: Jun 2005
Location: Los Angeles, CA
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #8  
Old 08-17-2010, 01:39 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skariko View Post
Anyone know how to make this on VBulletin 4.0?

In postbit/postbit_legacy template:

Replace the code:
Code:
{vb:raw post.signature}
With:
Code:
<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.
Reply With Quote
  #9  
Old 10-30-2010, 01:43 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!!!!!!!

Quote:
Originally Posted by BirdOPrey5 View Post
In postbit/postbit_legacy template:

Replace the code:
Code:
{vb:raw post.signature}
With:
Code:
<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.
Reply With Quote
  #10  
Old 11-16-2010, 02:40 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man some of these peeps large ass sigs were getting on my nerves.
Reply With Quote
Reply

Thread Tools

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 07:07 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.17514 seconds
  • Memory Usage 2,290KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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