I have trouble or don’t understand how Update Manager works.
Follow the docs:
For testing setup two CP websites:
1. https://plugins.webkust.be (where installed en configured the UM plugin and the plugin Alerter (v0.5.5).
2. https://classicpress.webkust.be were adding also the Alerter plugin (v0.5.5).
Before beginning, both websites has Alerter version 0.5.5 (with the update script)
What i did:
Adding the UpdateClient.class.php in plugin’s root
Change this lines:
// EDIT: Make this unique. Example: YourDevName\YourPluginName;
// EDIT: URL where Update Manager is installed; with trailing slash!
const UPDATE_SERVER = ‘https://plugins.webkust.be/’;
Edit alerter.php: adding this line: require_once(‘UpdateClient.class.php’);
On website 1:
Configure the plugin endpoint https://plugins.webkust.be/?update=plugin_information&plugin=alerter/alerter.php&site_url=https://plugins.webkust.be
For testing, adding the text in the readme.txt ‘Compatible with CP’ adds an upgrade notice, and also change the version in the plugin-head to 0.6.0
But nothing happens on website 2
Can someone explain me why it doesn’t work? Or what i’m doing wrong?
Can someone explain how the push triggerd? Is this when change the Version in plugins head php-file?