jsnmrk

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 40 total)
  • Author
    Posts
  • in reply to: Course auto-completing on last unit without user input #222300
    jsnmrk
    Spectator
    Hi There, I see this task is still on your active list on Trello. Has this been resolved yet. I see I have a Theme update available in my dashbord from 3.9.4 to 3.9.5 Has this issue been resolved in this update yet? Thanks!
    in reply to: Course auto-completing on last unit without user input #221923
    jsnmrk
    Spectator
    Hi Logan, This issue is not resolved at all. The same issue persists. I have cleared cache and tried in an incognito window. No matter which course I try when the last unit is navigated to it auto completes and exits the course within seconds. This does not allow the user to finish the last unit. I asked previously why this is happening as this issue only began to happen after we updated the theme. It never used to happen before, please can you give us an explanation of what is wrong here? We need this to be resolved ASAP please. Thanks.
    in reply to: Course auto-completing on last unit without user input #221663
    jsnmrk
    Spectator
    Hi There, Thanks for the reply. I did what you asked (cleared cache and reloaded) and still have the same result. My unit length is set to 30min and immediately on starting the last unit it autocompletes and ends the course. https://prnt.sc/oq7bwt This never used to happen before on our site, you always had to click "finish course" on the last unit on the bottom right navigation where "next unit" navigation appears on other units. What has changed in the update of WPLMS that now causes this? I'd like the user to manually click "finish course" on last unit. this is how it used to work. I'd like this again. How? Thanks.  
    in reply to: Course auto-completing on last unit without user input #221586
    jsnmrk
    Spectator
    This reply has been marked as private.
    in reply to: Adding courses to a specific USER role automatically. #210258
    jsnmrk
    Spectator
    Hi there again. An update on this and for anyone reading. I contacted Mini Orange  (the SSO plugin developer) support. They added into the plugin the generic " user_register " hook into their plugin, I updated the plugin (I'm using the premium version) and now the specified courses get added to users student profiles on first sign in via SSO. So I hope this post helps others. Here is what we did to achieve this:
    1. Installed this single sign on plugin
    2. Installed this user role editor plugin
    3. Created a custom user role (duplicated the current WPLMS student role and gave a new name)
    4. Added the code given by Logan above to WPLMS customizer plugin.
    5. Added the user role slug and course ID's to the code mentioned above.
    Hope this helps someone else who may be having this issue or need. :) Thanks too Logan!  
    in reply to: Adding courses to a specific USER role automatically. #209204
    jsnmrk
    Spectator
    This reply has been marked as private.
    in reply to: Adding courses to a specific USER role automatically. #208580
    jsnmrk
    Spectator
    Hi Logan, I have added the code as you suggested to the WPLMS customizer plugin, replaced with course ID's I needed added as well as the user role, but when a new user gets signed up to this role I created it IS NOT adding the courses to their profile. I have pasted below the exact code I am using. Please can you help here as to why this is not working? Thanks.  
    //SSO adding courses to custom created user role// add_action('user_register','add_mah_custom_curses'); function add_mah_custom_curses($user_id){ $courses = [7309]; //<---- enter your course ids here separated by commas//   //checking user role// $user = get_userdata( $user_id ); $roles = (array)$user->roles; if(in_array('mdlz_student',$roles)){ foreach ($courses as $key => $course) { bp_course_add_user_to_course($user_id,$course); } } }
    in reply to: Adding courses to a specific USER role automatically. #208213
    jsnmrk
    Spectator
    Hi Logan, Thanks I found the param value. Found it easily using your steps outlined above. I just want to make sure that when a NEW user registers they will still be registered at the 'default' role of STUDENT. It's ONLY the users signing on via SSO from our partner that will be signed up (using the code above) to this custom user role of SSO_STUDENT In other words, will what we are doing here NOT EFFECT the normal users registering on our site - they will still be registered at the default "student" role. Right? Thank for your help. I'm sure this post is going to be very helpful for others too.
    in reply to: Adding courses to a specific USER role automatically. #207991
    jsnmrk
    Spectator
    Hi Logan. Are you perhaps able to explain in detail the steps you would take to find the user role ID, so that I can perhaps do this part myself? Maybe it would also benefit the others reading this to know these steps. We have strict rules about who has administrative access to our site backend so would like to investigate this route first. Thank you.
    in reply to: Adding courses to a specific USER role automatically. #207974
    jsnmrk
    Spectator
    Thanks Logan. So am I waiting for more feedback from you on how to do this? An example snippet perhaps and where to find the correct user role ID etc?
    jsnmrk
    Spectator
    Hi, thanks for the reply. I’ve not tested it yet but will do so shortly. However before I do I’m just looking at the code and can see where custom course ID’s should be entered. But where in this code is the <u>custom user role</u> identified? I’d like only a certain USER ROLE to be assigned specific courses not all user roles. So where do I add in my custom user role I created, which I called “Student-SSO” ? Finally I just want to make sure there’s no spelling error in your code  you used “curses” in the first few lines of code, is this correct or should it be “courses” thanks.
    jsnmrk
    Spectator
    This reply has been marked as private.
    in reply to: Adding courses to a specific USER role automatically. #207615
    jsnmrk
    Spectator
    Hi again Logan, I know its not currently possible in WPLMS functionality. That however was not my question. My question is how am I able to achieve my desired result of adding specific courses to a custom user role I have made. Is there perhaps some code etc I can add to the WPLMS customization plugin that will help me achieve this desired result I’m looking for. If if you’re unable to help me please can you ask someone else on the WPLMS team to chime in here. Perhaps Alex - he was very helpful in the past. I’ve been a long time user of WPLMS and always renew my support. A solution would be greatly appreciated. Thanks.
    in reply to: Different Emails for Different Courses #199527
    jsnmrk
    Spectator
    Hi, is this feature available yet? I'd like to setup specific emails for specific courses to be sent after completion of individual units.
    in reply to: Prerequisite courses not working / selectable #92113
    jsnmrk
    Spectator
    Hi Alex, Thank you for your reply and the video. I see you have used the front end course editor. When I use this I can select prerequisite courses without problem/error The error however occurs on the back end when setting up the courses. Because I use the back end controls more frequently this is how you would be able to replicate the error. For the moment I could use the front end editor to select prerequisites but the back end editor would be helpful to use too. Thanks, Jason
Viewing 15 posts - 1 through 15 (of 40 total)