Code Monkey home page Code Monkey logo

wp-maintenance-mode's Issues

Workaround For Nginx Servers

Nginx sees the 503 error and just stops. I've played with it on the nginx side and can't figure out.

Anybody else think this would be a nice addition?

Thank you for the plugin. It works great on apache and even does what it's supposed to on nginx 'til the time comes to display the "Maintenance page" and just throws nginx error page.

Thanks again.

wp maintenance mode is taking over my site!!! URGENT

Hi, I am very confused with this plugin.

the maintenance mode won't go away, I get to visit the wp-login.php page but nothing happens when I insert username & pass, it redirects me to the maintenance mode.

I have cleaned up the site and set up a subdomain showing in the same directory as my main domain name. The subdirectory works just fine but the main domain keeps showing the maintenance page.

I can't find the files anywhere. There is no wp maintenance folder on my server!!!!

Please help me, its seems to have taken over the domain name, how is that possible.

Here's the main domain: www.ukmed.gr
Here's the subdomain: ukmed2.ukmed.gr

Thank you for your help,
Zeta

Login Frontend for IPs

Would it be easy to amend this plug-in with a new setting to always allow access whether logged in or not, based on user's IP address? Then I can carry out site testing without having to enable/disable the plug-in all the time.

That would be great.

Thanks

Invite per URL

per Cookie auf die Site zulassen, Anfrage per Link im Frontend

Plugin simply isn't working

This plugin used to work, but now it isn't. I uninstalled and reinstalled, and then dropped a wp-maintenance-mode.php file into my wp-content folder, and it simply isn't finding it. Is there anything specifically I should check to make this work?

Responsive Images?

I have an image that I want to be responsive, and no larger than 600px. When I use style="width:100%;max-width:600px;" the max-width setting keeps getting removed. Even if I set up a container div with just style="max-width:600px;" the style setting is removed. Was able to do this in the previous iteration of wp-maintenance-mode. LOVE this plugin, btw.

Settings Page

This could be avoided if the plugin had a separate page for "Settings".

Paint theme

The entire area of text needs to move up about an 2 cm.
Could be a padding or margin issue as well.
I am using Firefox.
Thank you for your time! Great plugin, looks great!
I have to be careful because on a recent update I activated the screen by accident when it was not suppose to be on.

http://wordpress.org/support/topic/configuring-paint-theme

Please Add Support For cleantalk.org

Hi,

Would be great if the contact form could please support cleantalk.org.

That or easy way to add contact form 7 form to the maintenance page which already supports cleantalk.org.

Thanks,

Will

WP Maintenance Mode no longer appear on wordpress.org???

Hi Frank,
Today I was going to install your plugin on my site and it didn't appear on my dashboard plugin search, then I searched on wordpress.org and it didn't appeared their as well, then I browsed your profile and strangely your profile is not showing it as your listed plugin as well :( ? Then I found a direct link to your plugin and haaaaaaaaa invalid link :(.

Are you aware of this?? If yes why is this happening???

move assets to orphan branch called 'assets'

I hate the assets to be tracked in the dev, master and all other working branches.
A clean orphan branch for the screenshots and possibly other upcoming files for the wp.org repo would move the binary files "out of the way".

What do you think? I don't want to move everything upside down without asking you.

Settings don't keep my German "Umlauts"

Hi Frank,

I use your plugin within WP multisite and it is currently active in an English site and in a German site. So far, so good, works fine.

Only one thing is nerved:
At the German site, I have put my German text into the plugin's settings with the German "umlauts" (ä, ö, ü) - so far, so good, they are correctly displayed at the frontend.

But: every time I go back in the backend to the plugin's settings page, these settings don't remember my "umlauts". Everywhere, where I put
ä etc., there are again ä and I must enter the correct code again ä, so that it is displayed right at the site.

Guess, this is a bug or how can I "tell" the plugin, to remember my umlaut settings, when I return to the settings' page?

@see: http://wordpress.org/support/topic/plugin-wp-maintenance-mode-settings-dont-keep-my-german-umlauts?replies=2#post-3012908

SSL Support

After installing ur plugin, I was unable to login to my sites Admin. And my CPanel also not allowing me to login to my account. And a link to the authors site returning an error 401 when i verified with tools.pingdom.com/fpt.
This miss-function is due to "WordPress HTTPS (SSL)" plugin installation in my site. Now I removed all these and re-installed "WP Maintenance" plugin, now its working except timer on the interface.

Allow Index optional

Add option to set index on splash Page optional to follow and index via search engines.

Ambiguous Instructions

The readme says you can add your own html markup, and stylesheet, but it doesn't say how. The stylesheet part is easy to figure out, as is modifying the hooks, but this:

You can add your own html and stylesheet and add the url of this style to the options of the plugin. Write your style to this markup and upload to the webspace; after add the url include http:// to the settings of this plugin and change th theme to "Own Theme":

Is ambiguous, and leads to more questions:

  • Given some markup, where do you upload to? The theme directory? Uploads? A subdir of the plugin?
  • "after add the url include http:// to the settings of this plugin" doesn't specify which setting, the user has to figure this bit out and it is not clear.
  • There is the 'Own Style' option, but no Own Theme, I don't know if this is a mistake or it's been renamed, or if they're two separate options

W3C Cache

Updaten, the admin page use the Get-param: w3tc_flush_all

flush_pgcache()  //page cache
flush_dbcache()  // database cache
flush_minify()  // minify cache
flush_all() //all caches

and you just need to call it like this:

 $w3_plugin_totalcache->flush_all();

Check login redirect

function only_admins_login_area( $redirect_to, $request, $user ) {
    global $user;

    if ( isset( $user->roles ) && is_array( $user->roles ) ) {
        //check for admins
        if ( in_array( 'administrator', $user->roles ) ) {
            // Redirect to default admin area
            return $redirect_to;
        }
    }

    return home_url();
}

add_filter( 'login_redirect', 'only_admins_login_area', 10, 3 );

wp_login_link() instead of site_url()

However, I also often use a plugin called Better WP Security with the option to rewrite the /wp-admin/ and /wp-login.php links to /admin/ and /login/.
But when I do this the button in your HTML template, Admin-Login, does not work.

Would it be possible to use the function wp_login_link() instead of site_url() in your code? I use this in my themes and it works just fine!

Add a direct link to admin dashboard in Maintenance view

First I don't know if it's the right place to ask an enhancement, so my apologize if it's not.

Is it possible to add the possibility (in options menu) to have a direct link to admin dashboard page when you are in Maintenance view (/views/maintenance.php) ?

It was one of the features of the former plugin.

Thanks you for you job.

Searchengines?

What exactly happens when a searchengine spider comes along while the page is in maintainence mode? I suspect that you're using 301 which will have impact on SEO.
Is there a chance that you'll implement the 503 with 'retry-later' which should be the best method to deal with search engines IMHO:

header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 3600');// 1hr

This is what 'ultimate maintainance mode' does ... but this pluggy doesen't look as good as this one.

InfiniteWP cannot connect to website if Maintenance Mode is active [solution]

Hi, i have found a way to let MAintenance Mode compatible with InfiniteWP:

Add this method in MaintenanceMode Class:

function iwp_compatibility(){

    if(!isset($HTTP_RAW_POST_DATA))
        $HTTP_RAW_POST_DATA = file_get_contents('php://input');

    if(base64_encode(base64_decode( $HTTP_RAW_POST_DATA, true) ) === $HTTP_RAW_POST_DATA){

        $data = base64_decode($HTTP_RAW_POST_DATA);

        if(is_serialized($data))                    
            return true;

    }

    return false;

}

Now, inside "ApplyMaintenanceMode" method goto point 6 (around line 126) and modify in this way:

if ( is_admin() || strstr(htmlspecialchars($_SERVER['REQUEST_URI']), '/wp-admin/') ) {

  if(iwp_compatibility())
        return;

    ...

} else {

  if(iwp_compatibility())
        return;

...

}

Send Retry-After Header With Dynamic Time In Seconds Data

Hi, I just added a bit of code to your plugin on my site and thought you might like to tweak it for coming updates.

I inserted this around line 836

                $rolestatus = 'norights';

/* ------------------------- Start TJ code ------------------------------------------- */       
    $td = WPMaintenanceMode::check_datetime();
    if ( isset($td[2]) && 0 !== $td[2] ) {
        $locale = substr($locale, 0, 2);
$tj_shutdown = gmdate('U', strtotime( $td[0][0] ));

$tj_remaining = $tj_shutdown - gmdate('U');

}
else {

$tj_remaining = "$backtime";

}

if ($tj_remaining <= 0) {
$tj_remaining = 3600;
}


/* ------------------------- END TJ code ------------------------------------------- */         

                // helpful for header problems
                // @see: http://www.arclab.com/products/webformbuilder/php-warning-cannot-modify-header-information-headers-already-sent.html 

                nocache_headers();
                ob_start();
header( "Content-type: text/html; charset=$charset" );
header( "$protocol $status_code Service Unavailable", TRUE, $status_code );
header( "Retry-After: $tj_remaining" );

I know it's crude and primitive, but the idea is that when you use the countdown, then this calculates the seconds and it is put into the header "Retry-After" for search engines to see and respond to instead of the static backtime.

If the backtime and countdown are zero then goes to 1 hour for the Retry-After header.

Hope it might be useful.

Love your plugin.

-TJ

Website in maintenance mode can still be accessed by adding ?feed at the end of URL

Since I saw it with a website that's not mine, I cannot give much informations about installed stuff.
From profile page, it seems to be running WP 3.8.4.
From website.tld/wp-content/plugins/WP-Maintenance-Mode/readme.txt: "Stable tag: 1.8.11"

I did managed to access, login and post a comment.
adding ?feed to any page gives access to it as if it was not in maintenance mode.
To post a comment, i used firebug (but I believe firefox dev tools can do the trick too) to change form post from /wp-comments-post.php to /wp-comments-post.php?feed

German Language files

Hi.
It is possible to get back the write access to the repo, then I will push the german language files for the rewritten current version?
Best regards.

[Cosmetic] Handle div class=response by default in style.css

I edited the style.css file to match with my own style. The .response class coming from scripts.js#L67 :
`$('.contact .form').append('

' + data.response + '
');``

Should be handelt in style.css:

diff --git a/assets/css/style.css b/assets/css/style.css
index 2f50405..83f7cae 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -315,6 +315,10 @@ body {
 .contact .form .col.last {
     float: right;
 }
+.contact .form .response {
+    color: #fff;
+    font-size: 15px;
+}
 .contact .form .submit {
     margin: 30px 0 0;
     text-align: center;

Deactivates on update?

Pretty sure the plugin is deacitvating when it gets updated, or at least reasonably sure it happened today with the 1.8.11 to 2.0.2 update.

WP Maintenance Mode switching off by itself

The plugin switches off by itself, we are running the latest updated version. I would appreciate it if you would look into this as soon as possible. We have used this plugin and really enjoyed its functionality. However this is very frustrating and we do not want our website public due to being under construction.
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.