Re: [ADDON] OASL - ONE ALL SOCIAL LOGIN
Reply #12 –
require_once(SUBSDIR . '/ManageAttachments.subs.php');
removeAttachments(array('id_member' => $id_member));
This second line of the code is already in the function twice and the require once is what I added, not the other way around. It failed to show the avatar.
I also tried this way and it also failed to show the avatar:
// Manage Attachments.
require_once(CONTROLLERDIR . '/Attachment.controller.php');
require_once(SUBSDIR . '/ManageAttachments.subs.php');
All of the above mods are made inside of the oneall_social_upload_user_avatar function.
There is a link created for the avatar though, but it is broken.
So far I don't know what else to try.