491 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Author had a Free File of the Month
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
+3 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

231 posts Premium Website Design
  • Interviewed on the Envato Notes blog
  • Power Elite Author
  • Referred between 500 and 999 users
  • Power Elite Author: Sold between 2 000 000 - 4 999 999 dollars
  • Exclusive Author
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ThemeFusion says

Awesome!

Thanks pixelentity.

1077 posts
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
+1 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.

491 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Author had a Free File of the Month
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
+3 more
pixelentity says

Fixed link

sorry about that

3433 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

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

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

2024 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
  • Envato Studio (Microlancer) Beta Tester
+3 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
  • Elite Author
  • Referred between 100 and 199 users
  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
PixelBook says

just awesome.

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

491 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Author had a Free File of the Month
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
+3 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

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

Is there any solution for WP plugins?

327 posts just a random dude...
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Referred between 1 and 9 users
+1 more
trendyWebStar says

Will check it out for sure! :)

by
by
by
by
by
by