Flat File Enrollment Help

Flat File Enrollment Help

by Deon Metelski -
Number of replies: 2
Hello fellow moodlers!

I am embarking on trying to make my admin life easier. Excuse my lack of knowledge in areas. I am trying to use the flat file enrollment feature in Moodle 1.5.

My setup is as follows. The school is using mambo as the cms. I am using the database of usernames and passwords from there and hooked into moodle as an external database authentication. So I am using that as the authentication and am trying to use a flat file for enrollment. I think I have the format correct but I have a question about how to show the filepath.

ex. of line in text doc.
add,student,mbrown,Math7,Sci7,SS7,ELA7 (this is the first line in my text file)

ex. of path I have set for file
D:\xamp\xampp\htdocs\lms\enrollflatfile\moodle_userlist_2005.txt

Any help is appreciated.

Thanks,
Deon
Average of ratings: -
In reply to Deon Metelski

Re: Flat File Enrollment Help

by denis cahalane -
Hi Deon, I take it this isn't working for you. Firstly your format is wrong; you can only associate a student with one course per line. You need something like
add,student,mbrown,Math7
add,student,mbrown,Sci7
etc.

As to your path, the point about it is that the file has to be accessible by your web server. You'll know it's working correctly if the file disappears, because it gets deleted as soon as it's processed. If that's not happening, try putting it inside the moodledata directory.


In reply to denis cahalane

Re: Flat File Enrollment Help

by maye galeano -
Hi, o have the same problem, i am working with moodle 1.7

i have just one course per line:

add,student,11,8055H
add,student,11,8055G

and the file are :
W:\www\moodledata\1\moddata\enrolment
But: 1. moodle change "\" by "\\\"
2. nothing happen with the enrolments

Thanks so much!!!
MAYE