vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Limit (Whole) Signature Size (https://vborg.vbsupport.ru/showthread.php?t=244013)

kaizokuhime 03-02-2012 06:03 PM

Had to uninstall since it's not working on 4.1.1. I hope this gets updated soon, and thank you to the developer for creating this.

Emeralda 04-04-2012 03:08 PM

In case it would ever get updated, how does it work with spoilers? Would it allow signatures to be opened and view, or would they be cut off?

cvalk 04-16-2012 03:00 PM

I really like this modification, but was looking for a simple way to make users aware of the height restriction so that they are not confused when their signature displays in the preview but are confronted with an error message in forum posts if their signature is too tall. I developed a simple template edit to display a height restriction warning on the Edit Signature page. I have included it below in case it is helpful to anyone else.

1) Add the following to modifysignature.css:

Code:

<h2 class="blockhead">{vb:rawphrase signature_height}</h2>
<div class="blockbody formcontrols settings_form_border1">
      {vb:rawphrase signature_restriction_text}       
</div>
<br>


2) Add the following to vbulletin-formcontrols.css:

Code:

.blockbody.settings_form_border1 {
        border-{vb:stylevar right}: {vb:stylevar formrow_border};
        border-{vb:stylevar left}: {vb:stylevar formrow_border};
        border-bottom: {vb:stylevar formrow_border};
        padding: 4px;
        padding-left: 10px;
}


3) Create global variables signature_height (for title text) and signature_restriction_text (for body text).

Place the additional code in modifysignature.css wherever you would like the box to appear
on the Edit Signature page. I placed it at the very beginning of the template. Here is what it looks like:
http://i799.photobucket.com/albums/y...IGNATURE-1.jpg

EDIT: Working on 4.1.12

Mr_Running 04-17-2012 04:47 PM

Not Working for me on 4.1.12
I set maximum signature height to 80
I managed to have an image 578 x 399

Dstephan 01-25-2014 12:11 AM

Quote:

Originally Posted by Uberguilds (Post 2177577)
I modified a similar mod for 4.0.5. The attached version works with 4.0.5, not sure about after that. (Tested with PHP 5.2)

It relies on curl and your PHP memory limit being set correctly. The default limits are 500x100 and 50 kb, memory usage is ~4MB at most. Memory usage goes up as you allow larger images.

This doesn't work either - I really need a mod like this.


All times are GMT. The time now is 02:19 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
  • Page Generation 0.01116 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete