Daniel Barreto 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
..
ajax bc8088f103 Rename variables, constants, plugin table, update mail header logo dir - refs BT#9092 10 년 전
cron 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
lang 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
src 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
test bc8088f103 Rename variables, constants, plugin table, update mail header logo dir - refs BT#9092 10 년 전
views 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
README.md cb576b57c0 Update readme file - refs BT#9092 10 년 전
config.php 5455a67fef Add cron notify by mail and scripts to plugin - refs BT#9094 10 년 전
index.html 54372874fb rename plugin folder name - refs BT#9092 10 년 전
install.php 54372874fb rename plugin folder name - refs BT#9092 10 년 전
license.txt 54372874fb rename plugin folder name - refs BT#9092 10 년 전
plugin.php 54372874fb rename plugin folder name - refs BT#9092 10 년 전
readme.txt cb576b57c0 Update readme file - refs BT#9092 10 년 전
uninstall.php 54372874fb rename plugin folder name - refs BT#9092 10 년 전

README.md

Advanced subscription plugin for Chamilo LMS

Plugin for managing 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 request

Requirements

Chamilo LMS 1.10 or greater

Settings

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 use the next hooks:

  • HookAdminBlock
  • HookWSRegistration
  • HookNotificationContent
  • HookNotificationTitle

Web services

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

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

How plugin works?

After install plugin, fill the parameters needed (described above) Use Web services to communicate course session inscription from external website This allow to student to search course session and subscribe if is qualified and allowed to subscribe. The normal process is:

  • Student search course session
  • Student read session info depending student data
  • Student request a subscription
  • A confirmation email is send to student
  • An email is send to users (superior or admins) who will accept or reject student request
  • When the user aceept o reject, an email will be send to student, superior or admins respectively
  • To complete the subscription, the request must be validated and accepted by an admin