Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Registration form Field Error


  • sam01389
    Participant

    @sam01389

    Hi nice plugin and great work.

    latest wordpress and buddypress version.

    I have couple of queries.

    1.I have added additional field date of birth while sign up but it is showing year drop down options till 2037 and accepting it while sign up.
    2.when I am writing a short bio in wordpress, it is not showing anywhere.
    3. Is it possible to follow a person instead of connecting through friend requests?
    4. I want to use * instead of required written in sign up form (for eg.Name(required), I want Name*). Is it possible to amend that?

    please help me to solve this.

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

  • danbp
    Moderator

    @danbp

    @sam01389
    Q. 4:
    BuddyPress wordings can easily be changed by using a language file, even if your site is in english.

    Customizing Labels, Messages, and URLs

    Q.2:
    When buddypress is activated with the xprofile component, the wordpress register form is not used, except for username, password and email part.
    xprofile let you extend this wp form. And if you need a bio field, you create multiline text field and call it Biography. So simple as that.

    Q.3
    https://wordpress.org/plugins/buddypress-followers/

    Q.1
    no comprendo ! What do you mean exactly ?

    Latest WP and BP maybe enough for a daily forum usage. But imagine people reading your topic in 6 mounth or in 2 years… Give the version number please. And give also the used theme type/name.


    sam01389
    Participant

    @sam01389

    I am using latest version of both. Ignite theme.

    I meant by #1 ques

    when I added extra field in registration form which is Date of birth, I gave option in drop down date format. but it is giving year of birth till 2037 while registering which is not logical coz its 2014 and when I tried to register as user and select my year of birth 2016, it accepted. how is it possible that I am entering value which is not come yet (year 2016 is not applicable value).

    Q 4. Is it possible if you will provide any CSS and I will add somehwere coz I think its too much technical for me 🙂


    danbp
    Moderator

    @danbp

    answer 4 doesn’t relate to CSS but to language file.

    answer one i don’t understand what you did.
    – create a new field
    – add a title -> Birthdate
    – add a description -> your birthdate
    – field requirement -> required or not required
    – field type -> date selector
    – save settings

    By default the years in this selector goes from 1902 to 2037. Don’t ask me why, but it’s so.
    If you have a member born in 1902 let us now, we will create an extra worldwide buddy party for him !!! (with free beer and WP goodies for all).

    The issue is 2037 is indicated on the first line ? Normally, the first line is containing —- in each select. If you see 2037 by default, something is wrong somewhere.

    Do you use an extra profile plugin or is your theme made specially for BP ?


    sam01389
    Participant

    @sam01389

    No I am not using any extra profile plugin. I am using ignite theme and I think it is compatible with BP. check this.

    http://bmania.in/wp/register/

    Q 2. I have added extra field for short BIO and saw your codes add_action to retrieve and display that BIO of user but not getting where exactly I need to add that code in function.php. I am also not getting member.php in buddypress plugin editor. I think code would be like this but dont know where I need to put that codes exactly.

    add_action( ‘bp_profile_header_meta’, ‘display_user_short BIO’ );
    function display_user_short BIO() {
    //This is where the code to display the user data will go.
    }

    $args = array(
    ‘field’ => ‘short BIO’, // Field name or ID.
    ‘user_id’ => bp_displayed_user_id() // Default
    );

    your cooperation would be highly appreciable.


    danbp
    Moderator

    @danbp

    I don’t understand why you obstinatly want to write bios on wordpress (inactive when BP is activated) when you can do that with xprofile !

    On the register page you have a single line text area field. Why don’t you use a multiline area for doing this ?
    field type = Multi-line Text Area.
    Entered text will then appear on user’s profile !

    The function you want to use cannot work, as it contain errors.

    Sorry to tell, but I think you have to learn some php and buddypress handling before going to reinvent the wheel or making things you don’t really understand.

    Some good reads here, and many others on the forum.

    functions.php


    https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/

    Using bp_parse_args() to filter BuddyPress template loops

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Registration form Field Error’ is closed to new replies.
Skip to toolbar