Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • WisdmLabs
    Participant

    @wisdmlabs

    @monicajay:
    You can easily add one more profile field as “confirm email” from dashboard->users->Profile Fields.
    You don’t need to mess with bp files.
    For validation, you just need to add few lines of code to match email ID using javascript(for client side validation). It doesn’t need high level of coding skill.


    @dhyana
    :
    Don’t add fields directly in the core file, Buddypress provides you option page to add fields here. dashboard->users->Profile Fields
    FYI registration file is located at –
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php


    WisdmLabs
    Participant

    @wisdmlabs

    Yes, you should make javascript validations for it.
    Other option is not advisable, to make change in plugin’s core file, but if you won’t update buddypress then as in buddypress Version 2.0.2, in file /plugins/buddypress/bp-members/bp-members-screens.php you can make little change on line number 118.

    That is, there is checking for required fields in line number 118, just make it
    empty( trim( $_POST[‘field_’ . $field_id] ) )
    instead of
    empty( $_POST[‘field_’ . $field_id] )


    WisdmLabs
    Participant

    @wisdmlabs

    It is because “required fields” except “Username” accepts blank spaces/tabs. So, in registration process, you should make validations before submitting form.


    WisdmLabs
    Participant

    @wisdmlabs

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar