arunki
Forum Replies Created
-
Forum: Plugins
In reply to: [PixelYourSite - Your smart PIXEL (TAG) & API Manager] Pixel cleaningThanks!!
Forum: Plugins
In reply to: [PixelYourSite - Your smart PIXEL (TAG) & API Manager] Event URLThanks for caring.
Forum: Plugins
In reply to: [Custom Thank You for WooCommerce] How to show QR Code info in checkout page?How the page looks without redirecting to customized thank you page:
Here the html code for this page:
Hi, there
I resolved the issue all by myself. Someone from the support contacted me, but I did not feel there was communication or will to help. The guy was nice, but no attitude.It was a simple thing.
The plugin retains the first inserted configuration by the user. In my case, I inserted a wrong value in the ‘Cart Total’ form. This gave the fatal error. And I could not reinstall it from zero, because the plugin would inherit the data I inserted.
I was deactivating the plugin by renaming it in CPanel.
After five days struggling with the issue, renaming the directory, and again installing the ProVersion and always coming to the same fatal error, today I tried to install the free version, starting everything from the beginning.
The installation of the free version worked fine (because the error was in the Pro Version). I deleted some data and brought the plugin to its original state. Then I installed the Pro Version and could also correct the data in the Pro ‘Cart Total’ form.
I have three suggestions to the administrators.
1) This support via email in which there is no conversation really, it is better not to have. It doesn’t work if the user is in need of urgent help and the support takes two more days to respond. Please, improve that.
2) Make an option in the plugin to reinstall the from zero or make it not to memorize the settings.
3) In the Cart Total section, explain more clearly how the form functions.It worked well. Great. Thanks.
Ok. Now I move the notification_new_user.php file to child theme directory, right?
How do I know If I have my translated Notication emails in my Theme folder? Divi? UM? … pardon me…
Hi… I can delete the Child-Theme folder I created in the process, right?
I don’t see the need yet, so I am choosing to exclude the plugin for now.
Thank you once again!Cheers!
Done. Left the theme-child02 with its original functions.php file. Installed the plugin ‘say what?’.
But I also installed the plugin Breeze as an alternative to resolve cache issues. I don’t need it anymore, do i?Thaaaaaaanks!
I am pasting the content of source.php at the end of functions.php file of the Divi Child 02 folder. But it is giving a parse error.
<?php add_action( 'wp_enqueue_scripts', 'my_enqueue_assets' ); function my_enqueue_assets() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } <?php // https://github.com/MissVeronica/um-landing-page-for-email-links // // Ultimate Member Landing Page for Email Links - Version 3 // Supporting both UM upto 2.4.2 and UM 2.5.0 and afterwards // Date: 2022-08-16 add_filter( 'wp_mail', 'my_wp_mail_filter', 10, 1 ); add_shortcode( 'um-landing-page', 'um_landing_page' ); function my_wp_mail_filter( $compact ) { if( strpos( $compact['message'], '?act=reset_password' ) > 0 ) { $reset_page = str_replace( get_bloginfo( 'url' ), '', get_permalink( UM()->config()->permalinks['password-reset'] )); $compact['message'] = str_replace( $reset_page . '?act=reset_password', '/um-landing-page/?myact=landing_for_password', $compact['message'] ); } if( strpos( $compact['message'], '?act=activate_via_email' ) > 0 ) { $compact['message'] = str_replace( '?act=activate_via_email', '/um-landing-page?myact=landing_for_activate', $compact['message'] ); preg_match( '/\&user_id=\s*(\d+)/', $compact['message'], $matches ); um_fetch_user( intval( $matches[1] )); $compact['message'] = preg_replace("/\&user_id=.*?\"/", '&login=' . esc_html( um_user( 'user_login' )) . '"', $compact['message'] ); } return $compact; } function um_landing_page() { global $wpdb; if( isset( $_REQUEST['myact'] )) { if( $_REQUEST['myact'] == 'landing_for_activate' ) { $query = $wpdb->get_results( "SELECT user_id FROM {$wpdb->prefix}usermeta WHERE meta_key='account_secret_hash' AND meta_value LIKE '" . sanitize_text_field( $_REQUEST['hash'] ) . "' LIMIT 0,1", ARRAY_A ); if( is_array( $query ) && isset( $query[0]['user_id'] )) { $user_id = $query[0]['user_id']; um_fetch_user( $user_id ); if( um_user( 'user_login') != sanitize_text_field( $_REQUEST['login'] )) $user_id = ''; elseif( is_user_logged_in() && absint( $user_id ) !== get_current_user_id()) $user_id = ''; // NEW 2022-01-14 } else $user_id = ''; if( empty( $user_id )) { echo '<h4>Sorry, your activation link is invalid or outdated.</h4>'; } else { ?> <h4>Please click this button to activate your account.</h4> <div> <form id="account-activation-form" action="" method="post"> <input type="hidden" id="act" name="act" value="activate_via_email"> <input type="hidden" name="hash" value="<?php echo esc_html( $_REQUEST['hash'] );?>"> <input type="hidden" id="user_id" name="user_id" value="<?php echo esc_html( $user_id );?>" /> <p><button data-action='submit'><?php echo 'Activate now'; ?></button></p> </form> </div> <?php } ?> <div>Need help?<p><a href="<?php echo esc_url( 'mailto:' . get_bloginfo( 'admin_email' ), array( 'mailto' ));?>">Contact us</a> today.</p></div> <div> <div>Thank you!</div> <div>The <a href="<?php echo esc_url( get_bloginfo( 'url' ));?>"><?php echo esc_html( get_bloginfo( 'name' ));?></a> Team</div> </div> <?php } if( $_REQUEST['myact'] == 'landing_for_password' ) { $reset_page = esc_url( str_replace( get_bloginfo( 'url' ), '', get_permalink( UM()->config()->permalinks['password-reset'] ))); if( isset( $_REQUEST['login'] )) { // UM 2.5.0 and afterwards $value = $_REQUEST['login']; $id = 'login'; } if( isset( $_REQUEST['user_id'] )) { // UM until 2.4.2 $value = $_REQUEST['user_id']; $id = 'user_id'; } ?> <h4>Please click this button to reset your password.</h4> <div> <form id="account-password-form" action="<?php echo $reset_page;?>" method="get"> <input type="hidden" id="act" name="act" value="reset_password"> <input type="hidden" name="hash" value="<?php echo esc_html( $_REQUEST['hash'] );?>"> <input type="hidden" id="<?php echo $id;?>" name="<?php echo $id;?>" value="<?php echo esc_html( $value ); ?>" /> <p><button data-action='submit'><?php echo 'Reset password now'; ?></button></p> </form> </div> <div>Need help?<p><a href="<?php echo esc_url( 'mailto:' . get_bloginfo( 'admin_email' ), array( 'mailto' ));?>">Contact us</a> today.</p></div> <div> <div>Thank you!</div> <div>The <a href="<?php echo esc_url( get_bloginfo( 'url' ));?>"><?php echo esc_html( get_bloginfo( 'name' ));?></a> Team</div> </div> <?php } } }
Completed.
Thank you!!Best!!
hi, @missveronicatv
Thank you!Make the child-theme your active Theme where you add the code snippets to the?
functions.php
?file.
I shall add the content source.php into the functions.php file, i presume.
Before ou after this?
// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:I’ll have to investigate in order to understand. Thanks.