BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 4
    KamelBlua on #38906

    I’m coming back to you, to say that I’ve solved the problem, I’ve programmed a code so that it’s automatic, thanks again for trying to help me, cordially.

  • Participant
    Level: Initiated
    Posts: 4
    KamelBlua on #38654

    Thanks, now I see, but it’s a problem how can I tell him who to show in the “Types” filter of the members directory?

  • Participant
    Level: Initiated
    Posts: 4
    KamelBlua on #38611

    I managed to get the method to work, I have my “Member Type” in Extended profile of a user, but it doesn’t show up in wp-admin/edit.php?post_type=bp-member-type, is this normal?

  • Participant
    Level: Initiated
    Posts: 4
    KamelBlua on #38610

    Hello, thank you for your answer,

    Actually, I have an idea to create dynamic member types, I would like to avoid typing all my member types by hand.

    The problem is that the bp_register_member_type function doesn’t work when I add it in the function.php file of the theme, because I had tested also in bp-custom.php in wp-content/plugin, it makes the site crash with a fatal error.

    Each user has a company and I wanted to make a small dynamic code to create a “member type” with the name of the company and assign it to this member type.

    Cordialy.