Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change restriction of Gravatar?

  • Hi, I’m running BuddyPress 1.2.1 on WordPress 2.9.1.1.

    I noticed that the Gravatars shown on BuddyPress and its related widgets are restricted to the G rating. I am able to set the Gravatar rating for individual blogs and they show up correctly.

    Is there anyway I can change the rating restriction on the Gravatars displayed?

Viewing 1 replies (of 1 total)
  • It appears that the ability to change the rating of Gravatar used in BuddyPress is not exposed in any option form.

    I managed to change it by editing bp-core/bp-core-avatar.php at line 158. Adding . ‘&r=<rating>’ a the end.

    Some information here: http://en.gravatar.com/site/implement/url

    If you wish, I guess you could add additional options to Site Admin->Options and insert the option into the database somehow.

    If there is any plugin that does this for us, I’d very much like to know. Otherwise, I’m just sharing this tiny hack.

    Cheers~

Viewing 1 replies (of 1 total)
  • The topic ‘Change restriction of Gravatar?’ is closed to new replies.
Skip to toolbar