vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Sig image size control (https://vborg.vbsupport.ru/showthread.php?t=40216)

Herman 06-23-2002 10:00 PM

Sig image size control
 
I wrote this hack so i could obviously do what the title says.

When installed it you get an option in vb option of max height and width.

If a user's sig is too big, then when you look at their sig it'll say sorry this image is too large. And if the link doesn't work, then it'll say sorry that image doesn't exist. Thnx.. Don't forget to back up the databases!

[edit]This new one gets rid of the queries.. but, you have to submit your vbulletin options after installing the hack in order for it to work.[/edit]

[edit]Update again, this fixes smooties prob's with it images being set to unlimited[/edit]

Sinecure 06-24-2002 04:10 AM

There seem to be a lot of signature limitation hacks :)
I'll install this on my test board. I want something simple, and not bloated with options, hopefully this does the job :)
Thanks :)

Herman 06-24-2002 04:11 AM

np

Smoothie 06-24-2002 05:06 AM

Followed instructions, set the limit in the vb options for sig width, height, added a test sig, bigger than the allowable limit, it still shows. :(

Admin 06-24-2002 06:48 AM

Nice work... haven't tested it but looks promising.

Admin 06-24-2002 06:49 AM

Quote:

Originally posted by Smoothie
Followed instructions, set the limit in the vb options for sig width, height, added a test sig, bigger than the allowable limit, it still shows. :(
The hack doesn't work retroactively as far as I see.

Smoothie 06-24-2002 06:56 AM

Quote:

Originally posted by FireFly

The hack doesn't work retroactively as far as I see.

I added a new sig after the hack, and it still shows.

Smoothie 06-24-2002 07:50 AM

Ok, the one setting that needs to be changed for this to work is:
Under Posting Code allowances (vB code / HTML / etc):
Maximum images per post/signature: (This needs to be set to anything but zero.) :)

Herman 06-24-2002 01:01 PM

Okay it works, it just doesn't work until the user has to changes their profile.

Smoothie 06-24-2002 04:12 PM

It only works for me if I change the setting above. Is there a way around that?


All times are GMT. The time now is 11:07 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.01124 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_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
  • (10)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