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)
-   -   Minimum Picture Size (https://vborg.vbsupport.ru/showthread.php?t=101525)

Marco van Herwaarden 11-24-2005 10:00 PM

Minimum Picture Size
 
<font size="4">Minimum Picture Size - Version 1.00</font>

Hack: Minimum Picture Size
Version: v1.00
Author: MarcoH64

Description
With this modification installed you can set minimum dimensions (width & height) for image attachments.
There are some file edits needed to make this work.
Some of the edits are optional, read the Install.txt

Notes
Copyright ©2005 MarcoH64
This Modification may not be redistributed in whole or significant part or changed without prior agreement of author.
Please don't forget to click Install.
If you like this work and would like to support the author, donations are always welcome at Paypal: Marcoh64 AT gmail.com

michaelbenson 11-25-2005 09:58 PM

Erm, i think perhaps there is a typo in the topic thread title.
Good addition though.

dcpaq2xx 11-26-2005 04:12 AM

Ill give it a try and post feedback soon.

Thanks for taking the time to create this.

Doug

Marco van Herwaarden 11-26-2005 06:06 AM

Quote:

Originally Posted by michaelbenson
Erm, i think perhaps there is a typo in the topic thread title.

Lol, thanks, updated.

Snake 11-26-2005 10:36 AM

Thanks for the hack. All installed!

Marco van Herwaarden 11-26-2005 11:35 AM

And working how expected?

PS Then please also click on Install :D

dcpaq2xx 12-07-2005 04:20 AM

Marco,

I have install this and I must say from what I have seen on the initial preview and testing right after the install I am very impressed with your work. An excellent job, please keep up the great work.

As soon as the holidays are over with donations are coming your way.

Also if it is possible and your willing to tackel this, would it be possible to do this mod/hack as a plug in requiring NO CODE modifications?

Again thank you for your efforts, we really appreciate it.

Doug

Marco van Herwaarden 12-07-2005 06:35 AM

Quote:

Originally Posted by dcpaq2
Also if it is possible and your willing to tackel this, would it be possible to do this mod/hack as a plug in requiring NO CODE modifications?

Sorry but this is not possible without code edits, although some are optional, see the install.txt.

Maybe some new hooks are added in 3.5.2 that will allow less edits, but i doubt it. Will have a look as soon as i have time.

dcpaq2xx 12-31-2005 05:34 AM

I must say my main concern is having to add or fix things after doing an upgrade of VB how it overwrites or restores files back to default.

I've delt with this enough with phpbb I dont want to go that route ever again if i can help it.

So if i have to modify anything i try make sure that an update or upgrade isn't going to crash my forums or break a feature or function.

Thats why im always pushing for plugins and such.

Doug

Marco van Herwaarden 12-31-2005 06:14 AM

Yes, and i am sure (most) coders are fully aware of that, and will do whatever is possible/practical to write modifications that don't require file editing. Sometimes however there is just no other solution.

Just to asure you, even if you overwrite the files, it will not make your baord crash, it will just stop checking for minimum sizes.


All times are GMT. The time now is 01:10 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.01622 seconds
  • Memory Usage 1,729KB
  • 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_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