vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Custom code for Signature Size Limiting? (https://vborg.vbsupport.ru/showthread.php?t=230151)

gonedigital 12-14-2009 02:06 AM

Custom code for Signature Size Limiting?
 
I have an image limit re-sizer plugin called ncode image resizer. Unfortunately this module/plugin is limited in its use.

It does not differentiate between an image posted in a thread and a user's signature image.

So if our image size restriction is 550x500, we can control the width of all images to 550 pixels wide, but in the case of signatures the administrators have no control over the signature image heighth.

I'm wondering if someone has any custom code that will allow us to control sig image heighth and width independently of images posted in threads?

I should add that we are using Vbulletin 3.8.4

ChopSuey 12-14-2009 06:51 AM

There is a mod, that puts scroll bars around the signature if it outsizes the restrictions.

gonedigital 12-14-2009 07:42 AM

no, i don't want the scroll bars...i need something that works independently of images posted in a thread, and that auto-resizes the signatures.

ChopSuey 12-14-2009 12:10 PM

If you actually search Quick Image resize Posts & Signatures you'll have some results. :)

Brandon Sheley 12-14-2009 01:16 PM

you can already limit the size of images in your sig
maybe I don't understand what you're asking

gonedigital 12-14-2009 02:18 PM

Quote:

Originally Posted by Loco.M (Post 1930479)
you can already limit the size of images in your sig
maybe I don't understand what you're asking

you can limit users that "upload sigs as an attachment" but you can't limit sig sizes that are linked from photobucket.

--------------- Added [DATE]1260812171[/DATE] at [TIME]1260812171[/TIME] ---------------

i found what I was looking for thanks.

https://vborg.vbsupport.ru/showthrea...k+Image+resize


All times are GMT. The time now is 10:27 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.00925 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete