tigzik
Forum Replies Created
-
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Courses shortcode issueThanks for the advice. I turned the Course Filter in Settings on as well as Preffered Course Filters. Then I switched Preffered Course Filters off one by one and it works as needed with this shortcode:
[tutor_course category="19" orderby="title" order="asc" column_per_row="1"]
I think it helped both delete
course_filter='off' show_paginaton='off'
from the shortcode AND turn the Settings on/off after the 2.0+ updates.Hello,
It has been almost 8 months since I pointed out no functional support for math content in Tutor and over a month after it should have been implemented into the core plugin based on the promise above.
I tested the latest 1.9.X version AND beta version of the 2.0 but found no changes on the matter.
Could you please tell me when I can expect this to be implemented if ever?
Thank you,
Kind regardsHello @nikolajfalkenberg,
I’ve just started with testing the plugin today so I’m not sure what changes the lastest update brought. Nontheless, there is a function to be switched on to levarage your theme/custom CSS prior: Complianz -> Cookie banner -> Use own CSS.
It works for me. I use Divi theme.
I hope it helps.
CheersForum: Plugins
In reply to: [Tutor LMS Divi Modules] Plugin error: open_basedir restriction@munayam Thank you. That would be helpful in the future.
Forum: Plugins
In reply to: [Tutor LMS Divi Modules] Plugin error: open_basedir restrictionI’ve double checked with our hosting provider and it is, indeed, a problem of open_basedir access rights. It’s unfortunate for us, because we run on a shared server so it’s not possible to change the settings for security reasons.
The solution from our end is migrating to a private server and change the access rights.
I’m not sure if the code can be changed in favour of shared hostings or not, but it would be awesome. This way, this plugin can be only used with a private server allowing to read/write all folders/files.
For future debugging purposes of the others, we were using Active24.com shared hosting Linux Complete (for WordPress).
Forum: Plugins
In reply to: [Tutor LMS Divi Modules] Plugin error: open_basedir restrictionHello @munayam,
Thank you for your answer. I deactivated Loco Translate and switched WP into EN(US) which seems to be default language for the plugin, but this doesn’t resolve the issue.
I found a similar topic here, that seems to be related with incorrectly defined/called path by plugin. Based on the hosting, it might ask access where it shouldn’t. Could you check on it please?
Thank you,
Best regardsHello @creativeartbd
Thank you for the response. Please, help me to understand:
MathJax-LaTeX implementation will be fixed in the next update AND there will be a better way of using math expressions in up to 4 months? Or there will NOT be the fix for MathJax next update, so we need to wait up to 4 months (EoY) for the new implementation?
Best regards.
Hello,
It has been over two months now and the reported issue has not been fixed. Given we are paying the PRO version of the product and the bug does not allow us deploying any math or physics courses, our business is loosing money. Six or seven updates passed since. I am disappointed.
Honestly, is there any chance you can fix that in the foreseeable future or should we rather go for another solution?
Hi there,
Any news in regards of this issue? Our project relies on this, we can’t publish courses without math expression support.
Thanks.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] course page not show upHi @aashafeeu,
Have you tried switching the permalink settings in WP onto Post name?
Forum: Plugins
In reply to: [WooCommerce] How to clear cart after login?Thanks to the community here I have a walkaround solution that works well. It checks if a product was bought by the same user (email or id) in the past and won’t allow to proceed onto the checkout page with this product in the cart.
function action_woocommerce_check_cart_items() { // Retrieve the current user object $current_user = wp_get_current_user(); // Initialize $flag = false; // Loop through cart items foreach( WC()->cart->get_cart() as $cart_item ) { // Check for variantions $product_id = $cart_item['variation_id'] > 0 ? $cart_item['variation_id'] : $cart_item['product_id']; // Checks if a user (by email or ID or both) has bought an item if ( wc_customer_bought_product( $current_user->user_email, $current_user->ID, $product_id ) ) { // Flag becomes true $flag = true; // Break loop break; } } // True if ( $flag ) { // Clear all other notices wc_clear_notices(); // Avoid checkout display an error notice wc_add_notice( __( 'My custom error message', 'woocommerce' ), 'error' ); // Optional: remove proceed to checkout button remove_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 ); } } add_action( 'woocommerce_check_cart_items' , 'action_woocommerce_check_cart_items', 10, 0 );
Thanks to the community here I have a walkaround solution that works well. It checks if a product was bought by the same user (email or id) in the past and won’t allow to proceed onto the checkout page with this product in the cart.
function action_woocommerce_check_cart_items() { // Retrieve the current user object $current_user = wp_get_current_user(); // Initialize $flag = false; // Loop through cart items foreach( WC()->cart->get_cart() as $cart_item ) { // Check for variantions $product_id = $cart_item['variation_id'] > 0 ? $cart_item['variation_id'] : $cart_item['product_id']; // Checks if a user (by email or ID or both) has bought an item if ( wc_customer_bought_product( $current_user->user_email, $current_user->ID, $product_id ) ) { // Flag becomes true $flag = true; // Break loop break; } } // True if ( $flag ) { // Clear all other notices wc_clear_notices(); // Avoid checkout display an error notice wc_add_notice( __( 'My custom error message', 'woocommerce' ), 'error' ); // Optional: remove proceed to checkout button remove_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 ); } } add_action( 'woocommerce_check_cart_items' , 'action_woocommerce_check_cart_items', 10, 0 );
I believe there will be a solution / fix for this in Tutor itself in the future.
Forum: Plugins
In reply to: [WooCommerce] How to clear cart after login?Hi @lukefiretoss and thank you for your advice.
I have tried this snippet before. I also tried to change it from logout to login. Neither of the solutions work, unfortunatelly. The cart is not clearing at all after login/logout for the user account.