Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/rubengc/buddypress-invite-codes/archive/refs/heads/master.zipBuddyPress Invite Codes Add-on
Enhances sites running BuddyPress by joining users to one or more specified groups when they use a special Invite Code to join your site.
Description
This add-on plugin to BuddyPress automatically joins a user to one or more BuddyPress groups when they use a corresponding Invite Code upon joining your site.
Note: You will need BuddyPress v1.7 or higher installed to use this plugin.
-
Features:
-
Create and manage as many "Invite Codes" as desired
-
Select one or more BuddyPress Groups that users should automatically join when they register for your site
-
Set the maximum number of times any specific code can be used
-
Designate an expiration date after which your codes can no longer be used
-
Easily edit or delete any code at any time to disable further use
-
Set Invite Codes from the front-end of the site when creating new BuddyPress Groups.
-
Configuration option to require an invite code for site registration
-
Optionally select one or more default BuddyPress groups that members should automatically join when they register for your site
-
Multisite support
Installation
- First upload and activate the free BuddyPress plugin, if you have not done so already.
- Active the "User Groups" component of BuddyPress.
- Upload the 'BuddyPress-Invite-Codes' plugin via the 'Plugins' menu in WordPress (or upload to the '/wp-content/plugins/' directory).
- Activate the plugin through the 'Plugins' menu in WordPress.
- Visit the new "BP Invite Codes" menu to configure the plugin, and visit "All invite Codes" to add new codes or manage existing ones.
Frequently Asked Questions
Why is this plugin here and not on WordPress.org?
Hi! I'm Ruben Garcia, author and founder of GamiPress, some users has requested a similar add-on similar to the abandoned BadgeOS Invite Codes.
I just checked the code of this add-on and found that BadgeOS requirements are purely advertising and not a real requirement to make it work. This plugin doesn't makes any specific use of BadgeOS so the unique real requirement is BuddyPress now.
If you want to award your users by joining a group from an invite code, now you can use the GamiPress - BuddyPress integration or the BadgeOS community add-on.
Are you maintaining this plugin?
No, Our teams need to be focused in the development of GamiPress, this plugin is just focused on BuddyPress and we can't support plugins that aren't for GamiPress.
Can I release this plugin on WordPress.org?
Yes, If you want to adopt this plugin feel free to do it, but you will need to revise some internal functions to meet with the WordPress coding standards.
Screenshots
Changelog
1.0.0
- Intial release