@Gatsu @youcefaz
First off, the theme needs to be activated else you won't be able to install demos.
There are various ways to do this (and I don't know if this release has been nulled for activation, or a method given) but here is one...
Edit the file
betheme/functions/admin/class-mfn-dashboard.php and change line 235 from
PHP:
$response = $this->remote_post( 'register', $args );
to
PHP:
$response['success'] = 'success';
And change line 274 from
PHP:
$response = $this->remote_post( 'register', $args );
to
PHP:
$response['success'] = 'success';
Now use any code to activate the theme.
Now to allow demo import...
Here are the demos download link:
http://uploadboy.me/195kbgc9wds0/
Unzip them to a folder called 'demos' in the root of the theme folder (ie. wp-content/themes/betheme/demos)
you will need to create the folder.
Then in the file
betheme/functions/importer/class-mfn-importer-api.php change line 91 from
PHP:
$response = wp_remote_get( $url, $args );
to
and line 102 from
PHP:
$body = @file_get_contents( $url );
to
PHP:
$body = @file_get_contents(get_template_directory_uri() . '/demos/' . $this->demo . '.zip');
Now you can click Install on any of the demos in the BeTheme dashboard to install them.
N.B. This will not affect premium plugins - you will still need to install those manually.
https://babia.to/resources/wpbakery-page-builder-for-wordpress-formerly-visual-composer.95/
https://babia.to/resources/slider-revolution-responsive-wordpress-plugin.527/