jmontoya 838608e5d1 Remove use of $_configuration use api_get_path() or api_get_configuration_value 8 năm trước cách đây
..
ajax 5fbfdf104d Updating settings 9 năm trước cách đây
cron 0fe954e854 Switch all session.date_start and date_end to session.access_start_date and access_end_date - refs #7719 9 năm trước cách đây
lang 4a3802dd22 Adding an institution column in the admin interface to validate inscription -refs BT#10582 9 năm trước cách đây
src 530d559c8b Adding verification of the session publication date if date indicated -refs BT#10751 9 năm trước cách đây
test 838608e5d1 Remove use of $_configuration use api_get_path() or api_get_configuration_value 8 năm trước cách đây
views 4a3802dd22 Adding an institution column in the admin interface to validate inscription -refs BT#10582 9 năm trước cách đây
README.md 1d950f168c Minor - Review documentation - refs BT#9092 9 năm trước cách đây
config.php 64baa31667 Fix Acept button with subscription restrictions - refs BT#9092 9 năm trước cách đây
index.html 54372874fb rename plugin folder name - refs BT#9092 9 năm trước cách đây
install.php 54372874fb rename plugin folder name - refs BT#9092 9 năm trước cách đây
license.txt 54372874fb rename plugin folder name - refs BT#9092 9 năm trước cách đây
plugin.php 54372874fb rename plugin folder name - refs BT#9092 9 năm trước cách đây
readme.txt cb576b57c0 Update readme file - refs BT#9092 9 năm trước cách đây
uninstall.php 54372874fb rename plugin folder name - refs BT#9092 9 năm trước cách đây

README.md

Advanced subscription plugin for Chamilo LMS

Plugin to manage the registration queue and communication to sessions from an external website creating a queue to control session subscription and sending emails to approve student subscription requests

Requirements

Chamilo LMS 1.10.0 or greater

Settings

These settings have to be configured in the Configuration screen for the plugin

Parameters Description
Webservice url Url to external website to get user profile (SOAP)
Induction requirement Checkbox to enable induction as requirement
Courses count limit Number of times a student is allowed at most to course by year
Yearly hours limit Teaching hours a student is allowed at most to course by year
Yearly cost unit converter The cost of a taxation unit value (TUV)
Yearly cost limit Number of TUV student courses is allowed at most to cost by year
Year start date Date (dd/mm) when the year limit is renewed
Minimum percentage profile Minimum percentage required from external website profile

Hooks

This plugin uses the following hooks (defined since Chamilo LMS 1.10.0):

  • HookAdminBlock
  • HookWSRegistration
  • HookNotificationContent
  • HookNotificationTitle

Web services

This plugin also enables new webservices that can be used from registration.soap.php

  • HookAdvancedSubscription..WSSessionListInCategory
  • HookAdvancedSubscription..WSSessionGetDetailsByUser
  • HookAdvancedSubscription..WSListSessionsDetailsByCategory

See /plugin/advanced_subscription/src/HookAdvancedSubscription.php to check Web services inputs and outputs

How does this plugin works?

After install, fill the required parameters (described above) Use web services to communicate course session inscription from external website This allows students to search course sessions and subscribe if they match the requirements.

The normal process is:

  • Student searches course session
  • Student reads session info depending student data
  • Student requests to be subscribed
  • A confirmation email is sent to student
  • An authorization email is sent to student's superior (STUDENT BOSS role) or admins (when there is no superior) who will accept or reject the student request
  • When the superior accepts or rejects, an email will be sent to the student and superior (or admin), respectively
  • To complete the subscription, the request must be validated and accepted by an admin