BuddyDev

Using BuddyPress Member Type as Profile Field: Introducing BP Xprofile Member Type Field plugin

Do you want to use BuddyPress Member Type and let users choose their member type on registration? BP Xprofile Member Type Field plugin allows you to use the registered member types as xprofile field and when a user registeres or updates his/her profile, It updates their member type.

Features:-

  • Uses Member Type As Xprofile Field
  • Updates & syncs user's member type with the xprofile field
  • Works with Non Editable Profile field plugin if you don't want to allow users to modify their member type after registration.

The current version shows the registered member types as a select element(dropdown). We do plan to release a more flexibleย plugin in 4 – 6 weeks when our Extend Profile Fields plugin for BuddyPress becomes available.

Screenshot:-

Add New Profile Field screen:-

Xprofile Add New Field

Registration page Member Type Field:-

Registration Page Member Type field

Edit profile page member type field ( If you are not using Non Editable Profile field plugin):-

Edit Profile Member Type field

Download & Installation:-

https://buddydev.com/plugins/bp-xprofile-member-type-field/

Also, if you are interested in exploring the member type in detail, please take a look at the resources list below.

Resources:-

If are using this plugin, please share your thoughts/suggestions below.

32 Responses to Using BuddyPress Member Type as Profile Field: Introducing BP Xprofile Member Type Field plugin

  • Brajesh,

    You're awesome. I appreciate your work and effort very much.

    Your two new plugins (BP Xprofile Member Type Field and BP Member Type Generator) now transform BuddyPress in a "true" social network platform.

    THANK YOU !

    • Hi Romanzy,
      Thank you for the kind words. These are the words that keep me going. Thank you for taking time to comment ๐Ÿ™‚

      • Awesome job once again Brajesh! You are a BuddyPress rock star.

        • Thank you Ben:) I am proud to have friends like you ๐Ÿ™‚

  • Brajesh you are an amazing coder, I have a question about this plugin.

    How can I make an activity stream that only shows updates from 'students' to 'students'?

    So if you are a 'teacher' you can't see the 'students' updates. Does this make sense? I am really looking forward to an answer. Also, I would love to hire you for some work, please P.M me if interested.

    • Hi Brayden,
      Thank you for the comment.
      filtering the activity by user type is a little bit complicated. It needs implemetation specific strategy. The best way to achieve it is by filtering on 'bp_activity_get_where_conditions'.
      I will get back to you on the email today.

      Thank you.
      Brajesh

  • Congrats on the plugin! That was the only piece missing after Member Types was introduced.

    I created a hack myself to allow this plugin functionality on my community and worked partially. Gonna test right away with your plugin to see how it behaves.

    Thanks and congrats again for your work to the BuddyPress community. =)

    • Hi Renato,
      Thank you for the comment and appereciation. Please do let me know your test results. Will love to hear and improve further if needed ๐Ÿ™‚

      • For some reason the plugin doesn't work out the box. I'm still trying to understand why it doesn't see my custom Member Types and doesn't apply to the select field.

        I'll hit you back if I see why this is happening.

        • Hi Renato,
          If you have a registered member type the plugin should take that automatically.
          If it is not happening, please do get back to me with more details please.

  • Pingback:Create and Manage BuddyPress Member Types with the BP Member Type Generator Plugin

  • Awesome work as always Brajesh. You're a constant inspiration ๐Ÿ™‚

  • Most awesome developer EVER!
    Thank you soo much master, you are the best!!!!

    I learned sooo much from you and your work and can't thank you enough.
    I'm sadly a poor student with nothing to give than love and time, and the way you helped me although im not a premium customer yet, makes me very happy and grateful.

    • Thank you for the kind words. These matter a lot more than anything the money can buy. I appreciate your sentiments.
      Thank you again. It is a pleasure to help ๐Ÿ™‚

  • Hi Brajesh. First of all thank you for this plugin. However, somehow I am not able to find it for download. Is it possible for you to help me with a link? Many thanks in advance.

  • How can we make URLs/Links open in new windows?

    • Hi LuXman,
      which URLs/Links? Can you please explain?

      Thank you
      Brajesh

  • Hi,

    I installed this plugin, along with BuddyPress Member Type, but no new field populates in the registration form for users to indicate their membership type. I'm sure I'm missing something as I'm new to WordPress. Please help me figure out what I'm missing! Thank you!

    • Hi Jack,
      From Users->Profile Fields section in the dashboard, you will need to create a Member Type field in your first Field group to make it appear on the registration page.

      Hope that helps.

  • Hi,

    I wonder if is there possible show "the member type" in bbPress Author Topic and Reply?

    Regards,

    • Hi Javier,
      you can display it anywhere you like. You can either use xprofile_get_field_data() to fetch this field or use bp_get_member_type() to fetch the member type name.

      regards
      Brajesh

  • Hey, that's great plugin, exactly what I was looking for. The only thing that is missing for me is to set limited choices of member types for registering users. For instance I currently have Reader, Writer, Writer Lvl 2, Writer Lvl 3 etc. And I would love if they could only chose between Reader and Writer. While Lvl 2 and Lv3 I would set manually based on their experience level. Does it make sense? Would it possible to do it?

    Thanks,
    Mantas

  • Hi,

    I am using BP Member type manager instead of BP Member type generator since I need to sync member type with user role and the later is not allowing me to do it.

    I succesfully created the member type field, and two registration forms (for two diferent member types). When these forms are used to register the users are properly created (role and type) HOWEVER this is not synchronized with the Xprofile field. If the user select a new type it will rewirte memeber type and role.

    In other words, the Xprofile member type field overrides the current memeber type but it is not synchronized the other way around.

    Any ideas?

    Kind regards,

    Javier

    • Hi Javier,
      Thank you.
      You were right about the bug. It happened when the user has no profile data set for the member type field.

      We have it fixed now.

      Thank you
      Brajesh

      PS: BP Member Type generator will have the sync to role functionality in next update too.

  • Thanks for the update in 1.0.5 to allow filtering of member type on the register page. It works great for that, however a user can still edit their profile and change the type to any option.

    I've had a quick look in the code but I can't find where the options are being produce on the profile edit page.

    Any pointers?

  • Hi I am using your BP Member Type on my register page. The new user can select a member type e.g. 'EV Enthusiast' or 'Potential EV Buyer'. My problem is, it doesn't save. It default to 'EV Owner' for every new sign up, no matter what they actually select. I am not a PHP developer and am struggling to find what the problem is? Here is a link to my register page in my staging area:
    https://staging1.electriccarexperts.com/register/
    I would really appreciate any pointers to my problem? If you want to login to see set-up please email me.
    Thank you

Subscribe