Support Forum
Support › General › How to remove Meta Box license key Notification when Extension is Bundled?Resolved
Hi,
This is Swami, the author of Oshine WordPress Multi-Purpose theme. We have purchased licenses for Metabox Extensions Tabs, Show Hide and Conditional Logic and they are bundled with our theme. Apparently, with the recent update to Metabox, there is a warning message that is showing up on the admin area, about entering the license key, which my customers will not have as the extensions are bundled. The more important question is about updating these extensions. Although we provide the updated versions of extensions via TGM, the extensions do not get updated if the parent "Metabox" plugin is enabled and if the license key is not entered. So, I would want to know Do you have an option to remove this notification, and if there is a way to force the "extensions" updates to happen via our TGM method for bundled packages? Hope you have a solution, as my customers are having a difficult time updating the plugins.
Thanks,
Swami
Hi Swami,
Thanks for your feedback.
Regarding the 1st problem: users can disable the notification just by click the close button. The close button is added in 5.0.1.
Regarding the force update via TGMA, I guess it's a limitation of TGMA. I'll need to check that again
Hi Swami, just for a quick question: If you're using an older version of Meta Box (< 5.0.0), are you able to update the extensions via TGMA?
Hi Anh Tran,
Thank you for your quick response. Yes, I am able to update the versions via TGMA if the Metabox version is older (4.9.7).
Thanks,
Swami
Hi Anh,
Just wanted to check if you have an update on my questions?
Thanks,
Swami
Hi Swami, I'm still working on this issue. I'll try to do it as fastest as possible.
Hi Swami, I've done this in this commit. Please try it.
Hi Anh,
Yes adding this code lets the update to happen via TGMA. Thank you so much! When will this patch be available for download?
I do have another request though, it is also possible to hide the "Activate Licnese" that appears very distinctly beside the plugin name, for my customers? I inspected the element and there isn't a class or id to this. It would be really helpful if you can identify a bundled package and then hide this link, as all my customers are getting misled. They think they have to purchase additional license apart from the theme. I am getting about 5 - 6 questions every day asking about the "activate license" link. It would be really fair and helpful if you could do something about this as well.
Thanks,
Swami
Hi Swami,
I'm working on some issues and when they're done, I'll update the plugin.
Regarding "Activate License" links, they won't appear if you provide updates for the plugins (e.g., they're on the latest versions). It's kind of impossible to detect a plugin is installed via TGMPA or the normal way, because when it's installed, it's just a normal plugin.
I'd suggest you update the theme when a new version of plugins is released, so your users will get the most recent updates of the plugins.
Or you can just bundled the Meta Box extensions directly in your custom plugin. In this case, the notification won't show anymore.
Hi Anh,
Thank you for your suggestion. I will adopt one of the two methods. Looking forward to the fix being patched, so that I can ship the latest versions to my customers.
Thanks,
Swami
Hi Anh,
Unfortunately, updating the Extension Plugins to the latest version does not remove the ACTIVATE LICENSE warning. Kindly see the screenshot here - https://cl.ly/472975130184. Could you kindly provide an option to have this warning hidden?
Thanks,
Swami
Hi Swami, how about adding a CSS class to the "Activate License" text? You can hide them with CSS.
Hi Anh,
Yes, that would be really helpful. I will add a code in the theme to hide it.
Thanks,
Swami
Done! Here you are. The class is rwmb-activate-license
.
Hi Anh,
Thanks. It works well. Has this fix been patched in the plugin?
Thanks,
Swami