Support » Plugins and Hacks » [Resolved] Override Avatar on by default

[Resolved] Override Avatar on by default

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ronald Huereca


    Since it’s an add-on feature, I feel the option must be “opt in” instead of “opt out”. I’d love to hear from others though that use the plugin and see if they want this feature on by default, but for now, it’s off by default.

    Yes, I can understand this. The reason why I wanted the option is because I use s2member plugin and in their profile sidebar they use the get_avatar and your plugin will can replace that, but only if they check that box, otherwise s2member will not show a photo at all. I can easily modify the core files, but liked the plugin and was looking for a long term solution that will be updateable.

    Plugin Author Ronald Huereca


    What if I added a filter that you could hook into. Would that be doable?

    I want to avoid adding plugin options since there aren’t any at the moment aside from what you see on the user profile page.

    Yeah I think that would work. Thanks!

    Plugin Author Ronald Huereca


    I just released version 1.0.20 with the filter in there.

    To have the checkbox checked by default, just drop this into your theme’s functions.php file:

    add_filter( 'mpp_avatar_override', '__return_true' );

    Just a note that if a user has saved their profile, it will use that option instead of the filter.

    If this helps, please consider leaving a rating/review.

    Awesome! I will do!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Override Avatar on by default’ is closed to new replies.