Home › Forums › Legacy Support › Support queries › Child Themes › Change everywhere from instructors to partners
- This topic has 13 replies, 3 voices, and was last updated 7 years, 4 months ago by ars111.
Viewing 14 posts - 1 through 14 (of 14 total)
-
AuthorPosts
-
July 29, 2017 at 6:57 pm #122864ars111ParticipantHi, I would like to ask you how is possible in child theme to set up to change "instructors" to "partners" somehow? Can you tell me what I need to change then and where? Thanks.July 31, 2017 at 8:16 am #122924H.K. LatiyanParticipantHi.. If you want to change the instructors to partners, then you'll have to translate it. You can change any text in wplms using the loco translate plugin. Please refer the tutorial here: https://vibethemes.com/documentation/wplms/knowledge-base/translate-using-loco-translate-plugin/August 1, 2017 at 8:45 pm #123178ars111ParticipantThis reply has been marked as private.August 2, 2017 at 12:56 pm #123274H.K. LatiyanParticipantHi, If the instructor is the group admin then that instructor can manage that particular group only. Your video shows that the instructor is not able to manage a particular group this indicates that the instructor is not the group admin or moderator. Please check this. ------------------ For allowing instructors to create products from wp-admin area, you'll have to give instructor the capability. Try adding the bellow code in your wp-admin->plugins->editor->select wplms customizer plugin->wplms-customizer.php file: add_action( 'admin_init','enable_instructor_to_create_products'); function enable_instructor_to_create_products(){ $role = get_role( 'instructor' ); $capabilities = wplms_get_woocommerce_core_capabilities(); foreach ( $capabilities as $cap_group ) { foreach ( $cap_group as $cap ) { $role->add_cap( $cap ); } } } function wplms_get_woocommerce_core_capabilities() { $capabilities = array(); $capability_types = array( 'product'); foreach ( $capability_types as $capability_type ) { $capabilities[ $capability_type ] = array( "manage_woocommerce_{$capability_type}s", "edit_{$capability_type}", "read_{$capability_type}", "delete_{$capability_type}", "edit_{$capability_type}s", "publish_{$capability_type}s", "read_private_{$capability_type}s", "delete_{$capability_type}s", "delete_private_{$capability_type}s", "delete_published_{$capability_type}s", "edit_private_{$capability_type}s", "edit_published_{$capability_type}s", ); } return $capabilities; } Add the code at the bottom. -------------------- Are you using the wplms woocommerce addon plugin for creating the variations ? In this plugin we give different options i.e. you can create variations for different course duration, enable or disable certificates, badges for different variations, you can also connect batches with different variations allowing users to purchase batch directly. -------------------- Also please create different topic for different issues in the relevant forum.August 2, 2017 at 7:47 pm #123320ars111ParticipantThis reply has been marked as private.August 3, 2017 at 11:31 am #123399H.K. LatiyanParticipantThis reply has been marked as private.August 3, 2017 at 11:33 am #123401H.K. LatiyanParticipantIt doesn't matter if the instructor is the admin of the course, it only depends on the batch admin, the instructor must be the batch admin and then only he/she can manage the batch.August 3, 2017 at 8:32 pm #123487ars111ParticipantThis reply has been marked as private.August 4, 2017 at 11:47 am #123544H.K. LatiyanParticipantHi, Thanks for the video. Firstly you are using the co-authors plugin and when I edited those two courses you showed in backend I found the author was not set, so I set it properly. In the video the instructing courses were showing empty but now it will show the two courses in it. My courses are the courses in which the user is enrolled. --------------- As I mentioned your course author was not set properly so I set it now, but in woocommerce product you cannot change the author. So the issue here is I guess that the instructor has not created the other product and hence he/she is not able to see it. Try creating a new product and then you'll see that the product is shown to instructor. ---------------- No its not possible to create variations from front end this is only possible from wp-admin area.August 5, 2017 at 4:40 pm #123742ars111ParticipantThis reply has been marked as private.August 8, 2017 at 6:15 am #123818H.K. LatiyanParticipantHi, Your website is under construction so if you try to access the register page while login then you will be redirected to the homepage because you are already registered and logged in member.August 22, 2017 at 11:40 am #125905ars111ParticipantThis reply has been marked as private.August 23, 2017 at 12:19 pm #126082Anshuman SahuKeymasterThis reply has been marked as private.August 23, 2017 at 8:16 pm #126159ars111ParticipantThis reply has been marked as private.
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
- The topic ‘Change everywhere from instructors to partners’ is closed to new replies.