vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - HS - External Signature Image Size Limiter (https://vborg.vbsupport.ru/showthread.php?t=137167)

StrifeX 01-20-2007 10:00 PM

HS - External Signature Image Size Limiter
 
This add-on had been produced and distributed by Hybrid-Soft.


Don't forget to click INSTALL!

Name:
External Signature Image Size Limiter

Description:
Unlike vBulletin does, this hack limits the size of external images in signatures depending on the dimensions you choose.

Features:
- On/Off Switch
- Set max image width.
- Set max image height.

Installation Instructions:
1. Unzip the folder.
2. Upload 'product-hs_sigimgsize.xml' to the Product Manager in the vBulletin AdminCP.
3. Manage Settings via AdminCP => vBulletin Options => vBulletin Options => HS - External Signature Image Size Limiter

Credits:
Chris M for the base code.

Information:
Plugins: 1
Phrases: 2

Installation Difficulty: Very Easy
Installation Duration: 10- seconds.

Quote:

Important: In order to update you must uninstall the old product and upload the new one.

Before installing, check your php.ini file for this setting:
allow_url_fopen = on

If it's off, turn it on. Otherwise this won't work.


To make this hack delete all signatures so users must put there signatures in again: In the Admin CP, go to > Update Counters > Empty Signature Cache.

This mod can be improved, so with all of your help, by suggesting new ideas and reporting bugs, I can modify and play around with this product to improve it.

Enjoy, and don't forget to click install if you use! :)

StrifeX 01-21-2007 09:47 PM

v1.2 - July 9th, 2007
- Section in vBulletin options for convenience of entering options containing the following:
- On/Off Switch
- Set max image width.
- Set max image height.
---------------------------------------
v1.0: Initial Release - Jan 21st, 2007
---------------------------------------

Future Updates:
- Restrict filesize.
- Usergroup specification.

More updates will be posted here when suggested.

beduino 01-21-2007 09:52 PM

Tks!
a useful hack :)
Beduino

Endurer 01-22-2007 02:49 AM

Thank you.. I definitely need this one.

Installed!

Hornstar 01-22-2007 04:29 AM

sounds like one of those hacks that vb should have as default. nice work.

StrifeX 01-22-2007 05:44 AM

I'm glad you all like it, thanks for the positive feedback.

Please click the install button if you used the hack though.

Terminatoronly 01-22-2007 06:00 AM

nice mate this is a great hack because members use a big images which will make the site much slower and mostly the sections that they reply on it so this hack will limit it ;) thanks (Installed)

smoknz28 01-22-2007 06:32 AM

This hack will not adjust those sig images already set by members prior to installing?

Thanks

Snake 01-22-2007 08:57 AM

Wow I have been waiting for this. Thanks! :)

tobybird 01-22-2007 01:57 PM

Question/Clarification: Is the size restriction set for the total signature area, not just one image? For example, typical signatures on my board would consist of one larger image along with 5 to 8 smaller images. How would this hack work with multiple images? And this is not for the default vB "Signature Picture" option, correct?


All times are GMT. The time now is 07: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.01244 seconds
  • Memory Usage 1,734KB
  • 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)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