WordPress.org

Forums

WP Vanilla Connect
Disable Gravatar (3 posts)

  1. daviscross
    Member
    Posted 1 year ago #

    How the hell do I get rid of that awful gravatar connection? Everytime someone signs into vanilla with their WP account that ugly gravatar icon shows up. I'm aware that they can easily change the image, but obviously not everyone does and the thing is an eye sore. Please help!

    http://wordpress.org/extend/plugins/wp-vanilla-connect/

  2. radianceLux
    Member
    Posted 1 year ago #

    I have tryed everything to make it stop taking gravatar and use the local avatar on my WordPress page with no luck please advise. thanks

  3. radianceLux
    Member
    Posted 1 year ago #

    I FINALLY FIGURED IT OUT!

    in wp-vanilla-connect.php change line 105

    $user['photourl'] = $gravatar_url;

    to

    $avatar = new SimpleXMLElement(get_avatar($current_user->ID));
    
    $user['photourl'] = (string)$avatar['src'];

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Vanilla Connect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.