George J
Forum Replies Created
-
Forum: Plugins
In reply to: [Metorik - Reports & Email Automation for WooCommerce] PHP Notice in v1.6.0No worries! Keep up the good work!
@ellizclothing It mostly happens because of the cache plugins, and I suppose you’re using one.
https://www.ads-software.com/support/topic/plugin-works-for-a-short-period-of-time-then-deactivates/
- This reply was modified 2 years, 10 months ago by George J.
Thanks for the review.
Hello @frankprendergast,
I believe their cache system is not working correctly (it happens sometimes). Have you tried to disable it?
—
GeorgeHello @astraobscura,
so maintenance.php is the file that displays when maintenance mode is active?
Yes.
I can just write my own custom PHP then that displays whatever.
Yes.
Now will that reset if I turn maint. mode off and back on in the future or will it store whatever I uploaded?
If you edit the template (maintenance.php) from the plugin directory, WordPress will overwrite it just on plugin update.
If you override the template (the way described here), your custom template will remain the same no matter what. The plugin will always load it when you activate the maintenance mode.
Hope this helps.
—
GeorgeHello @astraobscura,
The Text is sanitized (using the ‘wp_kses_post` built-in function), and it does not accept every HTML tag you introduce.
Usually, I would recommend the [video] shortcode, but it doesn’t have options for all attributes you want (like muted or playsinline).
So, another idea would be to override the maintenance mode template and customize it however you need.
https://github.com/andrianvaleanu/WP-Maintenance-Mode/blob/master/views/maintenance.php
Also, there is a Custom CSS setting if you want to add custom CSS.
—
George- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J. Reason: bad formatting
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
- This reply was modified 2 years, 10 months ago by George J.
@strasseclothing You don’t have to exclude the static files (images, fonts, txts, etc.) because they’re accessible even if the maintenance mode is enabled.
Thanks for the review.
Hello @862global,
I suppose you’re talking about the bot feature. There’s no setting for the time format, but you can edit the plugin if you know what you’re doing.
In this particular case, you would have to change the output of the
getCurrentTime
function from/wp-maintenance-mode/assets/js/bot.min.js
(if SCRIPT_DEBUG is disabled) or/wp-maintenance-mode/assets/js/bot.js
(if SCRIPT_DEBUG is enabled).The SCRIPT_DEBUG constant is (usually) disabled by default.
PS: we don’t offer support for customizations.
—
GeorgeHello @862global,
There is no way to store the visitor’s name, but the feature is on our to-do list. No ETA, though.
—
GeorgeHello @egoshman,
You can’t recover the old list because the plugin removes everything (settings, subscribers, etc.) when you uninstall it.
If you want to use it in the future, just keep it deactivated.
—
GeorgeHello @mike80222,
If you authenticate as an administrator (by using the
wp-login.php
URL), you can see the website while the maintenance mode is active.Or do you want to see the website as a non-authenticated user (a simple visitor)? If that’s the case, you can add your IP address to the
Exclude
setting.—
GeorgeYou’re welcome. I’m glad everything is working fine now.
Hello @itsroryg,
1. Do you use a cache plugin?
2. Where do you host the website?Also, please tell us the URL of your website.
Thanks.
—
George