hernan2022
Forum Replies Created
-
I apologize for the error; my extension version is 2.0.1
At least in that version, the error occurs where all posts containing the “#” character cannot be shared, resulting in a fatal error in the console
I was able to solve it. It’s not possible to fix this with CSS alone, but it can be easily fixed with JS:
document.addEventListener('contextmenu', function(e) {
if (e.target.closest('.yzpr-reacto-post')) {
e.preventDefault();
}
}, { passive: false });With just this JS, the reactions are MUCH more comfortable on smartphones. In case anyone needs it for functions.php:
function mi_bloqueo_contextmenu_reacciones() {
if ( ! function_exists( 'bp_is_activity_component' ) ) {
return;
}
if ( ! bp_is_activity_component() ) {
return;
}
?>
<script>
document.addEventListener('contextmenu', function(e) {
if (e.target.closest('.yzpr-reacto-post')) {
e.preventDefault();
}
}, { passive: false });
</script>
<?php
}
add_action( 'wp_footer', 'mi_bloqueo_contextmenu_reacciones', 100 );Well, I suppose it’s understandable that I’m not receiving support for the extension since I don’t have an active license. By the way, I think this must be happening to everyone
I’ll keep trying with CSS or JS; there must be an easy way to prevent that context menu from appearing
But… can you share this information?
I don’t have an active license.
The bug is being reported in good faith. When everyone clicks “share” on posts with hashtags, the loading GIF gets stuck, and the error appears in the console.
I understand, I’ll run more tests. it sounds tricky
Thank you very much for the information. It would be great if you could look into this further, especially since you mention in the YouTube video that it “facilitates navigation, particularly in mobile view.”
I understand it’s a delicate matter in terms of performance, but if it’s achieved reasonably well, the user experience will be greatly improved
In any case, thank you very much for the response and the information. I’ll run more tests before making a final decision
Sorry for the delay
The bug occurs in all versions. In my case, it’s 3.6.1
You can see the feature in this video of yours:
As I mentioned, it’s impossible for it to work on a real smartphone. If you have a case where it actually works, it would help me if you could let me know so I can recheck my theme or installation
Thinking about it, this could be tricky, since we might trigger a lot of server queries
I think the most responsible fix would be something like this:
jQuery(function ($) {
var busy = false; // evita múltiples ejecuciones por scroll
function autoLoad() {
if (busy) return;
var $btn = $('.load-more:visible').last();
if (!$btn.length || $btn.data('autoloaded')) return;
var triggerPoint = $btn.offset().top - 800;
var viewBottom = $(window).scrollTop() + $(window).height();
if (viewBottom > triggerPoint) {
busy = true; // bloquea reentrada
$btn.data('autoloaded', 1); // marca este botón
$btn.find('a').trigger('click');
}
}
// Escuchamos scroll en cualquier lado (window + contenedores móviles)
$(window).on('scroll', autoLoad);
$('.yz-wall-content, .yz-content, .bp-single-activity, body').on('scroll', autoLoad);
// Cuando BuddyPress carga más contenido, liberamos el lock
$(document).ajaxComplete(function () {
busy = false;
});
});I believe this solves the problem more safely. In any case, I would greatly appreciate it if you could confirm receipt of this feedback.
Thank you !
Updated Youzify 3.6.1
It’s an old bug or issue. That Open Graph gets inserted across the entire site
Thanks for the reply
Forum: Plugins
In reply to: [LiteSpeed Cache] Modern WooCommerce Cache QuestionThat’s right, I hadn’t noticed. It makes perfect sense; it’s delicate, and it makes sense that it’s like that by default
Thank you so much for clearing that up for me
Forum: Plugins
In reply to: [LiteSpeed Cache] Issue with WooCommerce cart on error pageI was able to fix it; for some reason, setting TTL to 0 wasn’t enough, but I was able to get it working with the litespeed_control_set_nocache hook
add_action( 'template_redirect', 'lscache_nocache_404', 0 );
function lscache_nocache_404() {
if ( is_404() ) {
do_action( 'litespeed_control_set_nocache', '404' );
}
}Although this is a sign that the CartPops plugin might not be very modern and I should change it
But for now, I’m fine with this
Thanks, best regards, Merry Christmas!
Thanks, I’ve updated and everything seems to be working fine
Best regards, thanks
That’s right! It works!
Replacing with
litespeed_buffer_beforedata-srcfordata-src-disabled(just to disable it) applies the plugin’s lazy loading. I just need to fine-tune the code a bit more to correctly select what I need, and I’ll be doneThank you so much for the support!
Thanks for reviewing my case. Here’s the pastebin:
https://pastebin.ubuntu.com/p/tnQfm9HK4k/
From what I understand, the images are recognized but bypassed for some reason (those measuring 600px x 600px, the ones Google points out)
There’s something I’d like to mention. Divi Theme has been working on Divi 5 for several years; the release of this version shouldn’t be that far off. This version of the theme promises significant improvements in terms of performance. I think it’s fair to mention this; while companies often don’t actually start from scratch, there’s a chance that the module or the way the theme works could change
Thanks !
I think Google shows something interesting. The images it highlights are the large 600×600 images, meaning they’re the “main slider” of the product, the big version of the product images.

Maybe I could do something by taking the DOOM images out and putting them in. But it sounds complicated if they don’t fit into the lazy loading process from the start