stfa76
Forum Replies Created
-
Forum: Plugins
In reply to: [Query Monitor] Division by zero (Query Monitor Extend)Done.
Thank you @johnbillion.Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] dequeue style filesHi @tobiasbg,
Thanks for the quick answer.
That’s what I already tried to do:
wp_dequeue_style( 'datatables-row-details' ); wp_dequeue_style( 'tablepress-columnfilterwidgets-css' ); wp_dequeue_style( 'tablepress-custom' ); wp_dequeue_style( 'tablepress-default' );But when doing this, I’m still seeing this file being loaded:
http://localhost:8888/wordpress452/wp-content/tablepress-combined.min.css?ver=39And when adding this line:
add_filter( 'tablepress_use_default_css', '__return_false' );The combined css is not loaded anymore but instead, I’m seeing this one being loaded:
http://localhost:8888/wordpress452/wp-content/tablepress-custom.min.css?ver=39Thx a lot for your help @mbrsolution and @wpsolutions.
Since I activated a lot of different options in order to achieve the best possible protection, I guess I just have to go back one step at a time now to try and figure out which one is conflicting with my regexp 🙂
Forum: Plugins
In reply to: [Query Monitor] Javascript problem frontendThanks a lot @johnbillion.
Everything is solved 😉Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] Security HeadersHello @mbrsolution,
Yes, that’s it.
Thanks for your quick answer and sorry for the double topic.
I close this one.Best regards,
Stephane.Forum: Plugins
In reply to: [Ocean Demo Import] “Install Demos” tab missing in “Theme Panel”I was looking in the “Appearance” and didn’t see that a new “Theme Panel” was added to the side bar menu, sorry about that. I had a long day and should go to bed :o)
Forum: Plugins
In reply to: [ARI Fancy Lightbox - Popup for WordPress] File name, Download option, iFrameHello @arisoft,
Thank you for your answers.
1- Sorry, I meant the file title is not taken into account.
As you can see on this example, I fulfilled both the “Title” and “Alternate text” of the image: https://image.ibb.co/bvNMWJ/ari_fancy_lightbox_file_title.jpgBut neither are being displayed at the bottom of the lightbox:
https://image.ibb.co/by25rJ/ari_fancy_lightbox_file_title_lightbox.jpg3- What I meant was: is it possible to have a lightbox for embedded video like this one:
https://image.ibb.co/d0b4kd/ari_fancy_lightbox_youtube.jpgHere is the matching html code that was generated when publishing the article:
<iframe width="635" height="357" src="https://www.youtube.com/embed/_s5nnu5Lzco?feature=oembed" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>Thank you.
Best regards,
Stephane.Hello @dnutbourne,
Just to let you know that these error lines showed up in my debug.log yesterday when performing an optimization of my database:
[05-May-2018 20:10:36 UTC] PHP Notice: Only variables should be passed by reference in XXX/wp-content/plugins/wp-optimize/includes/wp-optimize-database-information.php on line 280 [05-May-2018 20:10:36 UTC] PHP Notice: Undefined index: corrupted in XXX/wp-content/plugins/wp-optimize/includes/wp-optimize-database-information.php on line 334And there’s quite a lot of them 🙂
# grep '05-May-2018' wp-content/debug.log | grep '/wp-content/plugins/wp-optimize/includes/wp-optimize-database-information.php on line 280' | wc -l 672 # grep '05-May-2018' wp-content/debug.log | grep '/wp-content/plugins/wp-optimize/includes/wp-optimize-database-information.php on line 334' | wc -l 696Versions:
– WordPress 4.9.5
– PHP 7.1.16
– MySQL 5.6.36
– WP-Optimize 2.2.3Thank you for your help.
Best regards,
Stephane.Forum: Plugins
In reply to: [Query Monitor] Javascript problem frontendHello @johnbillion,
I’ve also encountered a strange UX issue. When in the dashboard, the interface appears only in a very small frame at the bottom of the browser and can’t be enlarged. The only solution to enlarge it is to go to the frontend of the website:
https://image.ibb.co/kSMqBx/digitalcine_query_monitor.pngI’m not sure if this is related to the JS error or if it’s something else.
In any case, keep up the good work, your plugin is a must have 😉
Thanks a lot for your help.Best regards,
Stephane.Hello @wfyann,
Thank you for your answer.
I guess the problem came from our previous provider because since I migrated my website two weeks ago, this issue did not come up again.
Best regards,
Stephane.Hi @wfyann,
All the status are green in “Wordfence -> Tools -> Diagnostics”.
And status is also OK when performing a “check table” on wfConfig under mysql.Best regards,
Stephane.Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Defer Parsing of TablePressHello @tobiasbg,
Sorry for the late answer.
I was testing somme stuffs to try and find out the root cause of the problem.Here’s the situation I’m facing.
I’m using a cache plugin called WP Rocket. You probably have heard about it.
This plugin has a Load JS files deferred option.
Within this option is another option called “Safe mode” for inline jQuery references.As far as TablePress plugin is concerned, if I keep this “Safe mode” on, the TablePress works fine as you can see here.
But when I uncheck the “Safe mode” option, the TablePress is not working anymore as you can see here.In fact, I faced the same issue when trying to use the TwentyTwenty plugin.
And the solution was to remove the call I made in the ‘footer.php’ file below inside a file I called “twentytwenty.js”:
jQuery(window).load(function( $ ) { jQuery(".twentytwenty-container").twentytwenty({ before_label: 'Édition précédente', // Set a custom before label after_label: 'Nouvelle édition' // Set a custom after label }); });And after that, I call all the JS / CSS files needed by this plugin inside this function below inside the “functions.php” file:
function twenty_twenty_plugin() { wp_enqueue_script( 'twenty_twenty_jquery_event_move', get_stylesheet_directory_uri() . '/js/jquery.event.move.js', array('jquery'), '0.1.0', true ); wp_enqueue_script( 'twenty_twenty_jquery_twentytwenty', get_stylesheet_directory_uri() . '/js/jquery.twentytwenty.js', array('jquery'), '0.1.0', true ); wp_enqueue_script( 'twenty_twenty_twentytwenty', get_stylesheet_directory_uri() . '/js/twentytwenty.js', array('jquery'), '0.1.0', true ); wp_enqueue_style( 'twenty-twenty', get_stylesheet_directory_uri() . '/css/twentytwenty.css', array(), '0.1.0', 'all' ); } add_action( 'wp_enqueue_scripts', 'twenty_twenty_plugin' );And after that, if I uncheck the “Safe mode” option in the cache plugin, everything is working fine without facing a render blocking of the page due to the jQuery library loading since now, the plugin is loaded in the footer (thanks to the “true” parameter when called “wp_enqueue_script()”) and not as an inline JS anymore.
So my question is this one: is it possible to do the same thing with the TablePress plugin? What I mean is calling the plugin inside the footer but not as an inline JS but using a customized function inside the “functions.php” file?
I hope my explanations were clear enough 🙂
Thank you very much for your time and this great plugin of yours.Best regards,
Stephane.- This reply was modified 8 years, 2 months ago by stfa76.
Forum: Plugins
In reply to: [Social Sharing Plugin - Sassy Social Share] Center text before buttonThe custom css below you provided in the first place was indeed what I wanted to achieve.
Thank you very much.div.heateor_sss_sharing_title{ text-align: center; }Hello,
Do you have any update on this issue please?
Would it be possible for you to directly open the Facebook Messenger application
We will do it in upcoming releases.Thank you.
Best regards,
Stephane.Thank you very much @tobiasbg