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

Finbuzz - Corporate Business WordPress Theme

Finbuzz - Corporate Business WordPress Theme 2.1.1

No permission to download
Not only @WPIT but if some good soul would be willing to null it, it would be the most important person for me today, until 23h59 😇
 
All the code working:
To disable the lic verification check here: wp-content\themes\finbuzz\inc "lc-helper.php"
<?php
/**
* Check Radius Theme License
*
* @since 1.0
*
*/
namespace RTLC;

if ( defined( 'RT_DEBUG' ) && RT_DEBUG ) {
return;
}

class Helper {
/**
* Holds the values to be used in the fields callbacks
*/
private $options;

private $license_url = "https://envato.radiustheme.com/license-check";
private $theme_name = "";
private $theme_slug = "";

/**
* Start up
*/
public function __construct() {
add_action( 'admin_menu', [$this, 'theme_menu'] );
add_action( 'admin_init', [$this, 'theme_option'] );

$theme_info = wp_get_theme();
$theme_info = ( $theme_info->parent() ) ? $theme_info->parent() : $theme_info;
$theme_name = $theme_info->get('Name');

// theme name
$this->theme_name = $theme_name;

// theme slug
$theme_name = strtolower(trim(preg_replace('/[^A-Za-z0-9-]+/', '-', $theme_name)));
$this->theme_slug = $theme_name;
}

/**
* Add options page
*/
public function theme_menu() {
add_theme_page( esc_html__( 'Theme License', 'finbuzz' ), esc_html__( 'Theme License', 'finbuzz' ), "manage_options", "rtlc", array( $this, 'create_admin_page' ), null, 99);
}

/**
* Options page callback
*/
public function create_admin_page() {
// Set class property
settings_errors();

$this->options = get_option('rt_licenses');
?>
<div class="wrap">
<h1><?php esc_html_e( 'Theme License', 'finbuzz' ); ?></h1>
<form method="post" action="options.php">
<?php
// This prints out all hidden setting fields
settings_fields( 'rt_option_group' );
do_settings_sections( 'finbuzz-setting' );
?>
</form>
</div>
<?php
}

/**
* Register and add settings
*/
public function theme_option() {
register_setting(
'rt_option_group', // Option group
'rt_license', // Option name
array( $this, 'sanitize_text' ) // Sanitize
);

add_settings_section(
'rt_license_section', // ID
false, // Title
false, // Callback
'finbuzz-setting' // Page
);

add_settings_field(
'rt_purchase_code',
esc_html__( 'Purchase Code', 'finbuzz' ),
array( $this, 'purchase_code_callback' ),
'finbuzz-setting',
'rt_license_section'
);

add_settings_field(
'rt_license_status',
esc_html__( 'License Status', 'finbuzz' ),
array( $this, 'license_status_callback' ),
'finbuzz-setting',
'rt_license_section'
);

add_settings_field(
'rt_license_note',
esc_html__( 'Note:', 'finbuzz' ),
array( $this, 'license_note_callback' ),
'finbuzz-setting',
'rt_license_section'
);

add_settings_field(
'rtlc_license_check', // ID
false, // Title
array( $this, 'license_check_callback' ), // Callback
'finbuzz-setting', // Page
'rt_license_section' // Section
);
}


/**
* Sanitize each setting field as needed
*
* @param array $input Contains all settings fields as array keys
*/
public function sanitize_text( $input ) {
$new_input = array();

if( isset( $input['rt_purchase_code'] ) )
$new_input['rt_purchase_code'] = sanitize_text_field( $input['rt_purchase_code'] );

return $new_input;
}

/**
* Get the settings option array and print one of its values
*/
public function purchase_code_callback() {
$value = '';
//this first line is for checking old codebase
if ( isset( $this->options[$this->theme_slug.'_license_key'] ) ) {
$value = esc_attr( $this->options[$this->theme_slug.'_license_key'] );
} else if ( isset( $this->options[$this->theme_slug.'_license'] ) && isset( $this->options[$this->theme_slug.'_license']['key'] ) ) {
$value = esc_attr( $this->options[$this->theme_slug.'_license']['key'] );
}

printf(
'<input type="text" class="regular-text" id="rt_purchase_code" name="rt_license['.$this->theme_slug.'_license_key'.']" value="%s" />',
$value
);
}

/**
* Check license status
*/
public function license_status_callback() {
$status_text = esc_html__( 'Activated', 'finbuzz' );

echo "<span class='rtlc-status-btn rtlc-verified'>{$status_text}</span>";
}

/**
* User note
*/
public function license_note_callback() {
$status = esc_html__( 'Your license is active. If you face any problems, please contact our', 'finbuzz' ).' <a href="https://www.radiustheme.com/contact/">'.esc_html__( 'Support Center', 'finbuzz' ).'</a>';
echo "<span class='rtcl-note'>{$status}</span> <br><pre>";
}

/**
* Active license button
*/
public function license_check_callback() {
// Removed the button
}

// Removed the rtlc_verification function

}

if ( is_admin() ) {
new Helper();
}
 
Changue the lc-utility.php to full activated

Use this code:
<?php

namespace RTLC;

if ( defined( 'RT_DEBUG' ) && RT_DEBUG ) {
return;
}

namespace RTLC;

class Utility {

public function __construct() {
// No es necesario agregar ninguna acción aquí
}

// No se verificará la licencia ni se mostrarán notificaciones
function register_notice() {
// No haremos nada aquí para omitir la verificación
}

function style($path) {
// No agregaremos ningún estilo aquí
}

function script() {
// No agregaremos ningún script aquí
}
}

// Instancia la clase Utility siempre que se encuentre en el panel de administración
if (is_admin()) {
new Utility();
}
 
You need to update both files and it will work for you: "lc-helper.php" and "lc-utility.php" . All work fine for me. you can give me a like
 
Help, I can't install any demo content, I get "Request failed. Error code: 202" I've tried every way, even installing the theme on other servers, but I still get the same error.
I also installed different versions of the theme and the demo content cannot be imported.
Thank you.
 

Attachments

  • error 1.png
    error 1.png
    531.4 KB · Views: 1
Help, I can't install any demo content, I get "Request failed. Error code: 202" I've tried every way, even installing the theme on other servers, but I still get the same error.
I also installed different versions of the theme and the demo content cannot be imported.
Thank you.
Check php version and increse timeout ram limit
 
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