PHPackages                             automattic/buddypress-profile-type-assigner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. automattic/buddypress-profile-type-assigner

ActiveWordpress-plugin[Authentication &amp; Authorization](/categories/authentication)

automattic/buddypress-profile-type-assigner
===========================================

Automatically assigns BuddyPress profile types to new users based on their email domain.

1.0.2(1y ago)2674↓91.7%[1 issues](https://github.com/Automattic/buddypress-profile-type-assigner/issues)GPL-2.0-or-laterPHPPHP &gt;=8.2CI passing

Since Apr 30Pushed 1w ago3 watchersCompare

[ Source](https://github.com/Automattic/buddypress-profile-type-assigner)[ Packagist](https://packagist.org/packages/automattic/buddypress-profile-type-assigner)[ RSS](/packages/automattic-buddypress-profile-type-assigner/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

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.9
**Stable tag:** 1.0.2
**License:** GPLv2 or later
**License URI:**

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

Description
-----------

[](#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
--------

[](#features)

- Automatic profile type assignment based on email domain.
- Configurable domain-to-profile-type mapping (code - no UI yet).
- Maintains role assignment based on BuddyPress member type configuration.

Installation
------------

[](#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
-------------

[](#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
------------

[](#requirements)

- WordPress 6.6 or higher
- BuddyPress or BuddyBoss Platform
- Member types configured in BuddyPress/BuddyBoss
- WordPress roles configured for member types

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md) for a complete list of changes.

License
-------

[](#license)

This plugin is licensed under the GPLv2 or later. See [LICENSE](LICENSE) for details.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance65

Regular maintenance activity

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba7751eebec0f74a4963e9a062f49e58222b97872bf193d95f0505f3df321d09?d=identicon)[GaryJones](/maintainers/GaryJones)

![](https://www.gravatar.com/avatar/7c5869ecbb8e0eac7e8b8e0f3cf7bdd8d5fcdc4abc10a72281872c53f8639d44?d=identicon)[automattic](/maintainers/automattic)

---

Top Contributors

[![GaryJones](https://avatars.githubusercontent.com/u/88371?v=4)](https://github.com/GaryJones "GaryJones (38 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

buddypress-pluginwordpresswordpress-pluginwpvip-plugin

### Embed Badge

![Health badge](/badges/automattic-buddypress-profile-type-assigner/health.svg)

```
[![Health](https://phpackages.com/badges/automattic-buddypress-profile-type-assigner/health.svg)](https://phpackages.com/packages/automattic-buddypress-profile-type-assigner)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[rainlab/user-plugin

User plugin for October CMS

11955.0k15](/packages/rainlab-user-plugin)[discourse/wp-discourse

WordPress plugin that allows you to use Discourse as a community engine for your WordPress blog.

5429.6k](/packages/discourse-wp-discourse)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
