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?

StrifeX 01-22-2007 06:22 PM

This is for individual external images, there is options for amount of images according to usergroups and plenty of options to limit uploaded signature size.

There is other hacks to limit the total size and lines of signature though, I remember seeing one made by Scr although I don't recall if it worked correctly.

tobybird 01-23-2007 04:03 AM

Thanks for the response StrifeX. I did see another hack and while it does work, it unfortunately only works when restricting height so I was hoping this one would do the trick. :)

StrifeX 01-23-2007 05:54 AM

This one certainly does what you want, you're welcome and good luck bro. :)

Zia 01-23-2007 05:09 PM

does it work for user group base?

each user group have diff. size limit?

AzzidReign 01-23-2007 06:32 PM

Quote:

Originally Posted by hornstar1337 (Post 1164783)
sounds like one of those hacks that vb should have as default. nice work.

Definitely! I've suggested it to them for the past 2 versions now...and they said that they are working on it...

Quote:

Originally Posted by Zia (Post 1165868)
does it work for user group base?

each user group have diff. size limit?

This would be a great feature!! Hope to see it in the near future if it is at all possible.

StrifeX 01-23-2007 06:33 PM

No, the installation instructions state what you have to do and it only applies it to every member.

I'll attempt to setup usergroup specification in the future, thanks for the suggestion. :)

teedizz 01-28-2007 11:05 PM

Quote:

Originally Posted by smoknz28 (Post 1164841)
This hack will not adjust those sig images already set by members prior to installing?

Thanks



Good question, what about members who already exceeded this size before installing this hack? Is there a piop-up message to those users stating they now have a sig that is over the sig limit?

teedizz 01-28-2007 11:17 PM

BTW...what is Maximum Lines in Signature? I have users that add 2-4 pics that are left to right & it streches my forum and makes threads look terrible, how can I prevent this?

StrifeX 01-30-2007 06:19 AM

You can add an overflow xhtml code into the postbit or postbit_legacy template to make it scroll when the image is too big. If you can't do this by yourself, just tell me, i will be happy to provide you with the code.

d8tabyte 01-31-2007 01:44 AM

hmm I thought this would affect users that already have sigs. This is upsetting. I wonder what the best way would be to nag them to update it, as I really dont want to manually edit all of my members.

anywares 02-02-2007 06:31 PM

Installed ;)

StrifeX 02-03-2007 01:12 AM

Quote:

Originally Posted by d8tabyte (Post 1171000)
hmm I thought this would affect users that already have sigs. This is upsetting. I wonder what the best way would be to nag them to update it, as I really dont want to manually edit all of my members.

I believe there is an options somewhere to update tables so this hack will work for already entered signatures.

Click install if you use people!

Miles_Binck 02-06-2007 02:16 PM

Quote:

Originally Posted by d8tabyte (Post 1171000)
hmm I thought this would affect users that already have sigs. This is upsetting. I wonder what the best way would be to nag them to update it, as I really dont want to manually edit all of my members.

I used the Empty Signature Cache option in Update Counters, seems to have done the trick :)

mamashid 02-06-2007 02:29 PM

*installed*

SkyCatcher 02-06-2007 11:31 PM

Awesome, thank you :)

ogameclub 02-07-2007 07:57 PM

Super. Thnx

StrifeX 02-08-2007 03:07 PM

Quote:

Originally Posted by Miles_Binck (Post 1175990)
I used the Empty Signature Cache option in Update Counters, seems to have done the trick :)

I'll just add that in the notes so that anyone that wants to do the same thing will know how.

Eagle Creek 02-16-2007 01:10 PM

Now tháts sweetness!
Clicked install.

StrifeX 02-25-2007 08:37 PM

No you didn't Eagle Creek, you're all welcome...

hydn 02-27-2007 04:04 AM

does this work on 3.5.4

or is there a version or similar hack for 3.5.4?

turblue 02-27-2007 06:37 AM

I have installed this mod and emptied the signature cache, but oversized images are still viewable.

Is there something I am missing.???

BuRNZau 02-27-2007 07:33 AM

Works a treat thanks! :)

turblue 02-28-2007 05:44 AM

Any ideas.????

SpanishHarlem 03-14-2007 12:09 AM

I seem to be having trouble with the oversized signatures as well.

MarcG 03-19-2007 08:15 AM

Quote:

Originally Posted by SpanishHarlem (Post 1202948)
I seem to be having trouble with the oversized signatures as well.


same here...cleared out the cache but oversized images are still viewable....

I'm running Version 3.6.4

six58 03-20-2007 06:09 AM

if this had custom sizes for each usergroup as previously mentioned, but also able to control the total bytes size of the picture, it will be perfect for my needs

thank you

MarcG 03-20-2007 08:21 AM

Well...I uninstalled this and reinstalled it, clearing the cache but no luck.

MarcG 04-06-2007 11:00 AM

Any news on why this isn't working? could other mods or general settings be a problem?

Running Version 3.6.4

cdnbacon 04-09-2007 05:40 AM

FYI, does not work.

Powered by vBulletin® Version 3.6.5

almightyone 04-15-2007 12:04 PM

once this has a per usergroup i will make use of it but i dont want my sig size restricted or my staffs


All times are GMT. The time now is 06:08 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.01460 seconds
  • Memory Usage 1,808KB
  • 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
  • (8)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
  • (40)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