Do you have documentation on how to register a license key that applies to all sites on a multisite network?
I get the warning that I need to register the site license on every site that uses Views or Access and it would be extremely time consuming to register each site one-by-one, as we have hundreds of sites that use the Toolset plugins.
You mention here (https://toolset.com/forums/topic/multisite-license-activation/) that it works, but I can't find anywhere that says how to actually do it.
You should be able to network activate and register your Plugin, when you activate Plugins for all sites (network wide).
If that does not work, please grant me access to the Network and allow me to test a registration - but that will require that Toolset is enabled network wide.
What if you don’t want it network activated though? We don’t need the plugin on every site.
If you activate on Site A, it needs to be registered for Site A to receive automated updates.
So either is' active on Network basis or Single basis and that defines where to register it.
Registration is BTW not needed. It's only required to get updates, but not to make the plugin work.
You can hence not register it and update it either manually or only globally, and then re-activate on subsites
I understand registration isn’t required, but if it isn’t done, it puts a non-dismissible notice at the top of every admin page and the only way to get rid of that is to modify the plugin, register the site, or hide every single notice that toolset might display either via CSS or by hijacking the admin_notices hook.
Most plugins allow a license key to be set as a constant in WP-config, which then prevents this type of problem. In your case the license key is unique to each individual site, so I guess that doesn’t work.
When you have hundreds or even thousands of sites that use the plugin, but don’t want to network activate because not every site uses or needs it, this is not a scalable solution.
We actually do plugin updates on a dev environment and deploy through version control, so I don’t even need automatic updates on my production environments at all. I just don’t want my single site administrators who can’t even install or update plugins to see that notice all the time and think something is wrong.
I’m guessing I’ll just have to maintain a fork of your plugins. That’s going to make updates frustrating, but I’m not sure what else to do.
The easy option would be to simply add a filter to that notice so I can hide it when needed.
Or you could check is_multisite() and if true, just look to see if the primary network site is registered. It’s the only one that can do plugin updates anyway.
That message should be dismissible for your type of account, according the specifications.
Hence I need to test and report this.
I will also bring up a discussion (I did already in past) about Multisite installs. We are poorly integrated there, there is no speak around here.
I will report back to you next week when I have some solid informations from the DEV teams and colleagues.
When you activate WordPress multisite (wether in subdomain or subdirectory) you can activate Toolset either network wide or on each sub site.
When you activate it network wide you can register the Plugin on network level, but you need to be a Toolset and WordPress wizard to know how and where.
(Network Dashboard > Plugins > Add new > Commercial)
On single sites, or when you activate Toolset on a Multisite but only on certain subsites, you will be prompted from within the Plugin’s List to register.
I am sorry I did not see that previously.
This should solve the problem.
I know how to register a site. That is not the problem.
The problem is that it needs to be done on every individual site for which the plugin is active. If it is not done, then there is an admin notice that is not dismissible that shows on every admin page that says "Remember to register Toolset. Registration gives you automatic updates for stability, performance and security."
I have somewhere between 800-1,000 sites across two multisite networks that use the Toolset paid plugins. However, not every site on those networks use the plugins. (One of the networks has over 15,000 sites) Registering each individual site that uses the plugin would require a huge amount of time.
On multisite, it's pointless to show this message about automatic updates on any site but the primary site of the network, as the plugin can only be updated from the network admin located on the primary site. Furthermore, it's also pointless to show this message to individual site administrators, as they don't have the capabilities to update plugins anyway (they can't even get to the network admin).
If you insist on showing this message on every admin page on every site that uses the commercial plugins, then at least only show it for Super Admins. They are the only ones who have the capability to update plugins anyway.
No, as I mentioned, it does not need to be done on each subsite, if you follow the steps outlined here:
https://toolset.com/forums/topic/license-registration-on-multisite-networks/#post-595929
You can network activate the Plugin and then register it once for all.
I tested this, it works on my install.
I tested both subdirectories and subdomains.
Oooooh ok. I see now.
So you have to activate it individually on the primary site of the network and register it there. That individual registration then gets picked up by the subsites. We don't use the plugin on the primary site (it's mostly just a placeholder and doesn't contain any content), so I hadn't tested that. Sorry for the confusion!
Perhaps that can be added to the documentation somewhere? (Unless this serves that purpose)
Thanks for the assistance!