Implement MW Plugin into Custom Website
Summary / TL:DR: This article will show you how to use implement MW plugin into custom website
The original goal was to practice using MW calls in a completely created from scratch website. A more specific goal was to return all free lists / email status based off of an email address. Here are the steps I took:
Submit a ticket to IT (DNS Request Form) to request an internal DNS zone using a subdomain with YourUsername.14west.io to point to your machine’s IP address. https://jira.14west.us/projects/ITST/queues/issue/ITST-65050
Download XAMPP and WordPress on your machine and then have IT install them:
https://www.apachefriends.org/download.html
(XAMPP - use the latest version at the bottom)
Follow these instructions to Install XAMPP and host WordPress: https://www.wpbeginner.com/wp-tutorials/how-to-create-a-local-wordpress-site-using-xampp/
You may need to copy the phpMyAdmin file into the
C:\Xampp\htdocs
folder to access the database app that comes with XAMPP through your IT-given domain (spowell.sites.14west.io/phpMyAdmin)
Follow these instructions to get your domain SSL certified: https://shellcreeper.com/how-to-create-valid-ssl-in-localhost-for-xampp/
You will need to physically type https:// before your full domain to see the security.
Create a GitHub account and contact Karolis Pliauskys to obtain permission to the Middleware Plugins (2 – Base and Authentication) on GitHub
Download the zip files, unzip them, and then copy them to C:\Xampp\htdocs\website1\wp-content\plugins
NOTE: “website1” is the name you choose for your WordPress folder
Activate the Base Plugin first and then activate the Authentication Plugin
You will need to install a plugin that interprets PHP in WordPress
I used PHP code snippets (Insert PHP)
Use the Github Wiki page and Code page to find useful snippets and a library of calls that can used with the plugin: https://github.com/ThreefoldSystems/Middleware-Base/blob/master/classes/agora_middleware_wrapper.php
Wrap up
You should now know how to use implement MW plugin into custom website