1. Home
  2. Getting Started
  3. Network Activation

Network Activation


Introduction
Preparation
Network Activation Modes
Network Activation for Main Site (Default Mode)
Network Activation for Specific Site
Network Activation for All Sites
FAQ – Frequently Asked Questions

Introduction

UsersWP offers three modes of operation when the plugin has been Network Activated, each with different features. This guide explains how to setup each mode, along with a summary of the features for each mode. If you are looking for instructions for Single Site Activation please see the Basic Installation doc.

Preparation

For this guide, we assume you have completed the following:

  1. Installed WordPress
  2. Created the Network
  3. Installed UsersWP plugin on the Network

options

UsersWP has 3 modes for Network Activation. Each mode changes how the UsersWP Pages are setup. The modes are:

  1. Network Activation for Main Site – UsersWP Pages on Main site only (Default Network Activation Mode)
  2. Network Activation for Specific Site – UsersWP Pages on a Specific Multisite only
  3. Network Activation for All Sites – UsersWP Pages on All Multisites

Network Activation for Main Site

This is the default mode when the plugin is Network Activated. No additional configuration is needed.

Mode Name: Network Activation for Main Site
Mode Behavior:

  1. UsersWP Pages – Pages will be created on the Main site (only).
  2. Redirection – Site visitors will be redirected to UsersWP pages on the Main site
  3. Settings Management – UsersWP Admin options available from Main Site Dashboard (WP Backend)
  4. Multisite Settings Access – UsersWP Admin Hidden from Dashboard on Additional Multisites

How to:

  1. Visit My Sites – Network Admin – Plugins
  2. Click Network Activate

Network Activation for Specific Site

In some cases, it may be necessary to direct users towards a specific site in the Network, as opposed to the Main site. This installation is similar to the Network Activation for Main Site, but does require 1)The ID Number of the Specific Site and 2) Edit of the wp-config file.

Mode Name: Network Activation for Specific Site
Mode Behavior:

  1. UsersWP Pages – Pages will be created on the Specific site (only).
  2. Redirection – Site visitors will be redirected to UsersWP pages on the Specific site
  3. Settings Management – UsersWP Admin options available from Specific Site Dashboard (WP Backend)
  4. Multisite Settings Access – UsersWP Admin Hidden from Dashboard on Additional Multisites (including Main site)

How to:

  1. Visit My Sites – Network Admin – My Sites
  2. Find the ID of the specific site
  3. Edit your wp-config.php file to add the following line. IMPORTANT: Adjust the ’10’ to the ID of the Specific Site:
    • define('UWP_ROOT_PAGES', '10');
    • before
    • * That's all, stop editing! Happy blogging. */
  4. Visit My Sites – Network Admin – Plugins
  5. Click Network Activate

Network Activation for All Sites

In some cases, you may want each Multisite to have independant settings for UsersWP. This installation also requires editing of the wp-config file.

Mode Name: Network Activation for All Sites
Mode Behavior:

  1. UsersWP Pages – Pages will be created on each Multisite.
  2. Redirection – Site visitors will be redirected as per settings of each separate Multisite
  3. Settings Management – UsersWP Admin options available for each site

How to:

  1. Edit your wp-config.php file to add the following line:
    • define('UWP_ROOT_PAGES', 'all');
    • before
    • * That's all, stop editing! Happy blogging. */
  2. Visit My Sites – Network Admin – Plugins
  3. Click Network Activate

FAQ – Frequently Asked Questions

Q: Does this plugin require Network Activated?
A: No, this plugin can be either Network Activated or Activated independently on each Multisite.

Q: Why can’t I create a site from the Account form?
A: In order to make the plugin flexible, new Multisites may only be created during registration.

Q: Are individual tables created?
A: In Main and Specific site activation, one set of tables are used. In All Sites and Single site activation, tables are created for each site. The Single and All are exactly the same, effectively.

Was this helpful to you? Yes 4 No 2