electronica23
Forum Replies Created
-
Forum: Plugins
In reply to: [Premium Addons for Elementor] Media Grip PA Lighbbox for Video – issuesHello, have you been able to verify or test this error?
Forum: Plugins
In reply to: [Premium Addons for Elementor] Media Grip PA Lighbbox for Video – issuesMedia Grid is experiencing errors in videp playback using lightbox, both in Elementor style and in “pretty photo”. In the Elementor setting, the videp player is out of adjustment and you cannot use the buttons or anything. Please see https://wailsteel.s3-tastewp.com/elementor-617/
using prettyphoto style, if I have 3 videos for example, it only shows the first video. You can check its malfunction from your own website https://premiumaddons.com/elementor-grid-widget/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme#noopener/6/
- This reply was modified 5 months, 1 week ago by electronica23.
Forum: Plugins
In reply to: [Premium Addons for Elementor] Media Grip PA Lighbbox for Video – issuesHello,
The same thing happens on my other websites. please help me.
I want to configure that link and I can’t, it doesn’t return me to the payment page.
I have this code to redirect users based on their membership.
/* ***** Redirecciones de LOGIN - Sample code to update login redirects for member */
function custom_login_redirect( $redirect_to, $request, $user ) {
if (pmpro_hasMembershipLevel(1, $user->ID)) {
return "/portal/";
}
elseif (pmpro_hasMembershipLevel(5, $user->ID)) {
return home_url( '/portal-1/' );
}
elseif (pmpro_hasMembershipLevel(6, $user->ID)) {
return home_url( '/portal-2/' );
}
elseif ( is_array( $user->roles ) && in_array( 'customer', $user->roles ) ) {
return home_url( '/escritorio/' );
}
return home_url();
}
add_filter( 'login_redirect', 'custom_login_redirect', 10, 3 );and I am using this code so that when I log in from the “Already have an account? Sign in here” link on the checkout page, it return me to the checkout page and not working ??
function pmpro_checkout_login_redirect( $redirect_to, $request = NULL, $user = NULL ) {
global $wpdb;
$is_logged_in = ! empty( $user ) && ! empty( $user->ID );
if ( $is_logged_in && empty( $redirect_to ) ) {
// Can't use the pmpro_hasMembershipLevel function because it won't be defined yet.
$is_member = $wpdb->get_var( "SELECT membership_id FROM $wpdb->pmpro_memberships_users WHERE status = 'active' AND user_id = '" . esc_sql( $user->ID ) . "' LIMIT 1" );
if ( $is_member ) {
$redirect_to = pmpro_url( 'account' );
} else {
$redirect_to = pmpro_url( 'levels' );
}
}
return $redirect_to;
}
add_filter( 'pmpro_checkout_login_redirect','pmpro_checkout_login_redirect', 10, 3 );Hello!
I am using a page with the pmpro_login shortcode.
Hello, it doesn’t work. When I log in from the “Already have an account? Sign in here” link on the checkout page, it does not return me to the checkout page.
Hello, thank you for your quick response.
I am using this code but it is not workingfunction pmpro_checkout_login_redirect( $redirect_to, $request = NULL, $user = NULL ) {
global $wpdb;
$is_logged_in = ! empty( $user ) && ! empty( $user->ID );
if ( $is_logged_in && empty( $redirect_to ) ) {
// Can't use the pmpro_hasMembershipLevel function because it won't be defined yet.
$is_member = $wpdb->get_var( "SELECT membership_id FROM $wpdb->pmpro_memberships_users WHERE status = 'active' AND user_id = '" . esc_sql( $user->ID ) . "' LIMIT 1" );
if ( $is_member ) {
$redirect_to = pmpro_url( 'account' );
} else {
$redirect_to = pmpro_url( 'levels' );
}
}
// Custom redirect filters should use the core WordPress login_redirect filter instead of this one.
// This filter is left in place for PMPro versions dating back to 2014.
return apply_filters( 'pmpro_checkout_login_redirect', $redirect_to, $request, $user );
}
add_filter( 'login_redirect','pmpro_checkout_login_redirect', 10, 3 );Hi, I want to know if YouTube advertising is disabled using Tutor Video Player.
Forum: Plugins
In reply to: [Starter Templates — Elementor & WordPress Templates] Block tab shows no dataHello, thank you for your quick response.
I tried to refresh the permalinks and I tried to resync and the block template still doesn’t appear.
What could be happening?
thanks
Hi Aracelil, thanks for your prompt response,
This happens to me in all categories, not just “testimonials”, this was just an example. The FREE blocks do not appear, only the pro ones. What should I do to make them appear?
Forum: Plugins
In reply to: [Starter Templates — Elementor & WordPress Templates] Block tab shows no dataPossibly it’s because I have a redirect to the homepage when users log out with de plugin “LoginWP (Formerly Peter’s Login Redirect)”. There may be a conflict and I take that priority. We would have to see how that is coded.
- This reply was modified 1 year, 5 months ago by electronica23.
Hi, i replace the $return_url value with both alternatives in funtions.php file, and it doesn’t work, it keeps redirecting to the homepage.
Adding get permalink:
add_filter( “wp_bouncer_redirect_url”, “my_wp_bouncer_redirect_url”, 99, 1 );
function my_wp_bouncer_redirect_url( $return_url ) {
$return_url = get_the_permalink( 9 );
return $return_url;
}Adding full URL:
add_filter( “wp_bouncer_redirect_url”, “my_wp_bouncer_redirect_url”, 99, 1 );
function my_wp_bouncer_redirect_url( $return_url ) {
$return_url = “https://my-url.com/sign-out “;
return $return_url;
}- This reply was modified 1 year, 5 months ago by electronica23.
Hello Jarryd, thank you for your prompt response.
I added the code to the functions.php file and it does not work, it still does not redirect to the specific page and it takes me directly to the home page.
I do not know what to do
Hello, thank you for all your support.
It turns out that the 423 locked error came from my hosting, which was blocked for IPs from non-Hispanic countries. And that restriction has already been eliminated.I hope my case can help someone else.
Thank you so much.