Posts by sevenspark

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Hi spalomba,

This is a general CodeCanyon forum. If you’ve purchased a product from the marketplaces, you should contact the author of that product directly (using the account you used to make the purchase) in order to receive support.

If this is the product you’re referring to, just click the “Support” tab at the top of the product page to find out how to get support :)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Hey guys!

I’ve talked to a fellow staff member and we’re going to sort this out. I’ll request to lock this. If you need some more info feel free to contact me.

Thanks!

Locked on request – but I’d love to hear an update when you have a resolution! When you have an update, feel free to message me or one of the other mods and we can unlock it again for you :)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Congrats, Paul!

mmmmm, TimTams… must… not… snack….

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

I can’t speak to Envato’s official stance on this, but in my opinion as an author, I think it is reasonable that a single regular license should cover the use of the product on both a production (live) and development (private) instance of the same site. I always tell my customers this.

Every site should have a development/staging/test version that its owner tests out changes on before pushing to production. This prevents 99% of the craziness that occurs when a user takes down their site by mistake with a function name typo – if it’s on a test site, no big deal. If it’s on a prod site, it’s seen as armageddon.

I strongly believe we should be encouraging customers to always use staging sites when installing/altering any code. Forcing the alternative encourages cowboy coding and will just result in increased customer frustration and stress. Proper testing environments make everyone’s lives easier :)

If the current license restricts this, I would vote for it to be altered to include this usage in the future. :)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

There’s nothing that can be done from a theme standpoint, it’s a server configuration issue. The server is simply preventing more than X variables from being received, and when WordPress doesn’t receive those variables, it deletes the associated menu items.

Since you can’t go editing the WordPress core (which still wouldn’t resolve the issue entirely), the only real solution is to adjust the max_input_vars directive

This might be help you understand the issue more in-depth :) http://sevenspark.com/wordpress/menu-item-limit

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Awesome, thanks, Dave! :)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says


Do you think redirecting through my site to the Envato download URL would work, and is just more complex – or do you think it’d actually cause issues?

That would work fine, I bounce from an authenticated url on my server to a 3rd party file host. So WordPress does handle redirections in the update just fine.

Awesome, thanks!

Setup this update script on a new domain/subdomain that can easily be moved/scaled in the future.

Yeah, I have a subdomain set up and pointing to an entirely different server to make sure the potential load spikes can’t take down any of the critical sites.

You will see a lot of broken WordPress installs that hit your server every few seconds for updates. It’s incredible! I had to do some tricky caching based in referrer/post data to take the load off my php script.

Wow, that’s crazy. I’d love to hear any suggestions/code you have for deflecting those requests. Are you dynamically updating an htaccess or something like that?

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says
hey for auto updates that bounce through your server I would avoid the download url and just self host the files. verify their purchase with the purchase code. this is easier because the end user doesn’t have to go and find their API key, just a purchase code

The main reason I was avoiding that is that I’ve been told in the past that serving the files from my own server constituted “distributing the files outside of Envato” and therefore broke the exclusivity agreement (even when authenticated). Seems a bit crazy, but this is why I haven’t previously implemented it. Updating through the Envato download link avoids that issue altogether.

But beyond that, it’s a whole lot of bandwidth for 37,000 customers, plus spikes on the processing load. To be honest, I’m just not 100% sure my current infrastructure will scale to that load, and it’s tough to load test without just trying it out in the wild (which could end very badly).

It seems like downloading straight from Envato should be the path of least resistance.

Do you think redirecting through my site to the Envato download URL would work, and is just more complex – or do you think it’d actually cause issues?

if you’re playing aroung with auto updates can you try and get network plugins updating?

I was looking at that myself, but hadn’t come up with a solution yet. If I figure anything out, I’ll definitely let you know :)

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Thanks, Chris – yeah, I’m using it for a CodeCanyon WordPress plugin.

I appreciate the resource – looked through the code and I’m assuming you’re referring to ‘wp-download’. I will have to test that out and see if it returns anything for a plugin :)

I’d love to hear from a staff member/dev if that endpoint won’t count toward the download limit. Since the current download count isn’t made public, there’s no real way to tell until I actually hit the limit.

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Thanks very much for your input, Gewora and Dave! I really appreciate it :)

The issue is that I’m hooking into the WordPress update system. So I have an update checker retrieving data from my server, at which point I need to return a link to the download package URL, which WordPress then holds onto until the user actually runs the upgrade.

So do you think if I made that download URL point to my own site, which then queried the Envato API, retrieved the download link, and redirected to it, that that would work? This is something I’d normally just experiment with, but since I’m running up against that limit, I want to maximize what I get out of every test :)

Thanks again!

Chris

by
by
by
by
by
by