vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Signature Image Size Limiter (https://vborg.vbsupport.ru/showthread.php?t=83146)

Robert Basil 06-16-2005 08:01 AM

Does this plugin limit the images in sigs using the [img] code or something else?

Chris M 06-16-2005 08:04 AM

Quote:

Originally Posted by Sportbikeworld
Does this plugin limit the images in sigs using the [img] code or something else?

This plugin searches for every instance of an [high][img][/high] tag and then extracts the url in between the tags...

It then checks the size of the image the user is trying to use, and if the size is bigger than allowed, displays an error message...

Satan

Trickyphillips 06-16-2005 08:16 AM

Quote:

Originally Posted by hellsatan
This plugin searches for every instance of an [high][img][/high] tag and then extracts the url in between the tags...

It then checks the size of the image the user is trying to use, and if the size is bigger than allowed, displays an error message...

Satan

Suggestion: Check for multiple images, and calculate the total height and width of the images combined. This would prevent users from using two images next to eachother as a single signature. :)

Zero Tolerance 06-16-2005 08:26 AM

Notice:

Please note that the image checker code is fully functional, and the code is correct, however bugs within the vBulletin Plugin/Hooks System is causing these errors, as it is removing slashes without adding them first, causing stuff like \ to disappear within our code.

However this bug is not consistant on all forums, so please be aware if you are getting errors, then it is the vB system itself, and not our code.

Thank you for reading,

- Zero Tolerance

Chris M 06-16-2005 08:32 AM

[high]Update[/high]
1.0.2 bug fix released :)

Replace (in the plugin code):
PHP Code:

$this->registry->options['allowdynimg'

with:
PHP Code:

$vbulletin->options['allowdynimg'

Or you can upload the new plugin attached to the first post ;)

Satan

C.Birch 06-16-2005 09:14 AM

Quote:

Originally Posted by hellsatan
Do you have Dynamic Image Urls enabled?

Satan


Yes i do.

Zero Tolerance 06-16-2005 09:19 AM

Quote:

Originally Posted by C.Birch
Yes i do.

Please read: https://vborg.vbsupport.ru/showpost....6&postcount=14

:)

- Zero Tolerance

C.Birch 06-16-2005 09:23 AM

ok, but i was just replying to something i had been asked. but if it was a vb bug would it not also do the same type of stuff with other plug in hacks im testing? or is it a random thing?

its ok, im just installing hacks on a test board to help people find and fix bugs.

Zero Tolerance 06-16-2005 11:22 AM

Depends what the plugins use, i found if you use the slash then it removes them, therefor in my plugins i do my best to avoid this, for now while the bug is present, hopefully it ill be fixed in beta 2 :)

- Zero Tolerance

MogKnight 06-16-2005 11:29 AM

does this just restrict size (as in KB) or also dimensions?


All times are GMT. The time now is 09:50 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.01093 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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