parallaxmaster
Forum Replies Created
-
public function qsm_ajax_login() { ? ? ? ? $username = ! empty( $_POST['username'] ) ? sanitize_user( wp_unslash( $_POST['username'] ) ) : ''; ? ? ? ? $password = ! empty( $_POST['password'] ) ? sanitize_text_field( wp_unslash( $_POST['password'] ) ) : ''; ? ? ? ? // Check if the input is an email address ? ? ? ? if ( is_email( $username ) ) { ? ? ? ? ? ? $user = get_user_by('email', $username); // Get user by email ? ? ? ? } else { ? ? ? ? ? ? $user = get_user_by('login', $username); // Get user by username ? ? ? ? } ? ? ? ? if ( ! $user ) { ? ? ? ? ? ? wp_send_json_error( array( 'message' => __( 'User not found! Please try again.', 'quiz-master-next' ) ) ); ? ? ? ? } ? ? ? ? $user_id = $user->ID; ? ? ? ? // Check the password ? ? ? ? if ( ! wp_check_password( $password, $user->user_pass, $user_id ) ) { ? ? ? ? ? ? wp_send_json_error( array( 'message' => __( 'Incorrect username or password! Please try again.', 'quiz-master-next' ) ) ); ? ? ? ? } else { ? ? ? ? ? ? wp_send_json_success(); ? ? ? ? } ? ? }
The ready solution )
Hello, Sumit!
Thanks a lot )
Will be waiting.
Have a nice daytime,
Constantine.Hello, Dominik!
Thanks a lot for all your help. You were right, the problem was the GS manager renamed the Sheet Tab )
Have a nice daytime, and best of luck with your amazing plugin!
Best regards,
Constantine.Hello )
Here it is:
{“id”:null,”parent”:null,”name”:”Credicycle Google Sheets”,”description”:null,”status”:”publish”,”event”:{“name”:”shopmagic_order_new_event”,”settings”:[]},”actions”:[{“name”:”shopmagic_add_sheets_row”,”settings”:{“_action_title”:”CrediCycle to Google Sheets”,”google_sheets”:””,”spreadsheet”:”1f8YzCy2o_f7OHM42n-F-QmRHaGyYxyVY1Gjq4XTtPyw”,”spreadsheet_tab”:”Sheet1″,”use_header”:true,”values”:[“{{ customer.first_name }} {{ customer.last_name }}”,”{{ order.total }}”,”{{ order.products_ordered }}”,”{{ order.customer_note }}”,”{{ order.date_completed }}”,”{{ order.date_paid }}”,”{{ order.admin_url }}”,”{{ order.payment_method }}”,”{{ order.billing_address }}”],”_action”:”shopmagic_add_sheets_row”}}],”filters”:[],”language”:null,”recipe”:false,”_links”:[]}
Thx a lot, will be waiting!Hello, Dominik!
Sorry for the delay, I was not able to contact the Google Sheet manager.
So, we did the re-connection without any result. Still “Failure” in the log.
The automation is pretty simple. It just adds the new row to the Google Sheets once a new WooCommerce order is created.
https://prnt.sc/v4BO0WUJ0Ir2
ShopMagic for Google Sheets ver 2.0.6
ShopMagic for WooCommerce ver 4.2.9
https://prnt.sc/mApOd-7hNx3r
Best regards,
Constantine.Forum: Plugins
In reply to: [Accordion Slider] Second Slide All Panels ClosedThanks a lot, David!
Successfully solved )Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsAt least can you tell me what should be changed in the snippet to run the process one more time? What “option name”???
“If the snippet doesn’t work, however, triggering it again requires updating the option name in the code snippet or deleting the option the snippet stored in the first place.”
- This reply was modified 4 years ago by parallaxmaster.
Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsHi, no errors, no “white screens” to wait until the Dashboard appears as described. Just nothing.
First I tried it as a single PHP file and after as a part of the functions.phpForum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsHow can I bulk DELETE all the products from the FB catalog to make a clean sync?
I find this snippet, but it doesn’t work:
https://docs.woocommerce.com/document/facebook-for-woocommerce/facebook-for-woocommerce-delete-or-reset-all-facebook-products/
pasted in functions.php with no effect.- This reply was modified 4 years ago by parallaxmaster.
Forum: Plugins
In reply to: [LiteSpeed Cache] Awful speed results with all the possible cachingHello )
Nope, the results became even worse.
10 hours ago that was “A” grade on GTMetrix and now it is C. No changes were made from my side at all.
Google Page Speed was and is 20/55…
I`m totally confused.Forum: Plugins
In reply to: [LiteSpeed Cache] Awful speed results with all the possible cachingHi! At the moment there is QUIC connected, not the CF. But strange thing is also, that QUIC CDN didnt process any files. I mean there is 0% used from the CDN quota. It processes only Image Optimization and CCSS.
When I disable the QUIC the situation stay the same.Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsHello Amanda.
It is already
— WP Memory Limit: 768 MB
and there is no possibility to increase more at our hosting. But I`m pretty sure it is more than enough…Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsHi Amanda.
Sorry, but non of these actions had no effect.
Theme was switched to the Storefront and 2020
All the plugins except the Woo and FBFWC were disabled.
Deleting and updating the VARIABLE products still doesn’t create the VARIATIONS IDs, only the ID for the MAIN PRODUCT.Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some products@dougaitken Hi
Wrote you the long message but got an error for some reason.
So in 2 words. Database/Woo – 4.9.1
No conflicts even through the WP_DEBUG
Any other way to test these products?Best regards,
Constantine.Forum: Plugins
In reply to: [Facebook for WooCommerce] Product variations missed for some productsYou see, the problem is not that I cant do it in batch, but I`m not able to do this (sync) even for one single product.
So, I have just deleted + Updated the page–> Regenerated and still cant create the IDs for the variations
https://prnt.sc/xdnc8x