Support » Plugin: BuddyPress » [Plugin: BuddyPress] Avatar upload in registration form

  • I am using BuddyPress version 1.5.3.1. I would like to have users upload an avatar when filling out the registration form. I have not been able to find any code or plugin that can help me do that. Is there a way to do this? Ideally, I would like Upload Avatar to be right under Confirm Password in the Account Details section.

    http://wordpress.org/extend/plugins/buddypress/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Previous versions of BuddyPress worked list this, but we took out uploading avatars while registering for an account in 1.5 because we decided it didn’t make much sense to let the user upload an avatar until they had an account created.

    I think you could put it back in, but you’d have to know some PHP/WordPress dev. to be able to do it (or hire a developer). I can point you in the right direction if you’re familiar enough with writing custom WordPress plugins.

    Thread Starter snatrott

    (@snatrott)

    I am comfortable working with code. I would love some help getting pointed in the right direction.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    This was removed from BuddyPress in http://buddypress.trac.wordpress.org/changeset/3691 on http://buddypress.trac.wordpress.org/ticket/2741

    In your theme’s register.php, you can just put the deleted bits of the template back in (the part in red).

    For the changes in bp-core-signup.php, I reckon you can copy-paste the red bit into your own function, and hook that into the ‘bp_core_screen_signup’ action.

    Thread Starter snatrott

    (@snatrott)

    So far I just added the part in the register.php file and nothing is showing up on my register page regarding the avatar http://www.webiforum.com/en/register/

    I haven’t tried adding the signup function yet, as I am not sure how to do that. I don’t mind editing the code, but I am not completely certain where to go about adding that code.

    Thread Starter snatrott

    (@snatrott)

    Can anyone provide a bit more detail in implementing this? I am very thankful for the information provided so far, but I am just not putting the pieces together to get it working.

    Hi Paul,
    Nothing happened when I click on Upload button.

    James Thomson

    (@james-thomson)

    This ones important to me aswell, can anyone provide a little more detail please.

    My site, http://www.extrafriends.co.uk, is running a multisite Buddypress installation, powered by the Genesis theme framework.

    Thanks!

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    It is a bad idea to allow users to upload images before they have activated (and therefore authenticated) their user account.

    Hi Paul

    Thanks for your comment.

    How would you suggest we deal the issue of user avatars not being uploaded then?

    Force redirect a user on their first visit to an upload page encouraging people to do it?

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    If you’re using private messaging, maybe send them an email, linking to / explaining how they can upload an avatar. Or redirect them to a blog post or a forum on their first log in, where you explain the same. My Welcome Pack plugin will give you these options.

    Hi Paul, apologies if this is incorrect forum thread use, but I specifically wanted to ask you this question and it is closely related to the original question. I thought this would be the best way of getting your attention. Hope that is ok.

    I am creating a four step “getting started” process that a member goes through after they have signed up (1. profile details 2. contact details 3. avatar 4. about us tutorial) each step is on a custom page that is not the member’s profile page. I have got all the steps sorted except the upload avatar step.

    I am using the change-avatar.php code as a base to work from and have copy pasted it into a custom page. However, when I upload an avatar the page refreshes and nothing happens; the cropping tool does not appear as it does on the profile page.

    It looks to me (and I’m no expert) that it is something to do with permissions set in bp-xprofile-screens.php that is stopping the cropping tool from appearing on my custom page. Can you help with the code edit required to make the crop tool and therefore my upload avatar page to work?

    Thanks in advance,
    D

    Sorry if I am out of topic. Please my members finds it hard to crop their avatars and also my members, in fact, my avatar uploading never works well on mobile phones. Is there a way to remove avatar cropping and buddypress will be able to upload the photo just as it is and then automatically resize to normal avatar size used on the site. I hope you undersatand what I mean.

    @macrosa

    please start a new topic.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: BuddyPress] Avatar upload in registration form’ is closed to new replies.