Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    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.

    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

    https://international.quackitup.com/loginregister/

    that is the page i want to change

    Plugin Author Chad Butler

    (@cbutlerjr)

    @aimkbe,

    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:

    https://butlerblog.com/2011/07/25/customize-the-wp-members-stylesheet/

    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:
    https://butlerblog.com/2012/02/20/loading-custom-stylesheets-with-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:
    https://butlerblog.com/2012/02/19/new-css-stylesheets-included-in-wp-members/

    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).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Members] How to add an upload field?’ is closed to new replies.