The version here is actually 1.1 right now, and it has a new addition:

6

7

* Per Site Registration

8

9

What? You thought it did that? It did, but now if you have network registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

10

11

Please test and let me know how it works!

12

13

## README ##

14

**Contributors:** Ipstenu

15

**Tags:** multisite, wpmu, registration, users

16

**Requires at least:** 3.4

17

**Tested up to:** 3.5

18

**Stable tag:** 1.0

19

**Donate link:** https://www.wepay.com/donations/halfelf-wp

20

21

Allow site admins to automatically add existing users to their site, or let users decide at the click a button.

22

23

## Description ##

24

25

When you want to add a user to every site on your network, you've got some pretty cool plugins for that as a network admin. But sometimes you want to let your site-managers have that control, and sometimes you want to make it optional.

26

27

By activating this plugin, you give your Site Admins the following options:

28

29

* Auto-add users

30

* Have a 'Join This Site' button in a widget

31

* Keep things exactly as they are

32

33

It's really that simple!

34

35

If they decide to auto-add, then any time a logged in user visits a site, they will be magically added to that site. If they decide to use a 'Join This Site' button, then they can customize the button message text for users who are logged in but not members, not logged in, or already members. Don't worry, if you have registation turned off, they won't see the 'register' button.

36

37

In addition, if you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

38

39

* [Plugin Site](http://halfelf.org/plugins/join-my-multisite/)

40

* [Donate](https://www.wepay.com/donations/halfelf-wp)

41

42

##Changelog##

43

44

### 1.1 ###

45

12 October, 2012 by Ipstenu

46

47

* Added in a per-site registration page option.

48

* Corrected bug where non-network admins couldn't make changes

49

50

### 1.0 ###

51

07 October, 2012 by Ipstenu

52

53

* First completed version.

54

55

## Installation ##

56

57

This plugin is only network activatable. Configuration is done per-site via a page in the 'Users' section.

58

59

## Upgrade Notice ##

60

61

None yet.

62

63

## Frequently Asked Questions ##

64

65

### What happens if the network doesn't allow registrations? ###

66

67

If registration is turned off, the widget won't display anything for logged-out users.

68

69

The <code>[join-my-multisite]</code> shortcode will display a notice that registration is unavailable.

70

71

### How do I style the button? ###

72

73

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to just play with the button.

74

75

### How do I style the per-site registration page? ###

76

77

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` so you can override it in your theme.

78

79

### Can users sign up for a blog as well as an account? ###

80

81

No.

82

83

That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.

'<p>' . __( 'Check the box to turn allow for per-site registration. This will only be an option if your network has enabled registration. You then select a page from the drop-down list of pages, and on the page use the following shortcode to display your registration form.', 'helfjmm' ) . '</p>' .

<td><p class="description"><?php _e('Check this box if you want to use a shortcode to customize per-site registration. If unchecked, registrations will be sent to the network registration page.', 'helfjmm'); ?></p></td>

If they decide to auto-add, then any time a logged in user visits a site, they will be magically added to that site. If they decide to use a 'Join This Site' button, then they can customize the button message text for users who are logged in but not members, not logged in, or already members. Don't worry, if you have registation turned off, they won't see the 'register' button.

24

25

25

In addition, if you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

26

When you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

The <code>[join-my-multisite]</code> shortcode will display a notice that registration is unavailable.

63

65

66

= How do I use the per-site registration page? =

67

68

<em>None of this will work if the Network Admin has not enabled registrations.</em>

69

70

First make a page for your registration. You can name it anything you want, however you can only use top-level pages (so domain.com/pagename/ and not domain.com/parentpage/childpage/). On that page, enter the shortcode <code>[join-my-multisite]</code> around any other content you want.

71

72

Next, go to Users > Join My Multisite and check the box to allow for Per Site Registration. Once that option is saved, a new dropdown will appear that will let you select a top-level page on your site. Select which page, and you are good to go.

73

74

= If I use the per-site registration, do I have to use the widget? =

75

76

Nope! In fact, you can even select 'none' (i.e. leave things as they are) and <em>still</em> use the per-site shortcode, because magic.

77

78

= What if the network allows registration and I don't make a site page? =

79

80

Then non-logged-in users will be redirected to the network registration page, and they may not be automatically added to your site (I'm working on that). I strongly suggest you create a page.

81

64

82

= How do I style the button? =

65

83

66

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to just play with the button.

84

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to play with the button.

67

85

68

86

= How do I style the per-site registration page? =

69

87

70

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` so you can override it in your theme.

88

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` of you want to override it in your theme.

71

89

72

= Can users sign up for a blog as well as an account? =

90

= Can users sign up for a blog and an account when using the shortcode? =

73

91

74

No.

75

76

That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.

92

No. That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.

The version here is actually 1.1 right now, and it has a new addition:

6

7

* Per Site Registration

8

9

What? You thought it did that? It did, but now if you have network registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

10

11

Please test and let me know how it works!

12

13

## README ##

14

**Contributors:** Ipstenu

15

**Tags:** multisite, wpmu, registration, users

16

**Requires at least:** 3.4

17

**Tested up to:** 3.5

18

**Stable tag:** 1.0

19

**Donate link:** https://www.wepay.com/donations/halfelf-wp

20

21

Allow site admins to automatically add existing users to their site, or let users decide at the click a button.

22

23

## Description ##

24

25

When you want to add a user to every site on your network, you've got some pretty cool plugins for that as a network admin. But sometimes you want to let your site-managers have that control, and sometimes you want to make it optional.

26

27

By activating this plugin, you give your Site Admins the following options:

28

29

* Auto-add users

30

* Have a 'Join This Site' button in a widget

31

* Keep things exactly as they are

32

33

It's really that simple!

34

35

If they decide to auto-add, then any time a logged in user visits a site, they will be magically added to that site. If they decide to use a 'Join This Site' button, then they can customize the button message text for users who are logged in but not members, not logged in, or already members. Don't worry, if you have registation turned off, they won't see the 'register' button.

36

37

In addition, if you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

38

39

* [Plugin Site](http://halfelf.org/plugins/join-my-multisite/)

40

* [Donate](https://www.wepay.com/donations/halfelf-wp)

41

42

##Changelog##

43

44

### 1.1 ###

45

12 October, 2012 by Ipstenu

46

47

* Added in a per-site registration page option.

48

* Corrected bug where non-network admins couldn't make changes

49

50

### 1.0 ###

51

07 October, 2012 by Ipstenu

52

53

* First completed version.

54

55

## Installation ##

56

57

This plugin is only network activatable. Configuration is done per-site via a page in the 'Users' section.

58

59

## Upgrade Notice ##

60

61

None yet.

62

63

## Frequently Asked Questions ##

64

65

### What happens if the network doesn't allow registrations? ###

66

67

If registration is turned off, the widget won't display anything for logged-out users.

68

69

The <code>[join-my-multisite]</code> shortcode will display a notice that registration is unavailable.

70

71

### How do I style the button? ###

72

73

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to just play with the button.

74

75

### How do I style the per-site registration page? ###

76

77

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` so you can override it in your theme.

78

79

### Can users sign up for a blog as well as an account? ###

80

81

No.

82

83

That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.

'<p>' . __( 'Check the box to turn allow for per-site registration. This will only be an option if your network has enabled registration. You then select a page from the drop-down list of pages, and on the page use the following shortcode to display your registration form.', 'helfjmm' ) . '</p>' .

<td><p class="description"><?php _e('Check this box if you want to use a shortcode to customize per-site registration. If unchecked, registrations will be sent to the network registration page.', 'helfjmm'); ?></p></td>

If they decide to auto-add, then any time a logged in user visits a site, they will be magically added to that site. If they decide to use a 'Join This Site' button, then they can customize the button message text for users who are logged in but not members, not logged in, or already members. Don't worry, if you have registation turned off, they won't see the 'register' button.

24

25

25

In addition, if you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

26

When you have registration turned on, each site can chose to use 'Per Site Registration,' which will allow them to create a page on their site just for registrations and signups. To display the signup code, just put <code>[join-my-multisite]</code> on the page.

The <code>[join-my-multisite]</code> shortcode will display a notice that registration is unavailable.

63

65

66

= How do I use the per-site registration page? =

67

68

<em>None of this will work if the Network Admin has not enabled registrations.</em>

69

70

First make a page for your registration. You can name it anything you want, however you can only use top-level pages (so domain.com/pagename/ and not domain.com/parentpage/childpage/). On that page, enter the shortcode <code>[join-my-multisite]</code> around any other content you want.

71

72

Next, go to Users > Join My Multisite and check the box to allow for Per Site Registration. Once that option is saved, a new dropdown will appear that will let you select a top-level page on your site. Select which page, and you are good to go.

73

74

= If I use the per-site registration, do I have to use the widget? =

75

76

Nope! In fact, you can even select 'none' (i.e. leave things as they are) and <em>still</em> use the per-site shortcode, because magic.

77

78

= What if the network allows registration and I don't make a site page? =

79

80

Then non-logged-in users will be redirected to the network registration page, and they may not be automatically added to your site (I'm working on that). I strongly suggest you create a page.

81

64

82

= How do I style the button? =

65

83

66

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to just play with the button.

84

By default it will pick up whatever style your theme has, so if it styles buttons, you'll automatically match. If you want more, the css is `input#join-site.button` to play with the button.

67

85

68

86

= How do I style the per-site registration page? =

69

87

70

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` so you can override it in your theme.

88

In your theme's CSS. This is basically the default WordPress signup page, just done in short-code form, so it will default to use your site's CSS anyway. The css falls under `.mu_register` of you want to override it in your theme.

71

89

72

= Can users sign up for a blog as well as an account? =

90

= Can users sign up for a blog and an account when using the shortcode? =

73

91

74

No.

75

76

That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.

92

No. That's such a massive network thing, the tinfoil hat in me didn't want to do it. You could fiddle with the signup page code, if you wanted, but I don't plan to support it.