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. automattic/buddypress-profile-type-assigner

ActiveWordpress-plugin

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

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

1.0.2(1y ago)2674↓50%[1 issues](https://github.com/Automattic/BuddyPress-Profile-Type-Assigner/issues)GPL-2.0-or-laterPHPPHP &gt;=8.2CI passing

Since Apr 30Pushed 1mo 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 1mo ago

READMEChangelog (3)Dependencies (5)Versions (7)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 86% of packages

Maintenance61

Regular maintenance activity

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.9% 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

378d 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 (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 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

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[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.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

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