ThemeForest

Can I host my own files for updates?

1763 posts
  • Microlancer Beta Tester
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 3-4 years
  • Austria
  • Exclusive Author
  • Referred between 200 and 499 users
+2 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?

362 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Microlancer Beta Tester
  • Exclusive Author
  • Most Wanted Bounty Winner
  • 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.

2333 posts
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Elite Author
  • Contributed a Blog Post
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 4-5 years
+8 more
dtbaker 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 ).

1763 posts
  • Microlancer Beta Tester
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 3-4 years
  • Austria
  • Exclusive Author
  • Referred between 200 and 499 users
+2 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”:

1763 posts
  • Microlancer Beta Tester
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 3-4 years
  • Austria
  • Exclusive Author
  • Referred between 200 and 499 users
+2 more
revaxarts says

Bump!

362 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Microlancer Beta Tester
  • Exclusive Author
  • Most Wanted Bounty Winner
  • 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 ?

1763 posts
  • Microlancer Beta Tester
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 3-4 years
  • Austria
  • Exclusive Author
  • Referred between 200 and 499 users
+2 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…

362 posts
  • Elite Author
  • Author had a File in an Envato Bundle
  • Microlancer Beta Tester
  • Exclusive Author
  • Most Wanted Bounty Winner
  • 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