Skip to:
Content
Pages
Categories
Search
Top
Bottom

Include multiple people on a profile page


  • roseannec
    Participant

    @roseannec

    This is hopefully an easy question. I am currently researching membership plugins and one that I have found – memberpress integrates with BuddyPress to allow me to show profile pages on our website (which is not live yet). In our case, each member is actually a small business and on the profile page we will want to list one (at least) to multiple (never more than 5 I would think) people. Each person will have a photo, contact details and some other details about their role. Is this possible to do with BuddyPress and if not would it be possible for me as a developer to modify code and the database to enable this?

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

  • Venutius
    Moderator

    @venutius

    Might be easier to create each organisation as a group, that way you could use group member functions to create a page to display them. The issue with a profile page is that it’s geared towards a single user_id, you’d have to create custom functions to tie that user to other user_id’s and then create a custom page t display those users. So by using groups you are working with functions already set up to deal with a collection of people.


    roseannec
    Participant

    @roseannec

    ok that sounds good – thank you for that 🙂


    roseannec
    Participant

    @roseannec

    Actually looking at this again, I do have another question related to this. Is it possible to add custom fields per group?

    So as I mentioned we want to feature a small business (which would be the group) so would have fields like:
    – address of business
    – phone number of business
    – email address
    – areas of speciality

    And each business would have members with details like:
    – photo url
    – name
    – areas of speciality etc

    Would groups work for this?


    roseannec
    Participant

    @roseannec

    Just bumping this up. What I need to know is whether it is possible to add custom fields to groups?


    shanebp
    Moderator

    @shanebp

    …it is possible to add custom fields to groups?

    Yes – you will need skill as a WP developer.

    Group Extension API


    roseannec
    Participant

    @roseannec

    Thank you @shanebp. I had a look at those examples and think that should be ok. One other question. What is the database table structure for this? Is there a separate database table for groups? I presume that the individual member data is saved in the wp_users table?

    Also I have seen in the documentation that the individual profile pages can be customized by customizing the template files and saving that into the child theme. Is that the same with groups? If I set up a group for each of my small business ‘members’ I’m assuming there would be a group page for each one? And that I could display my new custom fields somehow?

    Thanks,
    Roseanne

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar