Tagged: buddyboss, buddypress, profile, type
Hello, I wanted to know if it is possible to create a profile via a function of BuddyPress or buddyboss, please.
I have tested this function https://codex.buddypress.org/developer/member-types/ , but it does not work.
Hi,
Thank you for the question.
Both of the plugin allows you to register via function. You find some detaisl here.
https://buddydev.com/using-buddypress-member-types-api-like-a-pro-introduction/Also, now, these 2 plugins allow you to create the member type/profile type from dashboard without touching code too.
Regards
BrajeshHello, 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.
Hello,
Please ignore my last message as I thought you were using BuddyPress. BuddyBoss uses post type for registering member types. But with manual registration member types register as taxonomy term, This is the reason it is not showing on that page.
Regards
Ravi
You must be logged in to reply to this topic.