Moodle Site Configuration (For Edwiser Bridge v1.4.3 and above)
NOTE: Make sure that your PHP is version 5.6 or greater (compatible with the latest PHP 7.3 too)
- Go to your Moodle site > Site Administration > Plugins > Install plugins > Download and Install the Edwiser Bridge Moodle plugin. Find the download button below.
Note: This is a Moodle extension of Edwiser Bridge Plugin and therefore it is supposed to be uploaded on the Moodle site and not on WordPress site. Moodle plugin type is local for this plugin. Upload in local folder if you are uploading this plugin using FTP in your Moodle environment.
- After installing the plugin, upgrade your Moodle database (if needed). A ‘New Settings – Edwiser Bridge’ page will appear. If you have never created web service for Edwiser specifically, click on the ‘Select Web Service’ drop down and click on ‘-Create new Web Service’. If you have already created web service for Edwiser Bridge, that web service will be listed in the dropdown and you can select that too.
- When you ‘Create new Web Service’, you will be provided an option to name the web service which you are going to create. Enter a name of your choice. The ‘Select Users’ dropdown will only display the admin users. Select the admin user and click on ‘Create’ and then ‘Save Changes’.
- After the creation of the new web service, you will see a pop-up consisting of the Moodle site URL and the token.
- Copy the URL and token and paste it in your WordPress site. Go to your WordPress backend > Edwiser Bridge > Settings > Connection settings. Paste the Moodle URL and token and click on ‘Test Connection’. The connection should be established.
- That’s it! Edwiser bridge has been successfully configured on your Moodle and WordPress end. You can directly move to the ‘Synchronization Options’ tab on your left in the documentation to synchronize the courses.
Enable the REST Protocol
- Go to Site Administration –> Plugins –> Web Services –> Manage Protocols.
- Click on the grey icon in the REST protocol row to enable the REST protocol and save the changes made.
Enable Web Services
- Go to Site Administration –> Advance features, check the ‘Enable Web Services’ field and click ‘Save Changes‘ to save the changes you have made.
Disable Password Policy
- Users will register for courses from the WordPress website. Their password for the Moodle website will also be created on WordPress. Therefore, we will have to change the Moodle website’s password policy, or else a user’s Moodle account will not be created after course registration.
- To disable the password policy go to Home -> Site Administration -> Security -> Site Policies and disable the Password policy by unchecking the check-box.
- With that last bit on disabling the password policy, we have completed the Moodle end configurations for the WordPress – Moodle integration to work seamlessly.
Enable Extended Characters in Username
- A username created in WordPress can have characters. Therefore, it is mandatory to enable this setting in Moodle. Navigate to Site administration > Security > Site security settings > Enable Allow extended characters in usernames.