wasim78
Forum Replies Created
-
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Control vision , roleOr any plugin that does this task
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Control vision , roleIf you can develop custom terms, this is possible.
How can I develop these custom conditions!!
Can you provide me with a short code that will help me?I entered the function below
She helped me determine the role by age for registration But I want the role to change automatically when the student grows upadd_action( 'um_registration_complete', 'um_registration_complete_set_new_role', 2, 2 ); function um_registration_complete_set_new_role( $user_id, $args ) { $birth_date = $args['birth_date']; if ( ! empty( $birth_date )) { $from = new DateTime( $birth_date ); $to = new DateTime( 'today' ); $years = (int)$from->diff( $to )->y; if ( $years > 2 ) { UM()->roles()->set_role( $user_id, 'um_kd-3' ); } else { UM()->roles()->set_role( $user_id, 'um_kd-4' ); } } }Thank you for the comprehensive explanation. I tried to follow your instructions
But my little experience did not help meCan you help me save me
- Write a function that retrieves the identification key for the date of birth of all users from the database
- wp_schedule_event function to schedule the hook
I then compare the calculated role with the current role and change the role if necessary.
Forum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesI sent you a message as you requested
I wait for your answerThanks
Forum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesPlease give me your support email address
Forum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesI repeat
When I select option
De-activate Google Maps API?
As shown in the picture
Then I can go out
But the map does not appear- This reply was modified 4 years, 3 months ago by wasim78.
Forum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesItem removed as requested As shown in the <a href="https://snipboard.io/tBy9AS.jpg" rel="noopener" target="_blank">picture/1</a> <a href="https://snipboard.io/xXwbTr.jpg" rel="noopener" target="_blank">picture/2</a> However, I couldn't get out of the baskethttps://snipboard.io/tBy9AS.jpg
https://snipboard.io/xXwbTr.jpgForum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesThese two items have been removed as requested Force shortcode [szbd]? Monitor short code entry [szbd]? However, I couldn't get out of the basket When this item is activated When to deactivate the Google Maps API? I can get out of the basket, but I can show the mapForum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesIt didn’t work
Forum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crashesWhen viewing the map
Checkout is stopped and payment is confirmedForum: Plugins
In reply to: [Shipping Zones by Drawing for WooCommerce] checkout confirmation crasheshigher resolution picture
https://drive.google.com/file/d/1s3HAhkTiigXQUEluTl4b18kPX9qQXWkc/view?usp=sharingI am using Google Chrome mobile browser
On the map when you exit
The tag does not appear
Does not respond to locatorAs for the Safari browser, it works fine
How can I show
“the map button full screen”
on the mobile?Your support is great
Rating = five starsPlugin installed
https://snipboard.io/egF36N.jpg
Only Admins on your website can see this notice. You can turn it off in the plugin settings from the “Debug” submenu if everything works fine.
You can’t watch it
Only an administrator is allowed to see the error
The attached picture shows what I seeThe following image shows you that the plugin is enabled
https://snipboard.io/ols3B7.jpg
The following image shows you that the plugin is enabled