vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   (Signature) Images Size Hack ?? (https://vborg.vbsupport.ru/showthread.php?t=20527)

mr.scotty 06-17-2001 02:52 PM

hi

thx to Alex Hill for Signature Length Hack

is it possible to make somthing similar to limit the size of images
in signature or even in posts ?

why -
because of serverlimits we can not allow avatars..
and our boardies love the little images in signature ..
BUT some guys can't resist to use xl-sized images there ..

have a nice day
mr.scotty

AaronB 07-24-2001 08:49 PM

Just bumping this one, as I'm looking for something similar.

Dakota 07-24-2001 09:03 PM

what I did was I got rid of html and the img code, then I made a new bbcode called [sig], and put this as the html it relpaced.
Code:

<img src="{param}" height="101" width="455">
This will make every image have the dimensions 455x101, but people will soon realize they need to make new sig images that will look good in those dimensions. If you would like to see what that looks like, then just look at my forums in my sig.

AaronB 07-24-2001 10:04 PM

Hmmm... that's a pretty good idea. Smart thinking.

Now... I also want to restrict the NUMBER of images, and the size (as in kilobytes) that they are.... got any simple hacks for that?

mr.scotty 07-25-2001 01:57 AM

nice idea Dakota

I use the quite simple way described here
http://www.vbulletin.com/forum/showt...threadid=21704
to use extern userpics instead of avatars:

scotty

Dakota 07-25-2001 06:27 PM

You got me on the filesize, I would also like to know how to restrict it, but I haven't really had any problem with the number of images.

Psychdrone 12-04-2001 12:34 AM

THat would be a nice hack there!

GrAfiX 12-05-2001 06:28 PM

I made this hack for my forums... it does it for any IMG tags though not just in sig...

https://vborg.vbsupport.ru/showthrea...threadid=32964

Enjoy


All times are GMT. The time now is 10:06 AM.

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.01013 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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