Skip to:
Content
Pages
Categories
Search
Top
Bottom

Upload Avatar on register page.

  • Avatar of ananwebman
    ananwebman
    Participant

    @ananwebman

    Hi,
    I’m trying to add a required avatar photo on signup as this is required to approve accounts and discourage users posting incorrect images. I have tried this plugin http://buddydev.com/plugins/bp-signup-avatar/ but it not work, any one have another good plugin or suggest how to custom code. I already google but never found a good solution.

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of danbp
    danbp
    Participant

    @danbp

    hi @ananwebman,

    accordingly to what brajesh wrote here 2 weeks ago, his plugin works with bp 1.8 ! So, it doesn’t work should be defined much better, or should be discussed directly with the author.

    Despite what you write

    this is required to approve accounts and discourage users posting incorrect images

    the answer is yes and no.

    A signup is approved as soon as the subscriber send back the validdation key received by email.
    Now his account exist and is active, ok ?

    But if you allow any upload during the subscription process, it’s as like you allow a unknow user to upload a unknow document on your server. What about this uploaded picture if you decide to ban or delete that user ?

    This is against any security policy, don’t you think so ?

    It’s best practice to not allow anything to a user before his account is approved by the site admin and evtl. some security plugins.

    Avatar of ananwebman
    ananwebman
    Participant

    @ananwebman

    Hi chouf1
    Thank for your comment, I found this fucntion at the end of the code:

    public function add_jquery_cropper() {
            wp_enqueue_style( 'jcrop' );
            wp_enqueue_script( 'jcrop', array( 'jquery' ) );
            add_action( 'wp_head', 'bp_core_add_cropper_inline_js' );
            add_action( 'wp_head', 'bp_core_add_cropper_inline_css' );
        }
    

    If I use default buddypress theme, user can upload avatar but If I use my comtom them, user can’t upload avatar. It seem missing some code.

    Avatar of ananwebman
    ananwebman
    Participant

    @ananwebman

    Bump

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    This could be something in your theme conflicting with the jCrop script.

    Avatar of sunnyj
    sunnyj
    Participant

    @mfmsw2youth

    please somebody help me I want to remove avatar cropping process from my site. I would like to make it auto crop as it’s in userpro pluging. Thanks

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

You must be logged in to reply to this topic.