499 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Hello fellas,

everybody likes videos more than words, so first things first, here’s what we’re talking about: http://youtu.be/3UNA5AHEFF0

A while ago, envato released its wordpress toolkit which is great and we used it to include the automatic updates feature in our themes.

However, using a custom Theme_Upgrader turned out to be not such an easy task and we ended up adding quite some glue code. So, inspired by a recent thread here in the forums, we did a small research and found this

https://github.com/jeremyclark13/automatic-theme-plugin-update

In short, the author uses the “pre_set_site_transient_update_themes” to inject custom updates in the native WordPress update system, which is so great because all you need to do now is using the Envato API to
  1. check if your theme has an update
  2. get the download link
  3. inject the above in the WordPress update system

So we created a small class using only class-envato-protected-api.php from the Envato toolkit and made available for all authors to download and use in their own theme: download link

BF

283 posts Premium Website Design
  • Has referred 1000+ members
  • Has sold $2M+ on Envato Market
  • Interviewed on an Envato blog
  • Has collected 10+ items on Envato Market
+3 more
ThemeFusion says

Awesome!

Thanks pixelentity.

1243 posts
  • Provided great contribution to our forums
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
Smartik says
Forbidden

You don’t have permission to access /wp-content/uploads/2012/09/pixelentity-theme-update.zip on this server.

I can’t download it. :(

EDIT : After “page reload” I was able to download it.

499 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Fixed link

sorry about that

3616 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

Bookmarked! This is really awesome and nice from you to giveaway! :)

Will definitely implement when i have the time .. ;)

2084 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Provided great feedback to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+9 more
revaxarts says

This looks awesome! Does it work with plugins too? How users provide purchasecode and API key?

Edit: ok I’ve read the readme – seems plugins doesn’t work with this

101 posts
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
PixelBook says

just awesome.

no more purchase codes. the buyer needs to enter only his username and api key. nice

499 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Does it work with plugins too? How users provide purchasecode and API key?
Nope, as far as i know, envato apis only handle theme updates for now.

Purchase code is not needed, only buyer username/api key. The class must be provided the values, how to get them from the end user is author business but one would tipically add a couple of extra fields in theme options page.

BF

1740 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
+6 more
Firsh says

Is there any solution for WP plugins?

327 posts just a random dude...
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+6 more
trendyWebStar says

Will check it out for sure! :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by