GithubHelp home page GithubHelp logo

arozellia / moodle-cvent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moquist/moodle-cvent

0.0 0.0 0.0 239 KB

Get user and enrollment data from Cvent into your very own moodle

License: Other

PHP 100.00%

moodle-cvent's Introduction

Moodle-Cvent

Sponsored by:
    United States Baha'i National Center: http://american.bahai.us/

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:
    
    1. in the settings page you'll need to enter the authentication information
       (username, account number, and password) they give you for their API, and
    2. you must contact Cvent (or use their administration panel) and give them
       your server's IP address so they can add it to their whitelist.

    If you have any authentication errors (such as "INVALID_LOGIN"), please be
    sure both of these things have been done.


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.

    CLI: Execute php enrol/cvent/cli/sync.php

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 <[email protected]>
Updated Sat May 18 15:23:37 EDT 2013

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.