2005-04-20, 10:37 PM
Hey,
With this mod/hack you can make sure, the avatars stay within a serten limit. This makes shure you don't get oversized avaters.
When oversized, it will spawn an error message, displaying the current size, and the max size.
It also works with uploading avaters.
Another feature is, looking if an offsite avatar is bigger then a few KB's (512 default, enabled default)
In totall this mod does when submitting an avatar:
- Checks if image is dead (can't be set off)
- Checks if image is bigger then a dimension (can be set on/off, and the size can be customized)
- Checks if image has a valid protocol & extension (can't be set off)
- Checks if image is bigger then a size in KB (can be set on/off, and the size can be customized)
- Checks if a user has display no avatar, if not it will get an avatar of your choice (can be set on/off, and can be customized)
Changes since V 1.3
-------------------
- Changed the mod name to Advance avatar
- Added default avatar options if no avatar is selected
- Changed setting stuff (group, titles & explanation)
- Added a legenda in Avatar usercp, which displays all the setting details
Changes since V 1.2
-------------------
- Fixed displaying max avater settings (i hope)
- Only legal protocols & extensions in offsite url
- Check if avatar is dead
- Fixed size check error when image is dead
- Minor tweaks
Changes since V 1.1
-------------------
- Made a repack
- Changed avater to avatar (language only)
- Changed one setting explenation
Changes since V 1.0
-------------------
- Added support for Max width/height with uploading avaters
- Added options for max size (KB) for offsite avaters
Demo:
[attachment=699]
[attachment=704]
[attachment=747]
Download it here (updated 26-04 21:45): [attachment=746]
Enjoy
With this mod/hack you can make sure, the avatars stay within a serten limit. This makes shure you don't get oversized avaters.
When oversized, it will spawn an error message, displaying the current size, and the max size.
It also works with uploading avaters.
Another feature is, looking if an offsite avatar is bigger then a few KB's (512 default, enabled default)
In totall this mod does when submitting an avatar:
- Checks if image is dead (can't be set off)
- Checks if image is bigger then a dimension (can be set on/off, and the size can be customized)
- Checks if image has a valid protocol & extension (can't be set off)
- Checks if image is bigger then a size in KB (can be set on/off, and the size can be customized)
- Checks if a user has display no avatar, if not it will get an avatar of your choice (can be set on/off, and can be customized)
Changes since V 1.3
-------------------
- Changed the mod name to Advance avatar
- Added default avatar options if no avatar is selected
- Changed setting stuff (group, titles & explanation)
- Added a legenda in Avatar usercp, which displays all the setting details
Changes since V 1.2
-------------------
- Fixed displaying max avater settings (i hope)
- Only legal protocols & extensions in offsite url
- Check if avatar is dead
- Fixed size check error when image is dead
- Minor tweaks
Changes since V 1.1
-------------------
- Made a repack
- Changed avater to avatar (language only)
- Changed one setting explenation
Changes since V 1.0
-------------------
- Added support for Max width/height with uploading avaters
- Added options for max size (KB) for offsite avaters
Demo:
[attachment=699]
[attachment=704]
[attachment=747]
Download it here (updated 26-04 21:45): [attachment=746]
Enjoy