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

Lakecious - Resort and Hotel WordPress Theme

Lakecious - Resort and Hotel WordPress Theme v3.0 Date Sep 17, 2020

No permission to download
It is asking for Activation key.
 

Attachments

  • lakecious-babiato-error.jpg
    lakecious-babiato-error.jpg
    376 KB · Views: 9
Code:
$plugins      = array(
        array(
            'name'               => 'TMC Data options',
            'slug'               => 'tmc-data-options',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=options&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
        
        array(
            'name'             => esc_html__('TMC Post Type','lakecious'),
            'slug'             => 'tmc-post-type',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=type&pur_code='.get_option('tmc_purchase_code'),
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
        
        array(
            'name'               => 'WP Hotel Booking',
            'slug'               => 'wp-hotel-booking',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=hotelbooking&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
        ),
 
Code:
$plugins      = array(
        array(
            'name'               => 'TMC Data options',
            'slug'               => 'tmc-data-options',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=options&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
       
        array(
            'name'             => esc_html__('TMC Post Type','lakecious'),
            'slug'             => 'tmc-post-type',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=type&pur_code='.get_option('tmc_purchase_code'),
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
       
        array(
            'name'               => 'WP Hotel Booking',
            'slug'               => 'wp-hotel-booking',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=hotelbooking&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
        ),

This is not helping, please null this theme
 
  • Love
Reactions: Babak
PHP:
<?php
require get_template_directory() . '/inc/tgm/tgm-plugin-activation.php';
add_action( 'tgmpa_register', 'tmc_require_plugins' );

function tmc_require_plugins()
{
    $plugins      = array(
        array(
            'name'               => 'TMC Data options',
            'slug'               => 'tmc-data-options', 
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=options&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
        
        array(
            'name'             => esc_html__('TMC Post Type','lakecious'),
            'slug'             => 'tmc-post-type',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=type&pur_code='.get_option('tmc_purchase_code'),
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
            'version'            => '2.0',
        ),
        
        array(
            'name'               => 'WP Hotel Booking',
            'slug'               => 'wp-hotel-booking', 
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=hotelbooking&pur_code='.get_option('tmc_purchase_code'),
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
        ),
        
        array(
            'name'         => esc_html__('WPBakery Page Builder','lakecious'),
            'slug'         => 'js_composer',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=composer&pur_code='.get_option('tmc_purchase_code'),
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
            'external_url' => esc_url('http://wpbakery.com','lakecious'),
            'version'            => '6.3.0',
        ),
        array(
            'name'         => esc_html__('Revolution Slider','lakecious'),
            'slug'         => 'revslider',
            'source'             => 'http://49themes.com/demos/lakeciouswp/theme-assets/download.php?file=slider&pur_code='.get_option('tmc_purchase_code'),
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
            'external_url' => esc_url('http://www.themepunch.com/revolution/','lakecious'),
            'version'            => '6.2.22',
        ),
        array(
            'name'     => esc_html__('One Click Demo Import','lakecious'),
            'slug'     => 'one-click-demo-import',
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
        ),
        
        array(
            'name'     => esc_html__('Breadcrumb NavXT','lakecious'),
            'slug'     => 'breadcrumb-navxt',
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
        ),

        array(
            'name'     => esc_html__('MailChimp for WordPress Lite','lakecious'),
            'slug'     => 'mailchimp-for-wp',
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
        ),        
        array(
            'name'     => esc_html__('Contact Form 7','lakecious'),
            'slug'     => 'contact-form-7',
            'required'         => true,
            'force_activation'  => false,
            'force_deactivation' => false,
        ),
        array(
            'name'      => 'Redux Framework',
            'slug'      => 'redux-framework',
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
        ),
        array(
            'name'               => 'Envato Market',
            'slug'               => 'envato-market', 
            'source'             => 'http://envato.github.io/wp-envato-market/dist/envato-market.zip', 
            'required'           => true,
            'force_activation'   => false,
            'force_deactivation' => false,
        ),
    );
    tgmpa( $plugins, array( 'is_automatic' => true ) );
}
function tmc_theme_activate()
{
    if(isset($_POST['submit']))
    {
        $tmc_data = wp_remote_get(add_query_arg(array('entered_code' => $_POST['tmc_theme_key']), 'http://www.49themes.com/demos/auth/check.php'), array('timeout' => 20));
        
        $tmc_valid_data = json_decode($tmc_data['body']);
        if($tmc_valid_data->status)
        {
            update_option('tmc_activation', 1);
        update_option('tmc_purchase_code', $_POST['tmc_theme_key']);
        }
    }
?>
    <div class="header_section">
       <div class="container">
         <div class="row">
             <div class="content">
                <img src="<?php echo get_template_directory_uri().'/assets/images/tmp/logo2.png'?>">
                <h3><?php echo esc_html_x('Welcome to '.wp_get_theme().' - Best design to you','lakecious'); ?></h3>
                
                <?php
                if(!get_option('tmc_activation'))
                { 
                ?>
                
                <form method="POST">
                    <div class="form-group">    
                        <input type="text" class="form-control" name="tmc_theme_key" id="tmc_theme_key" placeholder="ab0yonv8-ww2po" value="<?php if(isset($_POST['tmc_theme_key'])){ echo esc_attr($_POST['ab0yonv8-ww2po']); } ?>" required />
                        <button type="submit" class="btn btn-primary" name="submit"><?php echo esc_html__( 'Activated','lakecious');?></button>
                    </div>
                 </form>
                <?php
                }
                else if(!isset($_POST['submit']))
                {
                    ?>
                    <h2><?php echo esc_attr('Thank you for purchasing '.wp_get_theme().'! Your WP theme is alredy activated.','lakecious');?></h2>
                <?php    
                }
                ?> 
             </div>
         <?php
                if(isset($_POST['submit']))
                {
                    if(get_option('tmc_activation'))
                    {
                    ?>
                        <p class="theme-p green"> 
                        <?php echo esc_html__('Thank you, your purchase code is valid and theme has been activated.', 'lakecious'); ?> 
                        </p>
            <?php    }
                    else
                    { ?>
                        <p class="theme-p green"> 
                            <?php echo esc_html__('Thank you for purchasing '.wp_get_theme().'! Your WP theme is alredy activated.','lakecious'); ?> 
                        </p>
            <?php    } 
                } ?>  
           </div>
       </div>
   </div>
    <?php
}

/** function tmc_is_theme_activate($arg) 
{
    if(!get_option('tmc_activation'))
    {
        return new WP_Error('tmc_key_empty', sprintf(wp_kses('Theme is not activated yet. Use theme purchase code to <a href="%s">Activate '.wp_get_theme().'</a>','lakecious'),esc_url(admin_url('themes.php?page=tmc-theme-activate'))));
    }
    return $arg;
}
add_filter('upgrader_pre_download', 'tmc_is_theme_activate', 10, 1); **/
I have nulled this theme,
some plugins require manual installation,
those plugins are already there in the "Resources" folder.

Copy this code and replace it in "tgm-plugin-registration.php"
path: wp-content/themes/lakecious/inc/tgm/tgm-plugin-registration.php
 
Last edited:
  • Love
  • Like
Reactions: Babak and Silva
I have nulled this theme,
some plugins required manual installation,
those plugins are already there in the "Resources" folder.
have installed that plugin, even after its showing like this, how u null?? Will u plz tell us?
1610200947478.png
 
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