Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Image Upload Option from SIGNUP only.

Viewing 7 replies - 1 through 7 (of 7 total)

  • r-a-y
    Keymaster

    @r-a-y

    Put this in your CSS file:

    #avatar-form-fields {display:none;}

    This will hide the avatar field from view on the registration page.

    Look at /bp-xprofile/bp-xprofile-signup.php. I’m not writing your code for you, but from the looks of things, I think you need to remove_action() the xprofile_add_signup_fields() call, and add_action your own version of this function, but obviously removing the avatar form field.

    Best place for the code would probably be /plugins/bp-custom.php and make your add_action have a priority of 11.

    Ah, r-a-y’s got a good suggestion! That one is definately easier to do, but it depends how hard your users want to try to get around it ;)


    seoandsem
    Participant

    @seoandsem

    Thanks for the fast reply and please forgive my ignorance here, but which .css file would this be? I tried base.css and it didn’t seem to change anything. I am new to this and learning this so I am still catching on.

    Thanks for the help!


    vachi
    Participant

    @vachi

    yeah the css option is the best way, but that

    #avatar-form-fields {display:none;}

    in the bp-member custom.css file


    r-a-y
    Keymaster

    @r-a-y

    Actually that CSS code should go in your bphome theme’s CSS file.

    Or whatever you are using for your WordPress home theme.

    Let’s say you’re using the “bphome” theme.

    The CSS snippet should go at the very end of:

    /wp-content/themes/bphome/style.css


    seoandsem
    Participant

    @seoandsem

    Worked like a charm!

    Thanks everyone, especially Vachi & r-a-y!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove Image Upload Option from SIGNUP only.’ is closed to new replies.
Skip to toolbar