WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Secure Invites

Secure Invites is a WordPress plugin that allows you to only allow invited people to sign up.

For standard WordPress: just install the plugin as normal from the plugin repository.

For WordPress MU and WordPress MultiSite: there are two options. Either place the plugin in your /wp-content/mu-plugins/ directory (not /wp-content/plugins/), this method requires no activation. Or install the plugin as normal from the plugin repository and enable it for all sites in your network.

To enable the template form in your template page you should call the secure_invite_form() function like this:

<php? secure_invite_form(); ?>

There are three optional parameters in this function, they are:

  1. The CSS class to be applied to the form
  2. The message to be shown when the invitation has been successfully sent (by default this is '<p class="success">Thanks, your invitation has been sent</p>')
  3. The message to be shown when the invitation could not be sent (by default this is '<p class="error">Sorry, your invitation could not be sent</p>')

So to set the CSS class of the form to 'inviteform', and the success message to 'Yay!' and the error message to 'Oops!' you would use this:

<php? secure_invite_form( 'inviteform', 'Yay!', 'Oops!' ); ?>

In addition, you can now automatically show the invitation form in your BuddyPress theme (if it is a child of the 1.2 or greater default theme, or it has all the same template hooks). Just tick the right boxes in the admin settings screen for where you want the invitation form to appear in your theme.

Requires: 2.7 or higher
Compatible up to: 3.5.2
Last Updated: 2013-5-29
Downloads: 21,058

Ratings

3 stars
3.9 out of 5 stars

Support

1 of 5 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

0,1,0
100,1,1 0,1,0 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
0,1,0
33,3,1 0,1,0
100,1,1
100,1,1
0,1,0 0,1,0 0,1,0
100,3,3
0,1,0
100,1,1 100,3,3 25,8,2
50,2,1
100,1,1
67,3,2
50,2,1
100,1,1
0,1,0