powercliff
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] back to top button not showingEdit: sorry for posting this misleading feedback. Some UBO scripts hide the button. It’s not caused by Generatepress.
Same problem. The plugin uses JS and CSS files under plugins/popup-maker instead of uploads/pum. Related settings can’t be saved successfully.
After removing the code, I can successfully view the real-time ip location. Thank you!
I use:Cloudflare, fastCGI page cache and autoptimize.
I did the following: do not use fastCGI; deactivate all optimization plugins… the bug still exists.
Then I think this is probably related to USING NGINX. I tested my site on Apache this morning (and keep other settings almost the same), the geo location function worked normal.———–
By the way: After the most recent update, the plugin is letting analytics connect ‘doubleclick.net’.Forum: Plugins
In reply to: [OPcache Manager] It’s a pity to exclude php files in /wp-content/And, after the update today, the initial opcache memory consumption (before site warm-up) has greatly decreased (decreased 15% or so); the wasted memory (about 15%) began to appear after I completed “warm-up”. I the past versions, the init opcache memory consumption is always fixed (15% more than today’s) before site warm-up, and there’s always 0 MB wasted memory.
I am sure that I do restart php-fpm service before these steps.- This reply was modified 4 years, 8 months ago by powercliff.
- This reply was modified 4 years, 8 months ago by powercliff.
So I guess, generally, it can be described as below:
If an NGINX user installs Wordfence and does the default operations followed by Wordfence’s instructions, the .php direct access in wflogs may still breach the virtual host’s PATH, and even Wordfence’s scanning cannot detect and warn for it. The .php files in wflogs do not contain such code:if ( ! defined( 'ABSPATH' ) ) { exit; }Not all NGINX users block direct .php access in wp-content/* . Is it possible for Wordfence to warn the user about this harmful loophole and guide the user to add related NGINX config code snippets?
- This reply was modified 4 years, 8 months ago by powercliff.
- This reply was modified 4 years, 8 months ago by powercliff.
I’m using Analytics.js, and other settings are just normal and CAO’s default settings (e.g. Plugin Handling: safe mode;Compatibility Mode:None…etc)
Forum: Plugins
In reply to: [CodeMirror Blocks] Cannot show the last 1~2 lines in full screen viewSorry I wanted to reply to this thread again. If you don’t mind, could you tell me the css code that solves this problem in advance? That way I can use it in my wordpress code snippets first. Thanks a lot!
Forum: Plugins
In reply to: [CodeMirror Blocks] Cannot show the last 1~2 lines in full screen viewThanks for your help. I will re-check my config again.
- This reply was modified 4 years, 11 months ago by powercliff.
Forum: Plugins
In reply to: [CodeMirror Blocks] Cannot show the last 1~2 lines in full screen viewThe test link is in this image:
https://sm.ms/image/fnwipYJCtUa6GmFSorry that I have to share my link in this way, it is a pure IP address.
In fact, it’s not just using the wordpress default theme that causes this problem, using other themes can also cause this problem.
- This reply was modified 4 years, 11 months ago by powercliff.
- This reply was modified 4 years, 11 months ago by powercliff.
It worked. Thank you! π
- This reply was modified 4 years, 11 months ago by powercliff.
I created two blank wordpress sites(version 5.6 and 5.5.3). Both two sites are newly built without any other plugins, and the settings in ‘discussion’ are identical.
However, this plugin works different in two sites.- This reply was modified 5 years, 4 months ago by powercliff.
- This reply was modified 5 years, 4 months ago by powercliff.
update:
I will learn more about nginx config file rule. Thank you.Hi @salvatorefresta ,
I think it is related to a logical operators ‘&& ||’ bug,
I just edited the file ‘cache_controller.class.php’:
and all the sitemap files were cached as expected.- This reply was modified 5 years, 5 months ago by powercliff.
- This reply was modified 5 years, 5 months ago by powercliff.
Forum: Plugins
In reply to: [Easy Table of Contents] How to display TOC as a tab on left side of screenHi @tradeshark2,
I will try to describe the steps as clearly as I can:
There are three main steps:
1, https://ww.wp.xz.cn/plugins/amr-shortcode-any-widget/, to use the TOC widget by shortcode
2, embed the TOC widget in a popup window
3, create a floating button (the codes are shown below) to toggle the popup window using code snippet (https://ww.wp.xz.cn/plugins/code-snippets/)—————————-
imagesοΌ
https://firealpaca.com/get/elFxkuYE
https://firealpaca.com/get/sxD8bxCf
https://firealpaca.com/get/9y9XTa7kand a code snippet:
add_action( 'wp_head', function () { ?><style>.button-toc-popup{position:fixed;z-index:999;left:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;color:#0059A0;padding:5px;background-color:#87CEFA;border:solid #0059A0 1px;text-decoration:none;cursor:pointer}.button-toc-popup:hover,.button-toc-popup:active{background-color:#00BFFF}.button-toc-popup{top:30%;height:52px;width:52px}</style><?php } );add_action( 'wp_footer', function(){ echo '<img src="data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJsaXN0LXVsIiBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtbGlzdC11bCBmYS13LTE2IiByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTQ4IDQ4YTQ4IDQ4IDAgMSAwIDQ4IDQ4IDQ4IDQ4IDAgMCAwLTQ4LTQ4em0wIDE2MGE0OCA0OCAwIDEgMCA0OCA0OCA0OCA0OCAwIDAgMC00OC00OHptMCAxNjBhNDggNDggMCAxIDAgNDggNDggNDggNDggMCAwIDAtNDgtNDh6bTQ0OCAxNkgxNzZhMTYgMTYgMCAwIDAtMTYgMTZ2MzJhMTYgMTYgMCAwIDAgMTYgMTZoMzIwYTE2IDE2IDAgMCAwIDE2LTE2di0zMmExNiAxNiAwIDAgMC0xNi0xNnptMC0zMjBIMTc2YTE2IDE2IDAgMCAwLTE2IDE2djMyYTE2IDE2IDAgMCAwIDE2IDE2aDMyMGExNiAxNiAwIDAgMCAxNi0xNlY4MGExNiAxNiAwIDAgMC0xNi0xNnptMCAxNjBIMTc2YTE2IDE2IDAgMCAwLTE2IDE2djMyYTE2IDE2IDAgMCAwIDE2IDE2aDMyMGExNiAxNiAwIDAgMCAxNi0xNnYtMzJhMTYgMTYgMCAwIDAtMTYtMTZ6Ij48L3BhdGg+PC9zdmc+" class="button-toc-popup">'; });add_action( 'wp_footer', function () { ?> <script>if(document.getElementById("ez-toc-container")==null) document.getElementsByClassName('button-toc-popup')[0].style.visibility='hidden';</script> <?php } );If you cannot reproduce this, please let me know, and I will post a more specific guide π
- This reply was modified 5 years, 5 months ago by powercliff.
- This reply was modified 5 years, 5 months ago by powercliff.