Title: Staging Users Control
Author: Yassineh
Published: <strong>July 2, 2014</strong>
Last modified: July 9, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/staging-users-control.svg)

# Staging Users Control

 By [Yassineh](https://profiles.wordpress.org/yassineh/)

[Download](https://downloads.wordpress.org/plugin/staging-users-control.zip)

 * [Details](https://sa.wordpress.org/plugins/staging-users-control/#description)
 * [Reviews](https://sa.wordpress.org/plugins/staging-users-control/#reviews)
 *  [Installation](https://sa.wordpress.org/plugins/staging-users-control/#installation)
 * [Development](https://sa.wordpress.org/plugins/staging-users-control/#developers)

 [Support](https://wordpress.org/support/plugin/staging-users-control/)

## Description

Since we’ve been using WPEngine we found no way to limit access to the LIVE website.
We had problems with users mistakenly editing the live website and messing up the
HTML. This plugin basically adds a checkbox to the users (allow login on LIVE) and
compare the get_bloginfo(‘url’) to the one setup on the plugin’s setting page. If
it matches, it means it’s live environment and will prevent users who are not specifically
authorized to login into the live environment. You can bypass this check (in case
you log yourself out of live) by setting up a simple cookie. This is not a security
plugin, this is just to avoid stupid mistakes. The URL meta value is base64 encoded
before storage to avoid the Search and Replace generally done by the “One Click”
live push.

### Arbitrary section

Please let me know if you have any suggestions or questions.

## Screenshots

 * [[
 * This is the plugin settings page, under Settings > Staging Users Control.
 * [[
 * This is the users profile page, showing the new checkbox to allow users to login
   into the LIVE env.
 * [[
 * You can show a message on the live site for users to notice they are logging 
   on the LIVE site.

## Installation

 1. Upload `staging-users-control.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. IMPORTANT: First edit the users you want to allow on the LIVE environment.
 4. Setup the live environment URL under Settings > Staging Users Control
 5. Enjoy.

## FAQ

  I logged myself out of the website because I didn’t allow any user to login to
the live site

Just setup a COOKIE with the name “SUC-LOGMELIVE” and the specified value in the
settings page if you want to bypass the plugin.
 You can retrieve this value under
Settings > Staging Users Control on your staging website.

  I did setup everything correctly but the plugin does not seem to be recognizing
the live site.

Sometimes character encoding can mess things up.
 In the case of WP Engine, every
time you push your site live, it replaces the value in get_bloginfo(‘url’). To work
around this problem, you can use URL comparison by checking “Compare URL” in the
plugin’s settings page. Make sure to match the protocol (http/https).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Staging Users Control” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Staging Users Control” into your language.](https://translate.wordpress.org/projects/wp-plugins/staging-users-control)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/staging-users-control/),
check out the [SVN repository](https://plugins.svn.wordpress.org/staging-users-control/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/staging-users-control/)
by [RSS](https://plugins.trac.wordpress.org/log/staging-users-control/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial Release

## Meta

 *  Version **1.0**
 *  Last updated **12 वर्षाः ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.5.1 or higher **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/staging-users-control/)
 * Tags
 * [live](https://sa.wordpress.org/plugins/tags/live/)[staging](https://sa.wordpress.org/plugins/tags/staging/)
   [user-control](https://sa.wordpress.org/plugins/tags/user-control/)[wpengine](https://sa.wordpress.org/plugins/tags/wpengine/)
 *  [Advanced View](https://sa.wordpress.org/plugins/staging-users-control/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/staging-users-control/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/staging-users-control/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/staging-users-control/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/staging-users-control/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/staging-users-control/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/staging-users-control/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/staging-users-control/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/staging-users-control/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://None.)