Secure Invites is a WordPress plugin that allows you to only allow invited people to sign up.
This plugin stops access to your signup page, except where the visitor has been invited and clicked the link in their invitation email. Your users invite people, and you can see who has sent the most invitations, and how many resulting signups have occurred. Other features:
This plugin is based on the invitation plugin by kt (Gord) from http://www.ikazoku.com.
There are a few extra features introduced in version 0.9:
Each time somebody (Person A) invites a friend (Person B), and Person B signs up, Person A is awarded 5 points. If Person B invites someone (Person C) and they sign up, Person A is awarded 2 points. And if Person C invites someone (Person D) and they sign up, Person A is awarded 1 point (and, of course, Person B is awarded 2 points). Using this pyramid-like system you can see who is inviting not just the most people, but the best kind of people.
The introducer points are stored in the users meta table with the key
secure_invite_points. You can retrieve a persons points using this function:
get_usermeta( [user ID], "secure_invite_points" ) substituting [user ID] for their actual user ID.
As an administrator you can now select multiple invitations and delete them. This is much better than the one-at-a-time deletion method in previous versions.
There are three shortcodes available:
1) By using the [inviteform] shortcode you can place an invitation form on any post or page.
2) Using [bestinviters] will show a list of the top 6 inviters by points, with the points they have currently got.
3) Using [myinviter] will show the diplay name for the person who invited the current user. Using [myinviter id="123"] will show the display name for the person who invited the user with ID 123.
If your BuddyPress theme is the default theme (for BuddyPress version 1.2 or above), or a child of the default theme, or uses the same template hooks as the default theme, you can put the invitation form in the following places by just ticking the right box in your settings screen:
The invitation form is hidden by default, and is shown by clicking an "Invite a friend" button which makes the form slide into view.
If you want to quickly set up invitations without messing with lots of settings, there are now four presets you can use:
Or you can use your own custom settings just as before.
Sometimes you want particular users to be able to invite more friends than the default, or perhaps you want to stop a particular user from inviting anybody at all. Now you can, by searching for the user and changing their own individual settings. You san set whether they are allowed to send invitations at all, and of so how many (either a limited number or unlimited).