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
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!
yeah the css option is the best way, but that
#avatar-form-fields {display:none;}
in the bp-member custom.css file
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
Worked like a charm!
Thanks everyone, especially Vachi & r-a-y!