Jump to content

Recommended Posts

Posted

Hey community!

Is there a simple way to batch update the expiration date of all active license keys generated by the site?
Or would I be stuck manually updating every single license by hand?

Using the cloud hosted community if that makes a difference at all 😛
Not really my area of expertise, and I'm weary of running any google found code for fear of damaging my community severely. 😅

Posted (edited)
5 minutes ago, Marc said:

There is no way in which to do this in batches unfortunately.

That's... unfortunate. 80+ license's by hands gonna be rough. :')
May have to look into utilizing an external DB to handle expiration dates then, or see if we can rig something up in pages for a customized date.. 🤔

Edited by InfinityRazz
Posted (edited)
8 minutes ago, Marc said:

Take a look at the API, as you may be able to update them from there

Sadly as a cloud user I don't have access to any api that requires me to edit constants in the index to activate it though right?
The license key activation/usage api would work for that I believe (Activate license key, post activation/expiration date to my azure db on successful activation from Invision) but I can't activate it 😞
or i'm completely misunderstanding how that api works

I feel like nothing in the rest api will allow me to edit the license directly, though I'm sure I could piecemeal something together with enough effort. 😛

A way to edit multiple licenses (or group edit expiration dates) in future versions sure would be a nice feature... 😉
https://tenor.com/rYclqw6noiG.gif

Edited by InfinityRazz
Posted (edited)
5 minutes ago, Marc said:

Cloud users do indeed have access to the API. What issues are you having trying to access that?

image.png.9853b5a7c7578d6145c975aab2c74295.png

I've been told in previous support requests that I can not activate this api myself.. And while the rest api is great for fetching data, it does little to provide editing data outside of pages/forums/groups (pretty much not license keys specifically).

Like I know I could do a custom datetime/string field on the license/purchase object, then check if field is null or has invalid data on first usage, then post that and yadda yadda, But that requires ~ 2-4 other rest calls to fetch surrounding data. I'm just looking for something ez breezy to "click and run" pretty much 😛 

Edited by InfinityRazz
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...