marcodu
Forum Replies Created
-
Forum: Plugins
In reply to: [wpForo Forum] Wpforo and Yoast sitemap = critical errorHi,
I would like to do that.
But every time i try to register on your forum i get the following error:“Error: please enter a username”
I tried so many times. different emails and different usernames
Forum: Plugins
In reply to: [wpForo Forum] Wpforo and Yoast sitemap = critical errorI think i’m getting this error:
[24-Oct-2022 13:30:37 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_option_items_per_page() on null in /home/customer/www/inneasoft.com/public_html/wp-content/plugins/wpforo/wpforo.php:791 Stack trace: #0 /home/customer/www/inneasoft.com/public_html/wp-content/plugins/wpforo/includes/hooks.php(211): wpforo\wpforo->init_current_object() #1 /home/customer/www/inneasoft.com/public_html/wp-includes/shortcodes.php(356): wpforo\wpforo->{closure}(Array, '', 'wpforo') #2 [internal function]: do_shortcode_tag(Array) #3 /home/customer/www/inneasoft.com/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(wpforo...', 'do_shortcode_ta...', '[wpforo]') #4 /home/customer/www/inneasoft.com/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3012): do_shortcode('[wpforo]') #5 /home/customer/www/inneasoft.com/public_html/wp-includes/shortcodes.php(356): ET_Builder_Element->_render(Array, '[wpforo]', 'et_pb_text') #6 [internal function]: do_shortcode_tag(Array) #7 /home/customer/www/inneasoft.c in /home/customer/www/inneasoft.com/public_html/wp-content/plugins/wpforo/wpforo.php on line 791
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] CANNOT BE NEGATIVE [UNPROCESSABLE ENTITY|Hi,
I still have the same issue with Woo Discount Rules if i use the option “Apply cart discount as Fee”.
If I set as a coupon no error.
I hope the coming version will fix this problem ??Regards,
Forum: Plugins
In reply to: [License Manager for WooCommerce] Order info + licence key to a third APISo far this is what i did…and it kind of work out…
If someone want to adjust / clean the code it will be much appreciated ??use LicenseManagerForWooCommerce\Models\Resources\License as LicenseResourceModel; use LicenseManagerForWooCommerce\Repositories\Resources\License as LicenseResourceRepository; defined('ABSPATH') or die('Unauthorized Access'); add_action('woocommerce_order_status_completed', 'send_info_to_api'); $url = 'https://....'; function send_info_to_api ($order_id){ $order = new WC_Order( $order_id ); //Get the customer data $DataNeworder = array( 'Date commande' => $order->date_completed, 'Numero de commande' => $order_id , 'Prénom' => $order->billing_first_name , 'Nom' => $order->billing_last_name , 'Société' => $order->billing_company , 'Addresse1' => $order->billing_address_1 , 'Adresse2' => $order->billing_address_2 , 'Ville' => $order->billing_city , 'Date' => $order->billing_state , 'CodePostal' => $order->billing_postcode , 'Pays' => $order->billing_country , 'Email' => $order->billing_email , 'Telephone' => $order->billing_phone , ); //Gets all licenses from an order according to the order_id $licenses = LicenseResourceRepository::instance()->findAllBy( array( 'order_id' => $order_id )); // No license keys? Nothing to do... if (!$licenses) { return; } foreach ($licenses as $license): array_push($DataNeworder, $license->getDecryptedLicenseKey()); endforeach; // $order->add_order_note( implode(" ",$DataNeworder)); file_put_contents('DataOrderBACnetLog.txt', print_r($DataNeworder, true), FILE_APPEND | LOCK_EX); } // send to url wp_remote_post( $url, $DataNeworder );
- This reply was modified 3 years, 5 months ago by marcodu.
Forum: Plugins
In reply to: [Loading Page with Loading Screen] Change size of logo?Thanks a lot for your answer.
It works!Regards,
Forum: Plugins
In reply to: [Loading Page with Loading Screen] Change size of logo?Hi,
First of all thank you for the nice plugin.
I used this code
<style>.lp-screen img{width:600px !important;}</style>
to change the size of the logo. However since the last update it doesn’t work.
Any idea?What can i do to increase the size of the logo?
Best regards,