Issue assigning users to courses in multisite

Home Forums Legacy Support Support queries Other issues Issue assigning users to courses in multisite

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #188353
    damiko
    Participant
    When I am in an individual site and I try to add a user to a course in the course admin, the autocomplete loads all users from all sites in the network. Aside from being confusing, it imposes some privacy risks as well. Example: https://i.imgur.com/4Xlh1PU.png How do I only search users that are assigned to that site in this query? Note: I am also having a lot of trouble getting the gradebook to only load users from the single site. It seems to be grabbing users from other sites at random. Could this be a related issue? Thanks, Mike
    #188355
    damiko
    Participant
    This reply has been marked as private.
    #188430
    Anshuman Sahu
    Keymaster
    Yes you might suffer from both of these coz there is no multisite check in queries of both these options  . We need to add some constraint for current site only  to those queries : https://stackoverflow.com/questions/27495552/how-to-get-users-who-belong-to-a-wordpress-multisite-blog-site-with-sql
    #209340
    gsjaak
    Spectator
    Hi is there an update on this? Very much struggling with this as well!
    #209449
    Mk
    Moderator
    Well yes we have created a plugin to tackle this problem . But the issue is it wont sync up the data of existing users for courses . But if you are doing a fresh install the fix plugin works well . https://wplms.io/support/knowledge-base/wplms-multisite-usermeta-fix/   currently if you install it on existing site,it may be possible that your students wont show up in courses at all . I.E all students might now show up in course admin which is because you data does not have site id mapped into it. But when user is added to course again they will be added with new data and show up in course admin . Same with the quizzes and its results and retakes .   We still need to create a sync module in order to fix the existing data of users in multisite by mapping the old data of user with his site id .
    #209454
    gsjaak
    Spectator
    Hi Thanks for the response! I have this fix installed and it solves some problems indeed. As a users is not auto added to a course with the same ID in a different subsite. However, in the admin section of a course I can still browse all the students of the network. Thus I can add students that dont even have an account on the subsite. This should not be possible. It would be amazing if u can get a fix for this too.
    #209592
    Mk
    Moderator
    Sure, thanks for checking it. One request to you. Please create a new topic with your issue so that we can check at your site and communicate with you directly. Thanks in advance.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Issue assigning users to courses in multisite’ is closed to new replies.