Skip Navigation

[Resolved] How to "hardcode" the license key

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.35 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 4 replies, has 2 voices.

Last updated by SteveR6772 1 year, 7 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2590473

At some point in the past I "hardcoded" the license key using instructions you provided.

The client finally took the site live and I need to change the key but can not recall what I did

Could you please remind me what the way to set the key so the client can not change it?

Thanks
Steve Ringwood

#2590743

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Steve,

Thanks for your contact and welcome to our support forum!

For this, you need to add the following constant to your site’s wp-config.php file:

define( 'OTGS_INSTALLER_SITE_KEY_TOOLSET', 'your-site-key' );

The your-site-key is the registration key that is generated for the site on your Account page. Please make sure to create a new license, since the website is not the same.

Looking forward to your reply. Thank you!

Regards,
Mateus.

#2590747
toolset_header.png

Ok, my memory was right, but there is not such define.

This came up because when I went to change the key, the spot to do so was missing, see attached image.

#2591263

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

That is strange. Could you please try to remove the Toolset plugins and reinstall them? If the issue persists after this, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/privacy-policy-and-gdpr-compliance/#data-shared-with-our-support
**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2591267

The site was started without using the OTGS Installer. I installed it, and the settings appeared again allowing me to reset the key.

My issue is resolved now. Thank you!