Plugin info

Total downloads: 1,856
Active installs: 10
Total reviews: 4
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/6/2013 (4622 days ago)
Added to WordPress: 5/6/2013 (12 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 3.5.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4622 days ago • 4 reviews

22/100

Is Shared User Table Roles abandoned?

Possibly abandoned (last update 4622 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 3.5.2
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Debugging
Rating 5.0/5 (19 reviews)Active installs 10,000
Debug Log – Manager Tool
Rating 4.8/5 (19 reviews)Active installs 3,000
Easy PHP Settings
Rating 5.0/5 (2 reviews)Active installs 300
Developer Debug Tools
Rating 5.0/5 (4 reviews)Active installs 100
Update Unique Keys
Rating 0.0/5 (0 reviews)Active installs 90
Issues Tracker
Rating 5.0/5 (3 reviews)Active installs 50

Description

When sharing the user and usermeta table between multiple wordpress
installations using the same database, any role given to the user is only valid
for a single wordpress installation.

This plugin ensures user roles, user capabilities and user settings are
shared between the multiple installations. This is configured using a wp-config
constant.

Any role set in any of the installations will be reflected in all other
installations.

Caveats:

  • Compatability with wordpress multisite is unknown

Installation

To set up multiple wordpress installations using the same database:

  1. Install all wordpress installations using the same database, but using a
    different $table_prefix in wp_config.

    For example two installations with “eng_” and “nld_”.

  2. Designate one wordpress installation as “primary”. All other installations are
    secondary

    For example the installation with the prefix “eng_”.

  3. Install and activate this plugin on all secondary wordpress installations.

    In this example “nld_”.

  4. On all secondary wordpress installations configure CUSTOM_USER_TABLE and
    CUSTOM_USER_META_TABLE in wp-config to use the tables (users and usermeta)
    of the primary installation.

    See below for an example

  5. On all secondary wordpress installations, set SHARED_USER_TABLE_ROLES_PREFIX
    to be equal to the table prefix of the primary installation.

Primary

For example the relevant wp-config settings for the primary installation would
look like:

    $table_prefix  = 'eng_';

Secondary

For example the relevant wp-config settings for secondary installations would
look like:

    $table_prefix  = 'nld_';
    define('SHARED_USER_TABLE_ROLES_PREFIX', 'eng_');
    define('CUSTOM_USER_TABLE', 'eng_users');
    define('CUSTOM_USER_META_TABLE', 'eng_usermeta');

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0

  • initial release