Moodle Plugins directory: Enrol-Cvent: Versions: 2013021600 | Moodle.org
Enrol-Cvent
Enrolment ::: enrol_cvent
Maintained by
Matt Oquist
If you're a Cvent customer (cvent.com) and you've got access to their integration API, this enrollment module allows you to get new and updated user accounts and enrollments from Cvent.
Enrol-Cvent 2013021600
Moodle 2.0, 2.1, 2.2, 2.3, 2.4
Released: Sunday, May 19, 2013, 3:14 AM
Moodle-Cvent
Sponsored by:
United States Baha'i National Center: http://tab.usbnc.org
Supported Moodle versions:
* 2.0+
Introduction:
If you're a Cvent customer and you've got access to their integration API,
this enrollment module allows you to get new and updated user accounts and
enrollments from Cvent.
The code is designed to make the best possible use of their API, attempting
to get all (but only) the necessary data to keep moodle up-to-date while
using the smallest possible number of API calls. (Cvent limits the number of
calls that can be made within a 24-hour period.)
This has been developed specifically for one client, but the hope is that
others will also find this to be useful. Comments, questions, and patches
are welcome!
Installation:
Rename this directory to 'cvent', and copy it into your own moodle under the
"enrol" directory. Then go to http://yourmoodle.tld/admin/ in your browser.
This will create the DB tables. Then go to
http://yourmoodle.tld/admin/settings.php?section=manageenrols to enable the
Cvent module and configure its settings.
You MUST be a Cvent customer with access to their API service, because in
the settings page you'll need to enter the authentication information
(username, account number, and password) they give you for their API.
Dependencies:
You must have the PHP xmlrpc and curl libraries installed on your system.
If you're running Ubuntu, for example, you can probably get these by running
the following commands in a terminal:
$ sudo apt-get install php5-xmlrpc php5-curl
$ sudo /etc/init.d/apache2 restart
Synchronizing:
This plugin uses Moodle's cron() feature to synchronize regularly.
Each execution of the cron() for this enrolment plugin should use no more
than 8-12 Cvent API calls, unless you have more than 10k updates in between two
runs of this script.
Testing:
Just to be sure the basic connection works, you can execute the following on
the command line:
php enrol/cvent/cli/test.php
Without any arguments, that script will just attempt to make a connection to
Cvent. The script will tell you whether the connection was successful.
test.php can do other things, too, and it's intended that developers will
monkey with it as needed for debugging.
TODO:
* add configuration settings that determine how user provisioning works
* how do we check for pre-existing accounts?
* how do we set username/password for new accounts?
* document how user provisioning and enrollment handling work
Matt Oquist
Sat Mar 10 14:39:33 EST 2012
Sponsored by:
United States Baha'i National Center: http://tab.usbnc.org
Supported Moodle versions:
* 2.0+
Introduction:
If you're a Cvent customer and you've got access to their integration API,
this enrollment module allows you to get new and updated user accounts and
enrollments from Cvent.
The code is designed to make the best possible use of their API, attempting
to get all (but only) the necessary data to keep moodle up-to-date while
using the smallest possible number of API calls. (Cvent limits the number of
calls that can be made within a 24-hour period.)
This has been developed specifically for one client, but the hope is that
others will also find this to be useful. Comments, questions, and patches
are welcome!
Installation:
Rename this directory to 'cvent', and copy it into your own moodle under the
"enrol" directory. Then go to http://yourmoodle.tld/admin/ in your browser.
This will create the DB tables. Then go to
http://yourmoodle.tld/admin/settings.php?section=manageenrols to enable the
Cvent module and configure its settings.
You MUST be a Cvent customer with access to their API service, because in
the settings page you'll need to enter the authentication information
(username, account number, and password) they give you for their API.
Dependencies:
You must have the PHP xmlrpc and curl libraries installed on your system.
If you're running Ubuntu, for example, you can probably get these by running
the following commands in a terminal:
$ sudo apt-get install php5-xmlrpc php5-curl
$ sudo /etc/init.d/apache2 restart
Synchronizing:
This plugin uses Moodle's cron() feature to synchronize regularly.
Each execution of the cron() for this enrolment plugin should use no more
than 8-12 Cvent API calls, unless you have more than 10k updates in between two
runs of this script.
Testing:
Just to be sure the basic connection works, you can execute the following on
the command line:
php enrol/cvent/cli/test.php
Without any arguments, that script will just attempt to make a connection to
Cvent. The script will tell you whether the connection was successful.
test.php can do other things, too, and it's intended that developers will
monkey with it as needed for debugging.
TODO:
* add configuration settings that determine how user provisioning works
* how do we check for pre-existing accounts?
* how do we set username/password for new accounts?
* document how user provisioning and enrollment handling work
Matt Oquist
Sat Mar 10 14:39:33 EST 2012
Version information
- Version build number
- 2013021600
- Can be updated from
- 2012031000, 2011060300, 2011060300, 2012061500, 2012112800, 2012120200
- Can be updated to
- 2013051800
- Maturity
- Stable version
- MD5 Sum
- 7749edc9b3a0d825bbf91d619a0387a7
- Supported software
- Moodle 2.1, Moodle 2.0, Moodle 2.2, Moodle 2.3, Moodle 2.4
- The more recent release 2014021100 exists for Moodle 2.0
- The more recent release 2014021100 exists for Moodle 2.1
- The more recent release 2014021100 exists for Moodle 2.2
- The more recent release 2014021100 exists for Moodle 2.3
- The more recent release 2014021100 exists for Moodle 2.4
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Enrolment
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myenrol") in the "enrol" subdirectory.
- Visit http://yoursite.com/admin to finish the installation