stylise
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Can’t disable Link payment methodI’m also having this issue. I would appreciate being notified when a fix is released.
Will it be patched?
It’s been nearly two weeks since the vulnerability was reported. Any update on this?
Forum: Plugins
In reply to: [Site Reviews] Review form field order no longer working@pryley That fixed it! Thanks for the quick response.
Forum: Plugins
In reply to: [Redis Object Cache] Disable Error ReportingFor anybody experiencing a similar issue, it looks like using
define( 'WC_SESSION_HANDLER', 'database' );fixed our excessive Redis read errors.Forum: Plugins
In reply to: [Site Reviews] Issue with CSS pop-in on Review LinkIt turned out to be
a.woocommerce-review-linkthat was loading before my custom style. I was way overthinking this. Thanks!Forum: Plugins
In reply to: [Site Reviews] Issue with CSS pop-in on Review LinkHere’s a link with 1 click expiry: [REDACTED]
Forum: Plugins
In reply to: [Site Reviews] Issue with CSS pop-in on Review LinkBy “pop-in” I’m referring to a flash of unstyled content. The element doesn’t read my custom CSS until after the page fully loads.
- This reply was modified 7 months, 1 week ago by stylise.
Forum: Plugins
In reply to: [Site Reviews] Issue with CSS pop-in on Review LinkHi @pryley, unfortunately for security purposes, I can’t post it publicly.
Forum: Plugins
In reply to: [Redis Object Cache] Disable Error ReportingYes, I have been troubleshooting this for several hours. The FAQ hasn’t provided much in the way of addressing this issue. It does appear to be running properly and effectively, which is why I wanted to disable the error notices.
I’ve tried some server side improvements, as well as searching through past support threads. My wp-config currently has the following settings:/** REDIS */
define(‘WP_REDIS_CLIENT’, ‘phpredis’);
define(‘WP_REDIS_TIMEOUT’, 5);
define(‘WP_REDIS_READ_TIMEOUT’, 5);
define(‘WP_REDIS_DISABLE_METRICS’, true);
define(‘WP_REDIS_DISABLE_GROUP_FLUSH’, true );/* That’s all, stop editing! Happy blogging. */
Forum: Plugins
In reply to: [Redis Object Cache] Disable Error ReportingHi @tillkruess
Setting WP_REDIS_DISABLE_GROUP_FLUSH to true did not resolve the issue.Forum: Plugins
In reply to: [ShipStation for WooCommerce] v4.4.5 Woo Product Bundles import issue@ckadenge @doublezed2 This thread was marked as resolved. Does that mean a fix was implemented? Patch notes don’t seem to clarify. Thanks in advance.
Forum: Plugins
In reply to: [Site Reviews] Round up star rating@geminilabs Thank you for optimizing the code! Tested and working.
Forum: Plugins
In reply to: [Site Reviews] Round up star rating@geminilabs Thanks so much for pointing me in the right direction!
Here’s the full code for anybody who wants to do the same–
// Round up star rating images
add_filter('site-reviews/defaults/star-rating', function (array $values) {
$rating = $values['rating'] ?? 0;
// Apply conditions for different rating ranges
if ($rating >= 4.8) {
$values['num_full'] = 5;
$values['num_half'] = 0;
}
else if ($rating >= 4.3) {
$values['num_full'] = 4;
$values['num_half'] = 1;
}
else if ($rating >= 3.8) {
$values['num_full'] = 4;
$values['num_half'] = 0;
}
else if ($rating >= 3.3) {
$values['num_full'] = 3;
$values['num_half'] = 1;
}
else if ($rating >= 2.8) {
$values['num_full'] = 3;
$values['num_half'] = 0;
}
else if ($rating >= 2.3) {
$values['num_full'] = 2;
$values['num_half'] = 1;
}
else if ($rating >= 1.8) {
$values['num_full'] = 2;
$values['num_half'] = 0;
}
else if ($rating >= 1.3) {
$values['num_full'] = 1;
$values['num_half'] = 1;
}
else if ($rating >= 1) {
$values['num_full'] = 1;
$values['num_half'] = 0;
}
else {
$values['num_full'] = 0;
$values['num_half'] = 0;
}
return $values;
});Forum: Plugins
In reply to: [Site Reviews] Round up star rating@geminilabs That’s correct, I only want to adjust the star images.