Gytis Repe?ka
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Single Sign On] User registration toggle optionAwesome, works exactly as expected ??
Forum: Plugins
In reply to: [Simple Single Sign On] Can’t login to site after WP-OAuth server updateIt works after upgrading WP OAuth Server – Pro to version 4.1.5.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] wavesurfer.js is loaded from CloudflareProblem solved, thanks so much!
Forum: Plugins
In reply to: [Simple Single Sign On] Can’t login to site after WP-OAuth server updateYou mean update server or client plugin (Simple Single Sign On)?
Updated server (WP OAuth Server – Pro) to version 4.1.2 but it is the same – client with Simple Single Sign On 2.0.0 cannot connect showing the same error:
Authorization code doesn't exist or is invalid for the client
Forum: Plugins
In reply to: [Seriously Simple Podcasting] wavesurfer.js is loaded from CloudflareAny updates so far?
Forum: Plugins
In reply to: [Seriously Simple Podcasting] wavesurfer.js is loaded from CloudflareThanks, looking forward to new version then!
Thanks, this solution works smooth.
It is enough to add
validate_2fa
to following array:if('wp-login.php' == $pagenow && (!isset($_GET['action']) || !in_array($_GET['action'], array("logout", "rp", "resetpass", "resetpassword", "enter_recovery_mode", "validate_2fa"))) && !isset($_REQUEST['interim-login'])) {
Of course we could first check if
two-factor/two-factor.php
plugin exists or not and then appendvalidate_2fa
to array but it requires a bit of refactoring then.Forum: Plugins
In reply to: [Two-Factor] Does this plugin support WooCommerce?Here is my attempt to bring Two-Factor settings to front-end (thus becoming available for WooCommerce users to see):
Edited
class-two-factor-core.php
: following WordPress hooks (edit_user_profile
andedit_user_profile_update
) I have used corresponding functions in WooCommerce hooks:add_action( 'woocommerce_edit_account_form', array( __CLASS__, 'user_two_factor_options' ) ); add_action( 'woocommerce_update_customer', array( __CLASS__, 'user_two_factor_options_update' ) );
Edit part worked fine – settings were saved. However, form was broken: in the end of function
user_two_factor_options
there isdo_action( 'show_user_security_settings', $user );
which in the frontend exited further rendering of page. So I created a copy ofuser_two_factor_options
function and commented that code out – in this case form was rendered nicely in WooCommerce’smy-account/edit-account
page.However, JavaScripts didn’t work – I couldn’t see QR code nor any other JavaScript-based elements. Any tips on that? Perhaps something is reused from
wp-admin
components that are not available on frontend?Forum: Plugins
In reply to: [Two-Factor] Does this plugin support WooCommerce?Anyone working on frontend part for WooCommerce?
I was thinking perhaps having shortcode in my-account page could be created to display user secret QR code.
Forum: Reviews
In reply to: [Termly - GDPR/CCPA Cookie Consent Banner] Good but Tracking is not welcomeI personally don’t like such kind of trackers embedded into plugins.
However, my quick insight to file tracking/class-plugin-usage-tracker.php that hosts function get_is_tracking_allowed (line #343) and set_is_tracking_allowed (line #358) suggests plugin respects user’s setting.
More can be seen here:
/** * This is our function to get everything going * Check that user has opted in * Collect data * Then send it back * * @since 1.0.0 */ public function do_tracking() { // If the home site hasn't been defined, we just drop out. Nothing much we can do. if ( ! $this->home_url ) { return; } // Check to see if the user has opted in to tracking $allow_tracking = $this->get_is_tracking_allowed(); if( ! $allow_tracking ) { return; } // Get our data $body = $this->get_data(); // Send the data $this->send_data( $body ); }
And from options:
SELECT * FROM wp_options WHERE option_name LIKE '%wisdom%';
Forum: Plugins
In reply to: [SI CAPTCHA Anti-Spam] Not compatible with caching plugin (W3TC)Thanks, Fast Secure reCAPTCHA works fine with W3TC.
Forum: Plugins
In reply to: [Widget Logic] Incorrect “Widget Logic team security recommendation”I also switched to Widget Options.
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] WP Super Cache problemIndeed, we do have several use cases reported in this thread.
So we plan to move the entire cookie message into Javascript – it would be then entirely then with JS (and not mixed as it is now) fixing the possible caching issues (hopefully).
The only solution is to always output cookie notice in HTML and rely on JavaScript only to decide whether to show the notice or hide. Until @dfactory implements that, I’m sticking to Cookie Consent plugin which already works exactly like that. You can see it running just as expected on my site.
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] WPML with Cookie NoticeString Translation did the job in my case.