Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Scrollbars for oversized signatures Details »»
Scrollbars for oversized signatures
Version: 1.00, by WordKeeper WordKeeper is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.3 Rating:
Released: 08-13-2009 Last Update: Never Installs: 24
Template Edits
Re-useable Code  
No support by the author.

I've seen image resize mods and stuff like that, but the scrollbar seems better in my experiences.

This requires just one template edit, no downloading or uploading. ... And it should work on any version of vB.

Live Demo

In the POSTBIT template find:
Code:
				$post[signature]
Replace with:
Code:
                              <div style="max-width:900px; max-height:150px; overflow:auto;">
				$post[signature]
                              </div>
EDIT: If you use LEGACY style (username and everything on the left, post on the right or vice versa on some themes) then you you should edit the postbit_legacy template instead.

Adjust what I have in red to your liking. ... some forums are wider than others.

Show Your Support

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

Comments
  #22  
Old 11-09-2009, 09:25 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool..Installed
Reply With Quote
  #23  
Old 02-05-2010, 09:43 PM
Iguana Goddess's Avatar
Iguana Goddess Iguana Goddess is offline
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theybannedme View Post
This works for message too that are insanely long.

replace $post[message] with:

Code:
<div style="max-height:1000px; overflow:auto;">
$post[message]
</div>
Demo: http://www.theybannedme.com/forums/s...8&postcount=27

Great hack!
Thanks works great!
Reply With Quote
  #24  
Old 05-17-2010, 02:58 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed but many users seem to dislike it... probably won't last long.

Can the width be set to a percentage instead of pixels?
Reply With Quote
  #25  
Old 05-21-2010, 09:18 PM
Tettinntil's Avatar
Tettinntil Tettinntil is offline
 
Join Date: Feb 2006
Location: Trondheim, Norway
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be added for some usergroups only?
Reply With Quote
  #26  
Old 05-21-2010, 09:43 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not as it is currently written but I think you could use vB conditionals (<if> statements) to limit it to specified usergroups.
Reply With Quote
  #27  
Old 05-24-2010, 07:10 PM
Tettinntil's Avatar
Tettinntil Tettinntil is offline
 
Join Date: Feb 2006
Location: Trondheim, Norway
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - I guess I will have to wait for someone else then...
Reply With Quote
  #28  
Old 05-24-2010, 07:48 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 Tettinntil View Post
Can this be added for some usergroups only?
Put this line before the code above:
Code:
<if condition="is_member_of($post, 2, 5, 6, 7 )">
and put this line after the code above:
Code:
</if>
Then change the numbers, 2,5,6,7 to whatever usergroup or usergroups you want to activate this for. The numbers I supplied pretty much activate this for anyone. registered users, mods, admins, and super-mods.
Reply With Quote
  #29  
Old 04-03-2011, 11:45 PM
Iguana Goddess's Avatar
Iguana Goddess Iguana Goddess is offline
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to use this but I run 4.1.2, could some one update the coding on this please?
Reply With Quote
  #30  
Old 04-04-2011, 12:53 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.1.2 info here: https://vborg.vbsupport.ru/showthread.php?t=248702
Reply With Quote
  #31  
Old 04-06-2011, 02:34 PM
Iguana Goddess's Avatar
Iguana Goddess Iguana Goddess is offline
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much BirdO
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 06:57 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.06236 seconds
  • Memory Usage 2,323KB
  • 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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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