The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have made a custom image cropper so that users can crop their avatar to a specified size before submitting... My question is what php would I use to submit/upload/post this image to vBulletin
such that it is consistent with the image uploading process located in profile.php with the use of class_image.php and class_upload.php .etc Help with this would be awesome! Thanks. |
|
#2
|
|||
|
|||
|
Hmm well you could try to implement it at the "upload_accept" hook, which is right after the initial upload to the tmp folder. Then just check if the file is an image and THIS_SCRIPT is profile and proceed with your own image cropper.
|
| Благодарность от: | ||
| MarkFL | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|