Title: Shared User Table Roles
Author: wp_joris
Published: <strong>مئی 6, 2013</strong>
Last modified: مئی 6, 2013

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

![](https://s.w.org/plugins/geopattern-icon/shared-user-table-roles.svg)

# Shared User Table Roles

 منجانب [wp_joris](https://profiles.wordpress.org/wp_joris/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/shared-user-table-roles.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/shared-user-table-roles/#description)
 * [جائزے](https://ur.wordpress.org/plugins/shared-user-table-roles/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/shared-user-table-roles/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/shared-user-table-roles/#developers)

 [معاونت](https://wordpress.org/support/plugin/shared-user-table-roles/)

## تفصیل

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

## انسٹالیشن

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.
 2.  For example two installations with "eng_” and "nld_”.
 3.  Designate one wordpress installation as "primary”. All other installations are
     
     secondary
 4.  For example the installation with the prefix "eng_”.
 5.  Install and activate this plugin on all secondary wordpress installations.
 6.  In this example "nld_”.
 7.  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.
 8.  See below for an example
 9.  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');
    ```

## جائزے

![](https://secure.gravatar.com/avatar/a64d6676c4f0639efc8643c74b6eb8f28167c32bd6afe69090d960cd99565185?
s=60&d=retro&r=g)

### 󠀁[Just perfect!](https://wordpress.org/support/topic/just-perfect-286/)󠁿

 [charlyfox](https://profiles.wordpress.org/charlyfox/) جنوری 9, 2018

Thanks for this great little plugin. Does exactly what it’s supposed to do. Works
well with wordpress 4.9.1 … Keep it up! 🙂

 [ تمام 4 جائزے پڑھیں ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/)

## شراکت دار اور ڈیویلپرز

“Shared User Table Roles” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان 
میں حصہ لیا:

شراکت دار

 *   [ wp_joris ](https://profiles.wordpress.org/wp_joris/)

[“Shared User Table Roles” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/shared-user-table-roles)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/shared-user-table-roles/)،
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/shared-user-table-roles/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/shared-user-table-roles/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/shared-user-table-roles/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 1.0

 * initial release

## میٹا

 *  Version **1.0**
 *  Last updated **13 سال پہلے**
 *  Active installations **10+**
 *  WordPress version ** 3.5 یا اس سے جدید **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/shared-user-table-roles/)
 * Tags
 * [roles](https://ur.wordpress.org/plugins/tags/roles/)[user](https://ur.wordpress.org/plugins/tags/user/)
   [users](https://ur.wordpress.org/plugins/tags/users/)[wp-config](https://ur.wordpress.org/plugins/tags/wp-config/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/shared-user-table-roles/advanced/)

## درجہ بندیاں

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shared-user-table-roles/reviews/)

## شراکت دار

 *   [ wp_joris ](https://profiles.wordpress.org/wp_joris/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/shared-user-table-roles/)