Using BuddyPress Member Types

Home / Tutorials / Plugins / Using BuddyPress Member Types

Using BuddyPress Member Types

If you haven’t downloaded BuddyPress 2.2 as yet then you are wasting time. BP 2.2 features the new BuddyPress Member Type  which is pretty awesome if you use it right. Check out how to get member types on your site.

Member Types can be used in many ways depending on your project. Let’s assume that you would like to have members types for a firm intranet social network. You can define member types based on the staff structure. So, let’s assume our firm is made of the following positions; Accountants, Designers and Sales Agents. Now, let’s create these member types in our BP site.

Firstly, the function for registering member types is bp_register_member_type


Step 1. Create a file called bp-custom.php in the plugins directory

Step 2. Add a bp_init filter

Step 3. Create the mpl_register_member_types function

Now, you save your file and find the member type under the XProfile section in the admin.

Recommended Posts
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search