WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart

Tagged: assign, buddypress, xprofile

  • This topic has 4 replies, 2 voices, and was last updated 10 years ago by Mitch Canton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 2, 2015 at 11:51 pm #8608
    Mitch Canton
    Participant

    Hello, still working on all the features and options here. 🙂

    I need a way to auto assign an additional role to a new user. In a perfect world, it would be based on a BuddyPress xprofile field that the user is required to select during registration. All of the options available to choose from in the xprofile field would already also be established as Role options in WPFront role permissions.

    Any way you can think of that I can make something like this happen?

    Thank you.

    May 3, 2015 at 3:15 pm #8634
    Syam Mohan
    Keymaster

    Hi Mitch,

    What does the below statement mean?

    “All of the options available to choose from in the xprofile field would already also be established as Role options in WPFront role permissions”

    Thanks

    Syam

    May 3, 2015 at 7:30 pm #8641
    Mitch Canton
    Participant

    Sorry, let me try to better explain.

    When a user registers on our website, the have to fill in a Required field, where the answer is selected from a drop down box. Within the dropdown are about 25-30 choices, they must choose one. It is a required field, no selection, no register.

    We populate that dropdown box with the names of the BP Groups that they can join. They are limited to ONE selection. When they choose it via the dropdown box, they are Auto Assigned to that BP Group.

    *** We would have already created all of the 25-30 Roles in WPFront that have the same name as the BP Group they selected in the dropdown. ***

    My question was whether there was a way to ALSO (automatically) add the SAME name that they chose in the dropdown as an extended Role for that new user.

    I’m sorry if I explained it poorly. I hope this makes better sense.

    Thank you.

    May 3, 2015 at 7:52 pm #8642
    Syam Mohan
    Keymaster

    Hi Mitch,

    At this point I don’t see a solution, without doing some custom coding for this.

    Thanks

    Syam

    May 4, 2015 at 9:49 am #8662
    Mitch Canton
    Participant

    Hi Syam,

    I understand, it was just a thought. I will see how things work in the existing setup and then decide if this is something I need to talk more about.

    Thanks.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Auto Assign Roles’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions