How to activate Content Egg plugin

by Festinger in on June 23, 2020

In the file application/admin/EnvatoConfig.php, find the function activatingLicense around line 84 and add this to the start of the function code:

return true;

Now in the file application/admin/LicConfig.php find the function licFormat around line 76 and add this to the start of the function code:

return true;

A few lines later find the around activatingLicense around line 86 and add this to the start of the function code:

return true;

In the same file, the next function resetLicense which start around line 105 replace

$response = Plugin::apiRequest(array('method' => 'POST', 'timeout' => 15, 'httpversion' => '1.0', 'blocking' => true, 'headers' => array(), 'body' => array('cmd' => 'deactivate', 'key' => $this->option('license_key'), 'd' => parse_url(site_url(), PHP_URL_HOST), 'p' => Plugin::product_id, 'v' => Plugin::version()), 'cookies' => array())); With $response = '';

And then a couple of lines further on, replace:

$result = json_decode(wp_remote_retrieve_body($response), true);

With

$result = json_decode('{"status":"valid"}', true);

Now you can use any email and key to activate the plugin and you can deactivate it too.

I don’t think it needs nulling though – the activation just adds direct updates, access to the user panel (which is on their website so you don’t actually have access to it…) and support (which you also won’t have access to without a legit key).

Categories: Uncategorized