Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create custom profile field with multiple parameters

  • @muckee

    Participant

    Hi all,

    Experienced in web design but new to WordPress. Working on a theme which relies on buddypress.

    I would like to create a C.V. type area on the user’s profile. One section of this area is a list of qualifications. Currently, users can list their qualifications in a textarea.

    Instead, I would like to allow users to fill in three fields in that section. So they have ‘qualification name’, ‘result’ and ‘link’. I would also like to allow users the option of uploading an image of their qualification.

    I can’t work out where to begin. I downloaded the BuddyPress Custom XProfile Fields plugin, but I can see that this only allows single-field entries.

    I have also found this guide: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/

    But, again, it only shows how to display a single field.

    So here there are two problems. The secondary one is that users must be able to create new instances of this qualifications fieldset dynamically, though I expect that the solution to this will become apparent when I’ve solved the main problem.

    I need to know how to combine fields, so that when a user enters qualification name, grade and link, it is all stored together, or somehow related in the database, so that a single reference can be used to display each field relating to that particular qualification.

Viewing 1 replies (of 1 total)
  • @shanebp

    Moderator

    Have you considered using a separate screen on profiles?
    It would be more work but would give you more control.
    You’d need to create your own form and handlers. And probably store the data in the usermeta db table instead of xprofile table.
    Example of creating the nav and placeholder screens.

Viewing 1 replies (of 1 total)
  • The topic ‘Create custom profile field with multiple parameters’ is closed to new replies.
Skip to toolbar