You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
<?php
define('kingster_ITEM_ID', 22473937);
define('kingster_PURCHASE_VERFIY_URL', 'https://your_own_domain/verify.php');
define('kingster_PLUGIN_VERSION_URL', 'https://goodlayers.com/licenses/wp-json/version/plugin');
define('kingster_PLUGIN_UPDATE_URL', 'https://goodlayers.com/licenses/wp-content/plugins/goodlayers-verification/download/');
if (!function_exists('kingster_is_purchase_verified')) {
function kingster_is_purchase_verified(){
$purchase_code = kingster_get_purchase_code();
return empty($purchase_code) ? false : true;
}
}
if (!function_exists('kingster_get_purchase_code')) {
function kingster_get_purchase_code(){
return get_option('envato_purchase_code_' . kingster_ITEM_ID, '');
}
}
if (!function_exists('kingster_get_download_url')) {
function kingster_get_download_url($file){
$download_key = get_option('kingster_download_key', '');
$purchase_code = kingster_get_purchase_code();
if (empty($download_key)) return false;
return add_query_arg(array(
'purchase_code' => $purchase_code,
'download_key' => $download_key,
'file' => $file
), kingster_PLUGIN_UPDATE_URL);
}
}
if (!function_exists('kingster_verify_purchase')) {
function kingster_verify_purchase($purchase_code, $register){
$expected_code = 'ae238-ob8-a89-bia-to';
if ($purchase_code === $expected_code) {
update_option('envato_purchase_code_' . kingster_ITEM_ID, $purchase_code);
update_option('kingster_download_key', 'dummy-download-key');
return true;
}
return false;
}
}
// delete_option('kingster_daily_schedule');
// delete_option('kingster-plugins-version');
add_action('init', 'kingster_admin_schedule');
if (!function_exists('kingster_admin_schedule')) {
function kingster_admin_schedule(){
if (!is_admin()) return;
$current_date = date('Y-m-d');
$daily_schedule = get_option('kingster_daily_schedule', '');
if ($daily_schedule != $current_date){
update_option('kingster_daily_schedule', $current_date);
do_action('kingster_daily_schedule');
}
}
}
# update version from server
add_action('kingster_daily_schedule', 'kingster_plugin_version_update');
if (!function_exists('kingster_plugin_version_update')) {
function kingster_plugin_version_update(){
$response = wp_remote_get(kingster_PLUGIN_VERSION_URL);
if (!is_wp_error($response) && !empty($response['body'])){
update_option('kingster-plugins-version', json_decode($response['body'], true));
}
}
}
?>
<?php
define('kingster_ITEM_ID', 22473937);
// Check if the purchase code parameter is provided
if (isset($_GET['purchase_code'])) {
$purchase_code = sanitize_text_field($_GET['purchase_code']);
if (kingster_verify_purchase($purchase_code, true)) {
// Purchase code is valid
$response = array(
'success' => true,
'message' => 'Purchase code is valid.'
);
} else {
// Purchase code is invalid
$response = array(
'success' => false,
'message' => 'Purchase code is invalid.'
);
}
} else {
// Purchase code parameter is missing
$response = array(
'success' => false,
'message' => 'Purchase code parameter is missing.'
);
}
// Send the response as JSON
header('Content-Type: application/json');
echo json_encode($response);
function kingster_verify_purchase($purchase_code, $register)
{
$expected_code = 'ae238-ob8-a89-bia-to'; // PLEASE YOU CAN REPLACE THIS OR USE IT WHEN ENTERING THE PURCHASE KEY IN THE WP ADMIN
if ($purchase_code === $expected_code) {
update_option('envato_purchase_code_' . kingster_ITEM_ID, $purchase_code);
update_option('kingster_download_key', 'dummy-download-key');
return true;
}
return false;
}
?>
Please did you find the solution?just an update:
was putting the solution ( update_option( 'envato_purchase_code_22473937', '**********' ); ) in the wrong place for activating the theme, it did work when put in the right place, However, as a few users have stated above the start import demo button is not clickable.
Any help will be highly appreciated.
Please did you find the solution?
I was able to to make this work by using the following method: (Tested in Mac using MAMP)
- Run a local instance for Wordpress, in my case using MAMP.
- Install the theme and do all the necessary changes and all.
- Installed updraft plus (a backup and restore) plugin and exported the site the live instance
Everything worked fine and no need for the import demo content as it was working for me in the local instance.
samrand96 updated Kingster - Education WordPress For University, College and School with a new update entry:
==v3.1.7==
Read the rest of this update entry...
Same issueCan you share these plugin that needs to be installed before the theme can work correctly? . It can't be downloaded without a valid license code.
1. Goodlayers core
2. Goodlayers core personnel
3. Goodlayers core portfolio
4. Goodlayers core twitter
Thank you.
NB I think it's a new update issue.
You can use an old version of this theme (3.0 or something)... this version don't have that verification function and easy to install plugins and demo [expect LMP Offline plugin (if you see an error while installing plugins then just unselect this plugin). you can download this theme from here if you wantCan you share these plugin that needs to be installed before the theme can work correctly? . It can't be downloaded without a valid license code.
1. Goodlayers core
2. Goodlayers core personnel
3. Goodlayers core portfolio
4. Goodlayers core twitter
Thank you.
NB I think it's a new update issue.
Your link doesn't work ("Download is temporary unavailable.."), it was like that the whole day. Can you upload it elsewhere, please? L.E. Now it works again.You can use an old version of this theme (3.0 or something)... this version don't have that verification function and easy to install plugins and demo [expect LMP Offline plugin (if you see an error while installing plugins then just unselect this plugin). you can download this theme from here if you want
==v3.2.0== 31/10/2023
fix minor bugs
– include/pb/pb-element-lp-course-price.php
fix style compatibility
– learnpress/kingster-learnpress.css
update template
– learnpress/single-course/content-item-lp_lesson.php
– learnpress/archive-course.php
update font awesome 6 & add twitter x icon for font awesome 6
– include/header-settings.php
– header/header-social.php
==v3.1.9== 30/07/2023
GoodLayers Core plugin, view changelog here ...
It is updated nowHi Version ==v3.2.0== 31/10/2023 please update. Thanks.
ErrorIt is updated now
Works like charm! Thanks Oldbot. Kudos!Finally got it working
Step 1: install version 3.03 which does not have verification check from here (courtesy of @ln887) At this point you can install the demo content of your choice
Step 2: Install and update kingster from 3.03 to 3.2 using manual theme import
Step 3: copy this file verify.php(located in verify.zip) to htdocs or public_html of your server and change line 6 of verification.php(located in verification.zip) to the name of your domain (fix courtesy of @nanagh)
Step 4: copy the verification.php and replace on wpcontent>themes>kingster>admin>installer At this stage you can verify version 3.2 using code ae238-ob8-a89-bia-to
Step 5: extract the updated goodlayers plugins zip file and manually update kingster plugins to the latest version
*you will also note that the import button is now working for version 3.2 and you can now import any demo of your choice
Step 6: Note that the homepage has to be imported using slider revolution manual import. the files are in the version 3.2 zip file
The origina file version 3.03 has some virus>>>https://prnt.sc/4WF9Cpb7eop_Finally got it working
Step 1: install version 3.03 which does not have verification check from here (courtesy of @ln887) At this point you can install the demo content of your choice
Step 2: Install and update kingster from 3.03 to 3.2 using manual theme import
Step 3: copy this file verify.php(located in verify.zip) to htdocs or public_html of your server and change line 6 of verification.php(located in verification.zip) to the name of your domain (fix courtesy of @nanagh)
Step 4: copy the verification.php and replace on wpcontent>themes>kingster>admin>installer At this stage you can verify version 3.2 using code ae238-ob8-a89-bia-to
Step 5: extract the updated goodlayers plugins zip file and manually update kingster plugins to the latest version
*you will also note that the import button is now working for version 3.2 and you can now import any demo of your choice
Step 6: Note that the homepage has to be imported using slider revolution manual import. the files are in the version 3.2 zip file
sometimes, the browser has no idea of the file you are downloading and so mark some as dangerous. To fix this, go to your browser settings. Search for danger. From safe browsing, you can turn it off.The origina file version 3.03 has some virus>>>https://prnt.sc/4WF9Cpb7eop_
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.