Administrator registration
The administrator must start by registering as a tutor with the page SITENAME/Inscription?fonction=tuteur (the first user to register is automatically validated as an administrator).
After connecting to the administration interface (at SITENAME/Administration), the following menu appears :
- New registrations
- Valid users, open accounts
- All valid users
- Creation of the website
- Website
New registrations is used to validate registrations to the training website. Valid users, open accounts and All valid users are used to manage user accounts. Creation of the website is used to generate the training website (for students and tutors) and the public website. Website redirects to the training website, for instance to check student readings.
The following fields are displayed for each registration query :
- User name
- Lastname
- Firstname
- Email
- Role
The remove action is available to quicly remove queries.
To validate a registration query, it is necessary to :
- click on the link on the user name
- if it's a student, assign a tutor (the tutor list is available in a menu)
- check the "Valid" checkbox
- click on the button "Save the fields"
A registration validation is of course also a good time to check the fields, especially the email address.
When a registration is validated, an email is sent to the user to warn him. If it is a student with a tutor, another email is sent to the tutor with the student identification. It is possible to assign a tutor after validation, but in this case no email is sent to the tutor.
Fields :
- User name: only lowercase letters without accent and digits are allowed in the user name.
- Lastname
- Firstname
- Password
- Email
- Role; possible values : student, tutor, supertutor (same as tutor but with access to information on all students), author (same rights as a tutor but does not appear in the list of tutors), administrator (access to the administration interface), system (all privileges)
- Birthdate: birthdate with the format YYYY-MM-DD
- Training: code for the training
- Level (unused by default) (scientific, not scientific)
- Modules (unused by default): modules followed by a student
- Subject (unused by default): subject taught, for the teachers training
- Class (unused by default): class taught, for the teachers trainin
- Registration date: date the registration was sent, with the format YYYY-MM-DD
- Closing date: date the account was closed, with the format YYYY-MM-DD if it is closed. Empty if the account is open. A method to close an account consists in writing today's date in this field.
- Tutor: the interface lists all tutors to make it easier to select one.
- Center: training center (unused by default)
- Valid: checked if the registration has been validated. A way to sent validation emails again consists in unchecking the valid checkbox, save the fields, recheck the checkbox and re-save.
User address :
- Street
- Zip code
- Town
- Country
- Phone number
- Connection
- Access
Actions availables with the user lists :
- Close : sets the account closing date to today's date
- Remove : after a confirm, deletes the account with all associated information (connections, page readings, replies to exercises)
If the server configuration includes the path to the websites, it is possible to automatically generate a training website (for students and tutors) and a public website based on the corresponding XPAGES contribution in WebJaxe. The two websites can be created independantly.
If a website already exists, its folder will be renamed with the "old" suffix. It should be later removed by hand on the server.
As a reminder, the following differences exist between the websites :
- The public website does not display answers for evaluation exercises. As opposed to the student website and the tutor website, no dynamic tool is available (forum, chat, search engine).
- The student website contains the forms in the evaluation exercises to let students send their replies with the reply editor. Some other tools are available, but links should be made to them from the home page (search engine, forum, chat, replies to exercises, link to the latest visited page).
- The tutor website displays the answers for the evaluation exercises. As with the student website, some tools are available but links to them should be added on the home page (search engine, forum, chat, student readings, replies to exercises).
A problem for the link to the tools is that by default the same home page is generated for the students and the tutors. In practice, home pages are often created by hand and the index.html files are replaced by hand after the website generations.
Maintenance
Removing the old records for exercises, readings and connections, example with the date "2008-08":
do SQL queries directly on the database (currently there is no web interface to do that) :
delete e.* from exercices e where e.date < '2008-08'
delete l.* from lectures l,connections c where c.debut < '2008-08' and l.numconnection=c.numero
delete c.* from connections c where c.debut < '2008-08'