Cannot Upload Avatars (Buddypress) when using Custom Upload Dir Plugin
-
HI there,
Firstly, thank you for an awesome plugin, it was exactly what I was looking for to keep some structure on my photoblog: “https://allterrain.co.za”.
I am experiencing a conflict between 2 plugins, “custom upload dir” and “buddypress”.
The “custom upload dir” plugin works spectacularly well to organise post photos into relevant folders, but I receive an error when attempting to upload an avatar.
——————- ERROR ————————————–
Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/home/***/wp-content/uploads/avatars/99/3f104f96558228c97963d30bf29e1c7f-bpfull.jpg’ for writing: No such file or directory in /home/***/wp-admin/includes/image.php on line 74Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/home/***/wp-content/uploads/avatars/99/3f104f96558228c97963d30bf29e1c7f-bpthumb.jpg’ for writing: No such file or directory in /home/***/wp-admin/includes/image.php on line 74
——————————————————————When I disable “custom upload dir”, the error disappears, and i can upload Avatars fine.
Is there anyway to update the code to only change upload directories for images attached to posts, not ALL the uploads through the entire site? This is all I can think of to make this conflict disappear.
I want the best of both worlds ??
Your help in this regard would be most appreciated.
https://www.ads-software.com/extend/plugins/custom-upload-dir/
- The topic ‘Cannot Upload Avatars (Buddypress) when using Custom Upload Dir Plugin’ is closed to new replies.