kklo
Forum Replies Created
-
Forum: Plugins
In reply to: [User Posts Limit] Error!Ok
ResolvedForum: Plugins
In reply to: [JS Help Desk - The Ultimate Help Desk & Support Plugin] TranslatorHi, @rabilal
pt_BR (Portugues Brazil)
Forum: Plugins
In reply to: [User Posts Limit] Error!hi, @condless
When I do the test, I use a brawser with a user already registered with the proper permission as if it were a common user accessing the frontend.
Forum: Plugins
In reply to: [User Posts Limit] Error!I can’t create a second rule. Why?
Ok.
Thanks
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Hide Itemhi, @largbasket
I made the change via code.
I created /astra-child/tutor/templates/dashoboard, copied the dashboard.php file and made the changes. Then I activated the child theme in the admin panel. Did not work. Where is it wrong?
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Hide ItemHi, @largbasket
Yes, I already tried, but I couldn’t, that I partially worked, it was via CSS, but it deleted all the items.
Could you give me a tip already tried using
div.tutor-card
tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32Any help will be welcome
Thanks
Hi, @mariaojob
I am grateful for the help and prompt service. The feature that Tutor LMS has is a fixed percentage of commission for authors and I need the commission to be flexible depending on the importance and negotiation with authors.
Once again thanks for the help.Hi, @mariaojob
Thank you, I’ll read it calmly, but I anticipate another question. Is there any feature for commission payment or multivendor?
I’m developing a website with Tutor LMS. I want to commission course authors and pay the platform, so I need a commission, and each author can have a different commission.
- This reply was modified 1 year, 11 months ago by kklo.
Thanks
Forum: Plugins
In reply to: [User Role Editor] Two RoleHi, @shinephp
Can adding roles be automatic, that is, every time a user is “manager” (when a user registers or a former user who chose to be a “manager”) will the role “seller” be automatically added, leaving him with two roles?
Hi, @rizaardiyanto
Can adding roles be automatic, that is, every time a user is “manager” (when a user registers or a former user who chose to be a “manager”) will the role “seller” be automatically added, leaving him with two roles?
Forum: Fixing WordPress
In reply to: Functions.phpHi @threadi
Yes, functions.php is working perfectly, I’ve already tested it.
The code above was another attempt to create a function that added one more role to “tutor_instructor”Forum: Fixing WordPress
In reply to: Functions.phpHi,
Yes it’s working.
I tried to do another function and it’s not working either.The user is not new, it can often be an already registered user who decided to become an instructor.
Can anyone help me where is the error?
function add_wcfm_vendor_role_to_tutor_instructor( $user_id ) {
$user = new WP_User( $user_id );
$roles = $user->roles;
if ( in_array( 'tutor_instructor', $roles ) ) {
$user->add_role( 'wcfm_vendor' );
}
}
add_action( 'tutor_instructor_approved', 'add_wcfm_vendor_role_to_tutor_instructor' );- This reply was modified 1 year, 11 months ago by kklo.
Forum: Fixing WordPress
In reply to: Functions.phpHi, @threadi
Yes.
There are two plugins: Tutor LMS and WCFM. The default user registration is “Subscriber”. When he wants to be an “Instructor” he asks to be an “Instructor” and the “Admin” authorizes it. In this authorization, he automatically changes to “Subscriber” and “Instructor (tutor_instructor)” and at this moment I want him to also be “Manager (shop_manager)”