Beta-[6.4-6.5] Restrict Images 2.0 - 01/04/2005 4:05 PM
***~~~ Version 1.0 ~~~*** Download
***~~~ Version 2.0 ~~~*** Download
In version 2.0, if an image is to large you are redirected back to the post preview page and a red border arround the image that is too large is displayed.
Mod Name / Version: Restrict Images 2.0
Description: The mod checks the images contained within the image tags in a post for width, height, filesize and image count.
The admin can specify the maximum amount of images per post, the maximum image width, height and size.
If one of the criteria is not within the limits, an error message is displayed, example:
[]http://img148.exs.cx/img148/4148/clipboard017ys.gif [/]
Working Under: UBB.Threads 6.4-6.5
Mod Status: Beta
Any pre-requisites: none
Author(s): Anno
Date: 01/04/05
Credits:
Files Altered:
addpost.php
modifypost.php
New Files:
checkimages.php
Datebase Altered: no
Info/Instructions: Instructions within the checkimages.php file.
In order for the getimagesizes() function to work on remote files, the PHP version has to be > 4.0.5 .
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
***~~~ Version 2.0 ~~~*** Download
In version 2.0, if an image is to large you are redirected back to the post preview page and a red border arround the image that is too large is displayed.
Mod Name / Version: Restrict Images 2.0
Description: The mod checks the images contained within the image tags in a post for width, height, filesize and image count.
The admin can specify the maximum amount of images per post, the maximum image width, height and size.
If one of the criteria is not within the limits, an error message is displayed, example:
[]http:/
Working Under: UBB.Threads 6.4-6.5
Mod Status: Beta
Any pre-requisites: none
Author(s): Anno
Date: 01/04/05
Credits:
Files Altered:
addpost.php
modifypost.php
New Files:
checkimages.php
Datebase Altered: no
Info/Instructions: Instructions within the checkimages.php file.
In order for the getimagesizes() function to work on remote files, the PHP version has to be > 4.0.5 .
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.