Jump to content

Sticky Notes

TIred of boring messages spread across your board?

Then liven it up by downloading Sticky Notes

Not only can you pick and choose what user groups to show them to, you can even allow your members to send personal sticky notes to other members

TheJackal TheJackal
Sign in to follow this  
TheJackal

How to create a update check file

Recommended Posts

In this tutorial I will show you how to make a update check file for your application / plugin,

Firstly open your notepad++ or whatever your using and create a php file and name it for example MyApplication.php inside you will need to add a bit of information from your application / plugin

You will need to add

  • The version number
  • The long version number
  • The release date
  • The URL to the file

And we will send the header as json and then echoing a array of information from the application / plugin

  header('Content-type: application/json');

  $arr = array (
    "version" => "1.0.1",
    "longversion" => 10001,
    "released" => 1508427681,
    "updateurl" => "https://invisioncommunity.com/files/file/myfile/"
  );

  echo json_encode($arr);

the release date is a unix timestamp you can find that here

The full php file should look like

<?php

  header('Content-type: application/json');

  $arr = array (
    "version" => "1.0.1",
    "longversion" => 10001,
    "released" => 1508427681,
    "updateurl" => "https://invisioncommunity.com/files/file/8583-df42-advanced-multi-tool/"
  );

  echo json_encode($arr);

?> 

Now you will upload that file to your server and in the dev center of your application / plugin you will direct the update check URL to that file

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

Demo Chatroom

You don't have permission to chat in this chatroom
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.