argamanza
Forum Replies Created
-
@champsupertramp this isn’t perfect (now you can’t delete or change your image if the UM profile page if you have Google Avatar) but that’s just what i was looking for!
I will take if from here, tweaking it to behave exactly like i wish shouldn’t be too hard.
Thanks!
- This reply was modified 6 years ago by argamanza.
Thanks for the reply @champsupertramp , I think the optimal solution won’t be canceling
get_avatar, since it’s still useful for users without Google avatar / users that didn’t use the Google Login…I would rather combine the functionality by adding a condition that will first check if the user has a Google avatar (
wp_usermeta -> gpa_user_avatarisn’t empty) to display it before choosing the default avatar.That means i would also have to add a function that will remove that cell’s content once a user uses his profile page to upload a new avatar.
I have a good understanding in a lot of programming languages, PHP is not one of them so while i do have the ability to create such functionality i lack the knowledge of how to use
filtersor any other way to “override” the plugin’s functionality…