BuddyDev

Search

Listing the Member Types of a User (and also from a Multi Member Type Field)

  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #24945

    Hi Brajesh,

    I’ll try to keep it simple because the reality is that these lists are huge 🙂

    I have several Multi Member Type Fields that the user can edit in their Buddypress Profile. Example:

    Model Range A Field
    – Member Type Owns Model 1
    – Member Type Owns Model 2
    – Member Type Owns Model 3

    Model Range B Field
    – Member Type Owns Model 4
    – Member Type Owns Model 2 (yes, 2, because it is in Range A and Range B)
    – Member Type Owns Model 5

    I have a top level Tab – Instruments

    I have 3 sub-tabs

    Your Models| Model Range A | Model Range B

    In Your Models Tab I want to list (ul li) all the models that the Member owns, in alphaetical order.

    Example: Member owns Model 1, 2 and 5. The list needs to show:

    Your Models
    – Owns Model 1
    – Owns Model 2
    – Owns Model 5

    In Model Range A Tab I want to list (ul li) all the relevant models that the Member owns, in alphabetical order.

    Example:

    Model Range A
    – Owns Model 1
    – Owns Model 2

    In Model Range B Tab…

    Model Range B
    – Owns Model 2
    – Owns Model 5

    Can you help me to do this please? Maybe by some shortcode?

    The Reasons for this are:

    – Tabs – Your Models| Model Range A | Model Range B – Will each have different Help and appropriate hyperlinks.
    – In due course I need to associate Model Type Owners with Model Type Taxonomy, to display associated Downloads, Posts and Pages. I will need some help from you with that.
    – By confirming that they own a particular Model, the member will be joined to the Groups that are relevant to that Model.
    – A Member will choose which Model Types they own (Member Types) with the checkboxes in their profile (Multi Member Fields). From then, I can display content that is appropriate to their Model Ownership (Member Type), using your shortcodes.

    I hope this is reasonably easy to understand. I am dealing with hundreds of Models (Member Types) 🙂

    I don’t know how I could do this without your incredible plugins!

    Many thanks,
    Mike

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #25064

    Hi Mike,
    Hope you are doing well. I am sorry I could not reply in time as got overwhelmed by the work.

    Are you using multiple member type fields? If yes, It will be a problem in future.

    Member Types are like single taxonomy.
    For example, if we are organizing books, we can use member types as Genre or as Publishing House. The member type terms allows us to group item by a single classification.

    For example, “keyboard” in your case is a good candidate for member types. But all the type of keyboards can not be sub organized using it.

    I am not sure how much sense that makes but it seems to me you are most probably looking for multiple way to classify and not multiple terms to classify into.

    A user can have more than 1 member type but we do not have a way to sub divide member types to smaller lists and properly sync the field(multiple field) to user’s actual member type.

    We need to think some other strategy for it.

    If you can tell me what other purposes you are trying to accomplish(other than auto adding to groups), I may have some idea.

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #25069
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #25070
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #25072
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #25083
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #25085
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #25092
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #25098
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 222
    Mike (DesignServe) on #26117

    Hi Brajesh,

    To cut through all the information above and re-address the original question:

    How can I display all of a User’s Member Types on a tab in their profile? for example, on this page:

    https://technicskeyboard.com/members/admin/front/

    Could we make a shortcode to display my Member Types there?

    Thanks,
    Mike

You must be logged in to reply to this topic.

This topic is: not resolved