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)

Dannyloski 07-09-2007 08:51 PM

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 ...

JesterP 07-09-2007 10:13 PM

Quote:

Originally Posted by schanulleke (Post 1241535)
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

StrifeX 07-09-2007 10:18 PM

Quote:

Originally Posted by Dannyloski (Post 1287032)
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 (Post 1287090)
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?

JesterP 07-09-2007 10:37 PM

Quote:

Originally Posted by StrifeX (Post 1287093)
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.

Dannyloski 07-09-2007 10:47 PM

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 ...

Dannyloski 07-10-2007 04:49 PM

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

Dannyloski 07-10-2007 05:23 PM

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 ...

StrifeX 07-12-2007 03:59 AM

Quote:

Originally Posted by Dannyloski (Post 1287741)
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?

Dannyloski 07-12-2007 11:46 AM

^ 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 :D that will be awesome!

Mupetz 07-17-2007 03:14 PM

I'm glad you share the information Dannyloski ; I had the same problem.
Thanks ;)


All times are GMT. The time now is 12:39 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.01082 seconds
  • Memory Usage 1,746KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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