Skip to:
Content
Pages
Categories
Search
Top
Bottom

Different profiles for different user types

  • @tiptap

    Participant

    Hey,

    I managed to setup different user types in buddypress then show a different profile template based on that user type.

    However now i would like to have a whole different url for the different usertypes, such as;

    mysite.com/user-type-one/username/

    mysite.com/user-type-two/username/

    mysite.com/user-type-three/username/

    rather than haveing all users urls as /members/username/

    Could someone point me in the right direction to make this work please?

    Would I need to duplicate the members component for each usertype? and if so where is the members component i need to copy?

Viewing 18 replies - 1 through 18 (of 18 total)
  • @tiptap

    Participant

    Could I just have multiple slugs pointing to the same component? And where is the members component located?

    Thanks

    @crbarnett

    Member

    @Tiptap

    How were you able to setup different user types in buddypress then show a different profile template based on that user type?

    I’ve been looking for a solution for this and have found no promising plugins or answers.

    I’m sorry I cannot be of much help with your question, but I do hope you can shed some light on this different user type integration.

    @noizeburger

    Participant

    @Tiptap

    like crbarnett, I’d also be interested in setting up different userprofile-types. Please give us a hint. I read, you did that with bp 1.X also.

    Please help!!

    @pollyplummer

    Member

    Also interested in doing this…. :)

    @nuprn1

    Participant

    one quick way would be to hook on

    apply_filters( ‘bp_located_template’, locate_template( (array) $filtered_templates, false ), $filtered_templates )

    and perform your check for whatever user type method you have implement and check for members/single/home.php or whatever

    have a look at function bp_core_do_catch_uri() {

    otherwise depending if xprofile is installed – various filter names are used for the profile pages

    apply_filters( ‘bp_core_template_display_profile’, ‘members/single/home’ )
    or
    apply_filters( ‘xprofile_template_display_profile’, ‘members/single/home’ )

    as for changing up the members slug on a niche level – i would look over function bp_core_set_uri_globals() { on how it works

    *edit – apparently code ticks no longer work… ugh.

    @nahummadrid

    Participant

    getting near this item on my to do list…any new developments on a simple way to do this both the way mentioned previously and/or syncing user roles to member type. editor/username, contributor/username, customtype/username…

    @jossc

    Participant

    I’ll be working on this in a few weeks for my upcoming community site, which needs separate account types – essentially for those users creating content, and those users looking for content.

    They’ll need to have completely different permissions and profiles – for example, the creative/content producing members are showcasing their work, while the other user types are searching for them and offering them work etc.

    I’ll post back with my developments when I start working on it :)

    @noizeburger

    Participant

    @Joss: any progress?

    @tbresch

    Member

    @Tiptap @Joss – I’m very interested in learning how to create different types of profiles for different users. Would you please shed a little light on the subject? Thanks!

    @amystamp

    Participant

    keep us updated… any more info on this subject is much appreciated.

    @joysan

    Participant

    @Tiptap could you share us what we shoud do to manage different user’s types

    thanks

    @localpaper

    Member

    Have anyone figured how to do this? thanks!

    @noizeburger

    Participant

    @localpaper and all the others: this is a working start (at the moment only working with multisites enabled):
    http://cleverness.org/2010/08/08/add-user-types-to-wordpress-and-buddypress/

    Give it a try.

    @beraike22

    Member

    Hi Everyone – I’m not sure if this is what you are looking for but this is what I did! And NO coding required! lol

    Under Buddypress Componet Setup enable the Group Settings. Now go to your profile page and set up as many groups as you like. Then use the Buddy Press Registrations Groups the author page is this – http://hardlyneutral.com/wordpress-plugins/ this will have the groups show up on the registration page and they will be asked to select which group they are a FAN of.

    If you want you can go to the Editor Page or your FTP or Cpanel for that Plugin and on this page: buddypress-registration-groups-1/includes/bp-registration-groups.php scroll down to you see where it says Fan of and check one or more areas of interest and chance it to whatever your website needs are.

    I hope this helps.

    Another great plugin is https://wordpress.org/extend/plugins/bp-member-filter/ When you put brackets [ ] around any word in your profile it makes it a link to all other members that have that word or phrase linked. So when you click on it all members with that link come up on a list.
    Here is a example I use on my directions page for creating their profile.

    [Hair Stylist]

    I am a [Hair Dresser] [Beauty Salon] owner I offer [Hair Cuts] [Perms]

    [Hair Coloring] [Hair Highlighting] [Braiding] and other misc [Hair Care] services.

    I am available Monday – Thursday for appointments only.

    Again I hope this helps someone!

    @madburner

    Member

    @beraike22, do u have a working example we can see? also I’m having issues with that plugin, when I enabled it, it seems like I would have to indeed modify it to show some plugins when i’m signed in. The problem with that is for troubleshooting purpose I can’t not be logged in, thus I want to test this out when asked to register or join. can you give me a bit more detail on how to achieve multiple profile types upon registration?

    @landwire

    Participant

    Hi there,
    anyone got an answer to the very first question on this discussion? Would love to change the slug according to user roles! And have different profiles themes…
    Sascha

    @landwire

    Participant

    @tiptap
    Hello tiptap,

    did you get your different user types/roles in the members slug ever working (as per your thread about different profiles for different user types)? Just before I start something that cannot be accomplished……
    If you have I would be glad if you give me some hints or even share some code.
    Sascha.

    @bojan85

    Participant

    http://wpbpshop.com/buddypress-user-account-type-pro just released to solve this issue.

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘Different profiles for different user types’ is closed to new replies.
Skip to toolbar