yes bro let me checkCould you PM license if not being used?
Can you remember what that referred to as can't find error!
Thanks,
TassieNZ
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"
yes bro let me checkCould you PM license if not being used?
Can you remember what that referred to as can't find error!
Thanks,
TassieNZ
So it was a plugin causing error in my nulled version?I'm throwing it tonight. I changed a plugin.
yes chat plugin.So it was a plugin causing error in my nulled version?
@jameshertog @TRantula
In the file consulting/admin/includes/theme.php
After line 43 which is function stm_check_auth() {
add
Now you can use any key to activate the theme.PHP:set_site_transient('stm_auth_notice', ''); return true;
However, you are correct - STM Post Type and STM Importer can only be got with a legit key.
Anyone posting a theme by Stylemix Themes MUST include the latest versions of any STM plugins when they update the post as they are essential to the operation of the themes and cannot be got with a null.
This includes Pearl, Splash, Smarty, Transcargo, Dent-All... etc.
To install demo data would normally need a key as the files are returned from an api call to their server.
However, we can bypass that and use local files to install demos.
Here are the demo zips
https://mega.nz/#!v8VhUQBb!1TNgk9FzpXKdnpjaNa7Vr6S56EE7kGUXgYYt86M07cw
Create a folder in your consulting theme directory daled 'demos' and unzip the files into it.
In the file consulting/admin/includes/theme.php
Find the line function prepare_demo( $layout ){ which is around line 104
Change line 108 from
toPHP:$fxml = $tempDir . $layout .'.xml';
Now comment out lines 120-139 as shown here:PHP:$fxml = $tempDir 'demo_content.xml';
On line 140 (so just below all that) add:PHP:// $response = wp_remote_get( get_package($layout, 'zip'), array('timeout' => 30) ); // if ( is_wp_error( $response ) ) { // return false; // } // $body = wp_remote_retrieve_body( $response ); // // // file_get_contents if body is empty. // if ( empty( $body ) ) { // if ( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ) { // $body = @file_get_contents( get_package($layout, 'zip') ); // } // } // // if ( ! $wp_filesystem->put_contents( $fzip , $body ) ) { // @unlink( $fzip ); // $fp = @fopen( $fzip, 'w' ); // // @fwrite( $fp, $body ); // @fclose( $fp ); // }
Now you can install demos from those local files (I tested - it's working 100%).PHP:$fzip = get_template_directory_uri() . "/demos/" . $layout . ".zip";
One more step...
Finally, in the stm-importer plugin main stm-importer.php file comment out lines 235-250 as shown here:
This code tracks your site when you import stuff!PHP:/*Analytics*/ //jQuery.ajax({ //url: 'https://panel.stylemixthemes.com/api/active/', //type: 'post', //dataType: 'json', //data: { //theme: 'consulting', //layout: $site_name, //website: "<?php echo esc_url(get_site_url()); ?>", // //<?php //$envato = get_option('envato_market', array()); //$token = (!empty($envato['token'])) ? $envato['token'] : ''; ?> //token: "<?php echo esc_js($token); ?>" //} //});
Did you upload included plugins?I was not able to get to work, and could not find these function stm_check_auth() { in, consulting/admin/includes/theme.php
Did you upload included plugins?
Alright, I'll check in the morning for you.Yep! I did, its saying old version.
Fatal error: Cannot redeclare stm_custom_icons_menu() (previously declared in C:\xampp\htdocs\site\wp-content\plugins\stm-custom-icons\stm-custom-icons.php:551) in C:\xampp\htdocs\site\wp-content\plugins\custom-icons-by-stylemixthemes\stm-custom-icons.php on line 553
Alright, I'll check in the morning for you.
Can you tell me what version you have?
How did you try to switch?
Install Easy Theme and Plugin Upgrades and try with that installed.
@jameshertog @TRantula
In the file consulting/admin/includes/theme.php
After line 43 which is function stm_check_auth() {
add
Now you can use any key to activate the theme.PHP:set_site_transient('stm_auth_notice', ''); return true;
However, you are correct - STM Post Type and STM Importer can only be got with a legit key.
Anyone posting a theme by Stylemix Themes MUST include the latest versions of any STM plugins when they update the post as they are essential to the operation of the themes and cannot be got with a null.
This includes Pearl, Splash, Smarty, Transcargo, Dent-All... etc.
To install demo data would normally need a key as the files are returned from an api call to their server.
However, we can bypass that and use local files to install demos.
Here are the demo zips
https://mega.nz/#!v8VhUQBb!1TNgk9FzpXKdnpjaNa7Vr6S56EE7kGUXgYYt86M07cw
Create a folder in your consulting theme directory daled 'demos' and unzip the files into it.
In the file consulting/admin/includes/theme.php
Find the line function prepare_demo( $layout ){ which is around line 104
Change line 108 from
toPHP:$fxml = $tempDir . $layout .'.xml';
Now comment out lines 120-139 as shown here:PHP:$fxml = $tempDir 'demo_content.xml';
On line 140 (so just below all that) add:PHP:// $response = wp_remote_get( get_package($layout, 'zip'), array('timeout' => 30) ); // if ( is_wp_error( $response ) ) { // return false; // } // $body = wp_remote_retrieve_body( $response ); // // // file_get_contents if body is empty. // if ( empty( $body ) ) { // if ( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ) { // $body = @file_get_contents( get_package($layout, 'zip') ); // } // } // // if ( ! $wp_filesystem->put_contents( $fzip , $body ) ) { // @unlink( $fzip ); // $fp = @fopen( $fzip, 'w' ); // // @fwrite( $fp, $body ); // @fclose( $fp ); // }
Now you can install demos from those local files (I tested - it's working 100%).PHP:$fzip = get_template_directory_uri() . "/demos/" . $layout . ".zip";
One more step...
Finally, in the stm-importer plugin main stm-importer.php file comment out lines 235-250 as shown here:
This code tracks your site when you import stuff!PHP:/*Analytics*/ //jQuery.ajax({ //url: 'https://panel.stylemixthemes.com/api/active/', //type: 'post', //dataType: 'json', //data: { //theme: 'consulting', //layout: $site_name, //website: "<?php echo esc_url(get_site_url()); ?>", // //<?php //$envato = get_option('envato_market', array()); //$token = (!empty($envato['token'])) ? $envato['token'] : ''; ?> //token: "<?php echo esc_js($token); ?>" //} //});
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.