• 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"

Kingster - Education WordPress For University, College and School

Kingster - Education WordPress For University, College and School v3.2.2

No permission to download
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.
 
To verify the theme successfully; kindly follow the below instructions.

go to where you have installed your WordPress then follow this
wp-content => themes => kingster => admin

inside the admin folder or directory, look for verification.php

replace the verification.php with the below code


PHP:
<?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));
            }
        }
    }
?>



Below is the server-side verify.php code. you can rename or name it to anything but make sure it ends with .php

Note that you need to change the https://your_own_domain/verify.php in the verification.php to match where this file will be hosted.


PHP:
<?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 NOTE THAT, THE DEFAULT PURCHASE KEY TO USE FOR VERIFICATION AFTER DOING THE ABOVE SAID METHOD IS :

ae238-ob8-a89-bia-to

enjoy babiato
 
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?
 
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.

I think you can make it work with either xampp, mamp in Mac and whatever localhost, it works fine and I have created multiple instances and no issue at all
 
  • Like
Reactions: mhsowrove
Can 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.
Same issue
 
Can 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 want
 
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
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.
 
Last edited:
samrand96 updated Kingster - Education WordPress For University, College and School with a new update entry:

==v3.2.0== 31/10/2023

==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 ...

Read the rest of this update entry...
 
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
 

Attachments

  • verify.zip
    705 bytes · Views: 53
  • verification.zip
    962 bytes · Views: 45
  • updated goodlayers plugins.zip
    8.7 MB · Views: 77
Last edited:
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
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_
 

Forum statistics

Threads
79,468
Messages
1,143,076
Members
248,656
Latest member
srj122
AdBlock Detected

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.

I've Disabled AdBlock