Hi,
here is the fix….
profile-pic.php
line 222
replace
function uploadPic() {
var upload = jQuery("#profilepicture").val();
upload = upload.toLowerCase();
var ext = upload.substring((upload.length-4),(upload.length));
if (<?php echo $checkstr ?>){
alert('Please upload an image with one of the following extentions: <?php echo($profilepic_options['extensions']); ?>');
}
else {
jQuery("#your-profile").attr('encoding','multipart/form-data');
}
}
with
function uploadPic() {
var upload = jQuery("#profilepicture").val();
upload = upload.toLowerCase();
var ext = upload.substring((upload.length-4),(upload.length));
if (<?php echo $checkstr ?>){
alert('Bitte laden Sie nur Bilder folgender Typen hoch: <?php echo($profilepic_options['extensions']); ?>');
}
else {
jQuery("#your-profile")
.attr('encoding','multipart/form-data')
.attr( 'enctype', 'multipart/form-data')
;
}
}
The best way to fix this is to modify profil pic. Changing the coding type on all forms submitted is not really a good practice, the forms will still work though.
Gray