Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
HS - External Signature Image Size Limiter Details »»
HS - External Signature Image Size Limiter
Version: 1.2, by StrifeX StrifeX is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 01-20-2007 Last Update: 07-08-2007 Installs: 266
Uses Plugins
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 07-09-2007, 08:51 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhh so that's what that options does? Hmmmm it still isnt doing anything ... Anyways, glad to hear bout the FileSize Limiter in the near future ...
Reply With Quote
  #63  
Old 07-09-2007, 10:13 PM
JesterP JesterP is offline
 
Join Date: Jun 2007
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by schanulleke View Post
After I installed this plugin, it gives an error when you save a signature. Even if the image is within the limits. If the image is too large, you get the same error and the image will still be shown.

Does anybody understand this message :

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /profile.php(1189) : eval()'d code on line 10

Warning: getimagesize(http://img423.imageshack.us/img423/443/ilseai7.gif) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /profile.php(1189) : eval()'d code on line 10


I would really like the plugin to work.
Check your php.ini file for this setting:

allow_url_fopen = on

Make sure yours says 'on', mine was 'off', and I got your exact error, I changed it to 'on' and it worked like a charm.

Hope that helps

J
Reply With Quote
  #64  
Old 07-09-2007, 10:18 PM
StrifeX StrifeX is offline
 
Join Date: Dec 2006
Location: New York
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
Ohhh so that's what that options does? Hmmmm it still isnt doing anything ... Anyways, glad to hear bout the FileSize Limiter in the near future ...
Your misinterpreting the purpose of the Update Counters function, it does exactly what I said it does.
Quote:
Originally Posted by JesterP View Post
Check your php.ini file for this setting:

allow_url_fopen = on

Make sure yours says 'on', mine was 'off', and I got your exact error, I changed it to 'on' and it worked like a charm.

Hope that helps

J
Good job clearing that up, think I should include that in the main post?
Reply With Quote
  #65  
Old 07-09-2007, 10:37 PM
JesterP JesterP is offline
 
Join Date: Jun 2007
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StrifeX View Post
Good job clearing that up, think I should include that in the main post?
I'm thinking there will be others with that issue, so it might be a good idea to add it as a "tip".

Even if it's so you don't have to repeat yourself over and over and over again.

J

PS Thanks for this hack, I couldn't believe vb didn't have this built in.
Reply With Quote
  #66  
Old 07-09-2007, 10:47 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StrifeX
Your misinterpreting the purpose of the Update Counters function, it does exactly what I said it does.
I understand what the purpose of the function and what it does ... I just said that its not doing anything on my Forums - why? I have no idea. I clicked on it and I got the confirmation message that it had done it, but all the signatures still show ... Anyways, it's no biggie ...
Reply With Quote
  #67  
Old 07-10-2007, 04:49 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

StrifeX,
I am getting the following error when trying to Save or Preview a Signature ...

Quote:
Fatal error: Cannot redeclare check_sig_size() (previously declared in /home/*******/public_html/profile.php(1210) : eval()'d code:5) in /home/*******/public_html/profile.php(1210) : eval()'d code on line 35
Reply With Quote
  #68  
Old 07-10-2007, 05:23 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

StrifeX,
I fixed my problem above all is working fine now .. It seems that when I installed the new version, it did not overwrite the plugin in hook "profile_updatesignature_start" instead it created a new one ... So I went to Plugin Manager and saw that I had two "HS - External Signature Image Size Limiter" in that hook, I hit EDIT on both of them to see which one of them was the old one from the previous version and just deleted it ... Now all is fixed and no errors appear when Saving or Previewing a Signature. Users who upgraded from your previous version might experience this problem since the new installation does not overwrite the old plugin in that hook, just creates a new one and having the two of them causes the error ...
Reply With Quote
  #69  
Old 07-12-2007, 03:59 AM
StrifeX StrifeX is offline
 
Join Date: Dec 2006
Location: New York
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
StrifeX,
I fixed my problem above all is working fine now .. It seems that when I installed the new version, it did not overwrite the plugin in hook "profile_updatesignature_start" instead it created a new one ... So I went to Plugin Manager and saw that I had two "HS - External Signature Image Size Limiter" in that hook, I hit EDIT on both of them to see which one of them was the old one from the previous version and just deleted it ... Now all is fixed and no errors appear when Saving or Previewing a Signature. Users who upgraded from your previous version might experience this problem since the new installation does not overwrite the old plugin in that hook, just creates a new one and having the two of them causes the error ...
Thanks, and I'll be sure to tell them to delete and re-upload in the main post.

I'm glad you got it working, do you like it?
Reply With Quote
  #70  
Old 07-12-2007, 11:46 AM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ No problem ... Do I like it? Man, I love this hack! I just cant wait for the upcoming releases that will have the option to Limit FileSizes that will be awesome!
Reply With Quote
  #71  
Old 07-17-2007, 03:14 PM
Mupetz Mupetz is offline
 
Join Date: Sep 2005
Location: Strasbourg
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you share the information Dannyloski ; I had the same problem.
Thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 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.05430 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete