Download the PHP package automattic/buddypress-profile-type-assigner without Composer

On this page you can find all versions of the php package automattic/buddypress-profile-type-assigner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package buddypress-profile-type-assigner

BuddyPress Profile Type Assigner

Contributors: garyj
Tags: BuddyPress, BuddyBoss, profile types, roles
Requires at least: 6.6
Tested up to: 6.8
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically assigns BuddyPress profile types and WordPress roles based on email domain.

Description

This plugin automatically assigns BuddyPress profile types (e.g., Customer, Partner, Teacher, Student, etc.) and corresponding WordPress roles to users based on their email domain. It's particularly useful for:

Particularly useful for assigning profile types that aren't available for new users to pick from during registration.

The plugin integrates with BuddyPress/BuddyBoss's member type system and WordPress's role management to provide a seamless user onboarding experience.

Features

Installation

  1. Upload the buddypress-profile-type-assigner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Configure the domain-to-profile-type mapping in the plugin settings.

Configuration

The plugin uses a simple array-based configuration for mapping email domains to profile types. Define the following in a mu-plugin, theme functions file, or custom plugin:

define(
    'BUDDYPRESS_PROFILE_TYPE_DOMAIN_MAPPING',
    array(
        '@example.com'  => 'profile-type-1',
        '@example.org'  => 'profile-type-2',
        '@example.net'  => 'profile-type-3',
        '@example.info' => 'profile-type-4',
    )
);

Multiple domains can be assigned to the same profile type.

You can find the profile type slug at the bottom of editing the profile type, but it's the lowercase, hyphenated version of the profile type name. e.g. Junior Developer would have a slug of junior-developer.

Requirements

Changelog

See CHANGELOG.md for a complete list of changes.

License

This plugin is licensed under the GPLv2 or later. See LICENSE for details.


All versions of buddypress-profile-type-assigner with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ^2
php Version >=8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package automattic/buddypress-profile-type-assigner contains the following files

Loading the files please wait ....