Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

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
  #12  
Old 08-27-2009, 07:13 PM
theybannedme theybannedme is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well done
Reply With Quote
  #13  
Old 08-30-2009, 09:39 AM
MAK-upl MAK-upl is offline
 
Join Date: Feb 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work. Nothing's happening when i replace the code.
Reply With Quote
  #14  
Old 09-02-2009, 08:01 PM
illkeyone's Avatar
illkeyone illkeyone is offline
 
Join Date: Oct 2006
Location: Ankara / Turkey
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked pretty good, thanks & kind regards ^_^
Reply With Quote
  #15  
Old 09-02-2009, 08:14 PM
WordKeeper WordKeeper is offline
 
Join Date: Aug 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MAK-upl View Post
It doesn't work. Nothing's happening when i replace the code.
Sorry for the slow reply... school just started this week....

Could you show me the code you have?
Reply With Quote
  #16  
Old 09-03-2009, 07:42 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey,

I made copy and paste for the cood ?!

but nothing changed

I have version 3.8.3

regards
Reply With Quote
  #17  
Old 09-03-2009, 01:37 PM
WordKeeper WordKeeper is offline
 
Join Date: Aug 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you copied and pasted correctly, the scrollbars are not showing because none of the signatures on your board go beyond the dimensions that are in the code; therefore, they are not needed.

If you still have signatures that are too big, then you probably did it wrong or you need to change the dimensions to better fit your theme.

It works perfect on my 3.8.3

I should've added this in the first post... 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.
Reply With Quote
  #18  
Old 09-06-2009, 09:43 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a change in width an hieght in the code to 20pix for each also I change it in postbit_legacy... and still nothing happend
Reply With Quote
  #19  
Old 09-26-2009, 12:57 PM
theybannedme theybannedme is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #20  
Old 09-28-2009, 07:16 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 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!
thank u

but this od fore the messagr

I need it for the signeture

regards
Reply With Quote
  #21  
Old 09-28-2009, 08:17 AM
TheChaosFactor TheChaosFactor is offline
 
Join Date: Sep 2009
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweeeeet.

Installed. Thanks.
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 04:32 AM.


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.05682 seconds
  • Memory Usage 2,314KB
  • Queries Executed 28 (?)
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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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