Synchronise WordPress users with Course-specific Mautic Segments depending on Courses (subsites) with which they are associated.
  • PHP 91.6%
  • JavaScript 7.5%
  • CSS 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-07-04 22:42:28 +12:00
app added configurable 'partner' code, stored in database, based on the partner organisations or free text 2022-04-05 20:17:34 +12:00
docs adding a special page for sites-specific Mautic-sync administration 2017-04-07 15:53:04 +12:00
experiments adding a few experimental scripts just to hammer out coding constructs that might be useful for others looking at this project 2019-01-18 12:59:47 +13:00
includes update to add FOSSDLE as a partner 2023-07-04 22:42:28 +12:00
scripts created script to build country array for selects, using both ISO and mautic-specific country lists to map ISO abbr to mautic countries, updated hooks to automatically created and update WP user changes and course un/enrollment in relevant mautic segments, create contacts, and provide an admin interface 2019-03-22 16:54:34 +13:00
.gitignore working initial queries 2017-03-29 16:37:15 +13:00
composer.json nearly working test suite 2019-05-01 11:45:47 +12:00
LICENSE Initial commit 2017-01-20 16:59:38 +13:00
mautic-app.php added configurable 'partner' code, stored in database, based on the partner organisations or free text 2022-04-05 20:17:34 +12:00
mautic-site-demographics.php fixed: #9 register a new user in course context, creating a suitable IS Segment if required, joining that new user's Contact to the Segment and populating the cache m_segments value properly. Phew 2019-05-08 15:55:17 +12:00
mautic-site.php fixed: #9 register a new user in course context, creating a suitable IS Segment if required, joining that new user's Contact to the Segment and populating the cache m_segments value properly. Phew 2019-05-08 15:55:17 +12:00
README.md Update README.md to include Code of Conduct. 2019-01-21 20:47:08 +00:00

wpms-mautic

Synchronise WordPress (in Multi-Site configuration) users with Course-specific Mautic Segments depending on Courses (network or blog subsites) with which they are associated.

Employs the Mautic API with Basic Authentication. Assumes both endpoints (the WP Multi-Site implementation and the Mautic API) are HTTPS (or on a closed network).

We want to add WordPress users who sign up for a specific course, to be added to that course's email list. We also want to update the user's details (like email address or name) they change their profile, honour any requests to "opt out" of the emails, or remove them from the list when the course completes.

More info available in docs.

This plug-in is the work of the Open Education Resource Foundation on behalf of the OERuniversitas (http://oeru.org). We are using WordPress to deliver open courses (using exclusively openly licensed (CC-By or CC-By-SA) course materials) assembled by our partners on one of our other initiatives: http://wikieducator.org You (and your institution) are also welcome to use these materials, and are invited to consider becoming OERu partners!

WordPress (open source multi-site blog engine): https://codex.wordpress.org/Create_A_Network

Mautic (open source email marketing engine): https://mautic.com and https://github.com/mautic/mautic

Code of Conduct

This project has adopted the Contributor Covenant Code of Conduct - see the latest version: https://www.contributor-covenant.org