WP-Members: Membership Framework
[resolved] [Plugin: WP-Members] How to add an upload field? (4 posts)

  1. Old
    Posted 4 years ago #

    I would like to allow my users to upload a custom photo/gravatar. How can I add this field on the registration form?


  2. Chad Butler
    Plugin Author

    Posted 4 years ago #

    The plugin doesn't really have a way to simply add that functionality to the user side form. But WP already has avatar capability built in. This is found under "Avatars" in the Settings > Discussion menu. This defaults to gravatar, so if your users already have a gravatar image, it will load that.

    On the user side, all you need to do is implement the get_avatar function to display the user's avatar wherever you want to display it. Also, get_avatar is pluggable, so you can create your own version of the function if needed.

  3. aimkbe
    Posted 4 years ago #

    i have all the fields i need on the registration page. The problem is the email field is out of place which messes up everything below that. How do i change this


    that is the page i want to change

  4. Chad Butler
    Plugin Author

    Posted 4 years ago #


    You question is only related to this thread in that we are talking about the same plugin. You should have just started a new thread for this.

    The issue you are having is really just a CSS issue. There may be properties that are inherited from another stylesheet, or you may just need to adjust some of the widths on the form elements.

    Here is some information that may help you with customizing the CSS forms:


    You only need to specify the location of the custom stylesheet in the plugin settings. But, if you're up to it, a more elegant way of loading a custom stylesheet is wp_enqueue_style:

    There are three stylesheets included in the plugin download - the default, and two others. This should give you a variety to start from. Ideally, you would create your own stylesheet to fully integrate with your theme, but these give you a good starting framework:

    Lastly, when tracking down style issues, I highly recommend Firebug (getfirebug.com). It's a free browser plugin and allows you to right-click and "inspect element" which will show you what properties are applied to a given element and where they are coming from (good for tracking down inherited properties from other stylesheets).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic