Jump to content
BUY ANY PRODUCTS FROM OUR STORE AND GET 10% OFF USING COUPON CODE 10%Off IN THE CHECKOUT ×

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
Flash Modding
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


Profile Gifts

  • Share this post


    Link to post

    I created a application so you would not have to keep editing / updating files to your servers

     


    Profile Gifts

  • 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

    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.