I have been messing around with the integration.php file ......managed to get the links set up to point user at their profile (that took some messing about) but i am struggling with the "finding of where the avatar's are kept. After poking around the server I found the path was /wp-content/uploads/ but they were in another folder /2020/
Adding this to the integration.php file drew a blank too (also worried that WP will create other folders like /2021/ and so on .....
[*]
- Code: Select all
function get_avatar($image, $user_id) { global $base_url; if (is_file(dirname(dirname(dirname(__FILE__))) . '/images/' . $image . '.gif')) { return $base_url . '../images/' . $image . '.gif'; } else { return $base_url . AC_FOLDER_ADMIN . "/images/img-no-avatar.png"; } }
If you can help me, that would be great .... but everyone be safe and have a great day
Pete