Update Checking (*) > Invisionize.eu - IP.Board (IPB) News
Kanał Rss Kanał Rss
Kanał Atom Kanał Atom

Update Checking (*)

wersja drukowalna wersja Microsoft Word wersja HTML

IPS Community Suite can periodically check for updates to your application, plugin or theme and present a message in the Admin CP if an update is available.

When creating your application, plugin or theme you can specify a URL. IPS Community Suite will send a request to the specified URL periodically with a "version" parameter specifying the current version ID number. For example, if you specify the URL as:

http://www.example.com/myapp/check.php

And someone is using a version of your application with the version ID "10002", then the request will be sent to:

http://www.example.com/myapp/check.php?version=10002

 

This URL should return with a JSON-encoded object with the following properties:

For example, you might return something like this:

{
    "version": "2.0.0",
    "longversion": 20000,
    "released": 1423841958,
    "updateurl": "http://www.example.com/myapp/download"
}

 

For a live example, the URL for checking for updates to the IPS Community Suite itself is:

http://remoteservices.invisionpower.com/updateCheck

You can visit this URL to see what is returned for the IPS Community Suite.

groups2.PNG

copy.PNG

czw, 01 wrzesień 2016