2001 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
+3 more
revaxarts says

I’m going to integrate a native update functionality in my next WP plugin and would like to serve the zip file directly from my server.

This way customers don’t have to redownload the plugin and upload it to their sites. The download will be protected with its purchase code.

Any concerns?

366 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Microlancer Beta Tester
  • Attended a Community Meetup
  • Bought between 100 and 499 items
+4 more
RightHere says

I’ve asked this question multiple times to Codecanyon and every time the answer has been clearly no.

However I’ve seen more and more authors staring to do automatic update of their plugins. I guess they are also tired of waiting for this service.

I don’t know if this policy has changed.

2821 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

I offer updates. Only had positive feedback from customers. The “correct” way to do this would be to show “an update is available” notifications in WordPress, with a link to the codecanyon plugin page (or a direct link to the “download file” URL which you can get via the API ).

2001 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
+3 more
revaxarts says

I offer updates. Only had positive feedback from customers. The “correct” way to do this would be to show “an update is available” notifications in WordPress, with a link to the codecanyon plugin page (or a direct link to the “download file” URL which you can get via the API ).

I have a notification like “normal” plugins from the wordpress repo. I just don’t like to use the url from the Marketplace API because users will see the purchasecode and their API key and some may don’t like that:

I’m using a standard URL and send the purchasecode via POST . Also I like to provide the usual “plugin information page”:

2001 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
+3 more
revaxarts says

Bump!

366 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Microlancer Beta Tester
  • Attended a Community Meetup
  • Bought between 100 and 499 items
+4 more
RightHere says

Of course we should be able to offer automatic updates like you can do it from wordpress.org.

We offer a ‘update available’ notification, but the client still needs to go to Codecanyon and download it. I haven’t thought about the API option. If there already a script ready for this option ?

2001 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
+3 more
revaxarts says
I modified a found class for this purpose which works quite well. All you have to return is a JSON in this format:
Array (
     [version] => 1.1 //recent version
     [upgrade_notice] => Some short info
     [download_url] => http://YOURDOWNLOADURL
)

For the plugin api you need something similar (which get transmitted with the same request):

Array (
    [name] => Plugin Name
    [version] => 1.1
    [author] => yourusername
    [author_profile] => http://themeforest.net/yourusername
    [requires] => 3.3
    [tested] => 3.4
    [homepage] => http://yourhomepage.com
    [sections] => Array (
         [description] => description
         [installation] => installation
         [changelog] => changelog
         [more_stuff] => more_stuff
     )
    [download_link] => http://YOURDOWNLOADURL
)

I’m sure Envato could implement a similar way without using secret keys in the URI but that…

366 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Microlancer Beta Tester
  • Attended a Community Meetup
  • Bought between 100 and 499 items
+4 more
RightHere says

I modified a found class for this purpose which works quite well. All you have to return is a JSON in this format: I’m sure Envato could implement a similar way without using secret keys in the URI but that…

Thank you I appreciate it! ;)

by
by
by
by
by
by