• Resolved mlangone

    (@mlangone)


    I ran into a situation where we are trying to license our plugin on a multisite network with domain mapping. The registered domain was pulling the clientssite.multisitedomain.com as the registered domain, and the mapping mapped it to clientssite.com – This was not allowing the plugin to run correctly, becuase the live domain was clientssite.com. I manually entered the clientssite.com domain through the database matching the license id and all works fine. Is there a hook that will allow for a free form field on the edit license page that will write additional domain names to the database?

    Thanks!

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

    (@mbrsolution)

    Hi, thank you for reporting this. The plugin developers will investigate further your issue.

    Regards

    Plugin Author mra13

    (@mra13)

    The plugin will register whatever you send from your client application as the domain value. So you should be sending the full URL of the sub-site so that it is not exactly the same value for each sub-site install.

    Don’t blindly follow the sample code as it is purely to show you how it works. You need to pass a more meaningful value in the “registered_domain” field of the API (given your application) instead of just reading the server name as is shown in the sample code.

    • This reply was modified 8 years, 1 month ago by mra13.
    • This reply was modified 8 years, 1 month ago by mra13.
    Thread Starter mlangone

    (@mlangone)

    Thank you for the response, I was able to get what I needed accomplished by using the hook you have provided in another post and actually adding a field to the add/edit license page. This field takes the value and adds it the registered domain database, this is nice if I want to set the preferred domain to https://www.website.com and the testing domain to testing.website.com . In the multi site instance the client site was part of a subdomain install so that was what was being passed.

    Plugin Author mra13

    (@mra13)

    Glad to hear that you got it sorted.

    • This reply was modified 8 years, 1 month ago by mra13.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Input additional registered domains’ is closed to new replies.