Support » Plugin: Software License Manager » Activating multiple times on same domain

  • Resolved armino


    People buy a theme from me where they can activate their key once.

    Sometimes my customers delete their wordpress without deactivating their key, reinstall everything and then try to activate their key again. Of course a key can’t be activated on their domain twice.

    Then I always need to reset their key so they can activate it again.

    Is there a way that people can activate their key on the same domain again? Without the key activation count going up by 1.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution


    Thank you for your question. The plugin developers will investigate further your request.


    Plugin Author mra13


    Different users want different behavior for this. You need to override the behavior using the hook and write your own code so you can implement the behavior that you want.

    The following action hooks gets triggered when the main plugin receives the activation request:


    You can hook in there and do your own checks using custom code:

    1) Read the license key and registered domain values from the REQUEST
    2) Do a DB query to the license table to see if the license key’s registered domain is the same.
    3) Echo a success message

    Thanks for pointing me to the right direction 🙂

    Can you share with us your code snippet Armino? I actually commended out this in the core file but if someone can help to give out the code snippet on hooking that would be great. `if ($fields[‘registered_domain’] == $reg_domain->registered_domain) {
    $args = (array(‘result’ => ‘error’, ‘message’ => ‘License key already in use on ‘ . $reg_domain->registered_domain, ‘error_code’ => SLM_Error_Codes::LICENSE_IN_USE));

    • This reply was modified 2 years, 8 months ago by Ken Ng.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Activating multiple times on same domain’ is closed to new replies.