License default setup from web administration  

  RSS
(@elmstrom)
Active Member Registered

When i create a user in the web administration it does not use the auto setup.

It works fine if the user is create from unity app.

https://ibb.co/d64fKqg

Quote
Posted : 16/07/2019 4:13 pm
(@skaredcreations)
Honorable Member Admin

What do you mean by "auto setup"?

FRANCESCO CROCETTI @ SKARED CREATIONS

ReplyQuote
Posted : 16/07/2019 4:21 pm
(@elmstrom)
Active Member Registered

@skaredcreations

This:

<?php

// Auto-generate License Number?
define ("LICENSE_AUTOGENERATE", TRUE);

// Default license type upon user registration
define ("LICENSE_DEFAULT_TYPE", LICENSE_TYPE_PERPETUAL);

// Default days count if LICENSE_DEFAULT_TYPE is LICENSE_TYPE_TIME
define ("LICENSE_DEFAULT_TIME", 31);

// Default launches count if LICENSE_DEFAULT_TYPE is LICENSE_TYPE_LAUNCH
define ("LICENSE_DEFAULT_LAUNCHES", 0);

ReplyQuote
Posted : 16/07/2019 5:56 pm
(@skaredcreations)
Honorable Member Admin

Oh you're right, it's not calling the created notification callbacks when the account is created from admin website, I'll fix this in the next update.

FRANCESCO CROCETTI @ SKARED CREATIONS

ReplyQuote
Posted : 18/07/2019 9:53 am
(@elmstrom)
Active Member Registered

Thank you

ReplyQuote
Posted : 19/07/2019 9:08 am
(@elmstrom)
Active Member Registered

Also would great with an option to generate license key from the web interface.

If you change license type to "none" then the system deletes the license key, which is fine, but when you reselect "Perpetual" there is still no key.

Would also be nice if the system checks for duplicated license numbers (maybe it does that when it creates its own keys, then not a problem when that is possible in the web interface).

And lastly, do you hae a timeframe for the next update?

ReplyQuote
Posted : 19/07/2019 4:16 pm
(@elmstrom)
Active Member Registered

No hurry on the update, I have fixed all the issues by customizing the add-on

ReplyQuote
Posted : 19/07/2019 5:25 pm
Share: