Cheers Marc, noted!
Cheers Marc, noted!
OK - am beginning to suspect the issue lies in your OU Containers for staff and students within the various config files. How to resolve this am not sure, unless you can get me a screencap of your AD Tree expanded down to the various user folders just so I can confirm they're definitely set correctly. Those being incorrect are about the only thing we can come up with for a cause...
I'll mail you a screenshot!
Made a few tweaks to this today to allow vertical option groups where CrsYear is null in the Facility teachinggroups table...
If you grab latest from moodle.org, just overwrite tgAJAJ.php, modAJAJ.php, and yearAJAJ.php in your Ajax folder with the ones from the archive.
Any teaching group where CrsYear is null in Facility will then show up in the teaching groups tree under year 0 when adding groups to courses.
Hi Marc
Does this block works with Moodle 2.x?
Not yet, nope...

Is it possible to just use the class group import for linking students to courses rather than everything with it?
eh...? Not sure what you mean...

The Moodle block has 3 features as i see it, one is putting students in Moodle, another is putting Parent Accounts in Moodle via the details in Facility and the other is allowing you to assign students to your course within Moodle from your Serco Teaching Group.
I have no desire for Parents to go in at present as and don't have any need for the Moodle / Serco block to handle my student accounts either as the LDAP plug-in works perfect well with our AD set-up, but allowing staff to assign students to the Moodle courses to save them saying oh how do I do that looks a good options for me![]()
Righty - no need to use the parent data bit. That can be ignored and only used if you so wish.
Unfortunately, you do need to use the Student Transfer option as this then links the relevant ID fields between user accounts in Moodle, users in Facility, and users in AD... and keeps the data sync'd, otherwise there is no cross reference between the members of teachinggroups in facility and your users in Moodle.
LDAP plugin works pefectly for anyone's AD setup, but it doesn't link the Moodle Users IDs to Facility Users.
(That said, if you manually ensure that the students' admin number from facility is in the idnumber field in mdl-user table, then it MAY work... but no guarantees)
Last edited by Marci; 22nd June 2011 at 02:09 PM.
john (22nd June 2011)
Hi their been trying to get the block working over the last week not sure if i am just getting it total wrong.
I am running
Windows 2008 r2 server
SQl 2008
IIS
PHP 5.3.8 non tread safe
Moodle 1.9.15+ build 20111201
installed the latest version on the facility to moodle block
creates tables
When i run student import I get
Initialising connections...
Attempting to connect to Facility database CMIS_ADMIN
Connection to Facility database successful.
Student transfer progress
Transferring BDN - bdn name: year 7
Attempting to connect to LDAP server
LDAP connection OK.
Connected to LDAP in active directory mode
LDAP bind successful.
Results returned=126
Attempting transfer of student: 11676 Lauren Aldridge - login = 11aldlau - last logged in = 2011-12-01
011676
Transfer type = INSERT
Transfer completed successfully.
Attempting transfer of student: 11695 Katy Allsworth - login = 11allkat - last logged in = 2011-12-06
011695
Transfer type = INSERT
Transfer completed successfully.
But when i go to browes list of user their are no entres for students
also when i look at the sql mbl_user table their are no student entres, and no entres in mdl_f2m_group_history, mbl_f2m_group_linker
Help Please
Not sure. If data isn't getting written to SQL, check your SQL server logs for any error messages... the block doesn't use anything out of the ordinary, just runs a regular INSERT query, and gets all the details for the tables etc directly from your main moodle config. Unfortunately I've never run it on Windows-based hosting myself to be able to advise in any detail.
Quick update on this block... The rewrites are going well, and I'm just left with sorting the JavaScript for the 'Add/Remove Teaching Group' functionality, then I should be able to release it back into the wild. It'll be 2.2+ compatible once I'm done.
Apols for the long period of silence... Change of employer meant it got back-burnered. Fortunately it's now been made a top priority job with my new employer.
Last edited by Marci; 17th January 2012 at 05:50 PM.
philwaud (17th January 2012)
That's great news that it is being updated! Can I ask is this just for Facility to Moodle, or is the Parent View block going to get the Moodle 2 treatment too?![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)