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

Newsreader - Revolutionary WordPress Theme for Digital Media

Newsreader - Revolutionary WordPress Theme for Digital Media v1.0.2

No permission to download

Marian97c

Member
Mar 13, 2020
39
9
8
Babak submitted a new resource:

Newsreader - Revolutionary WordPress Theme for Digital Media - Download Newsreader - Revolutionary WordPress Theme for Digital Media Nulled ThemeForest 51279864

00_preview--sale.__large_preview.jpg
Download Newsreader - Revolutionary WordPress Theme for Digital Media Nulled ThemeForest 51279864
While demo content looks as close to our demos as possible, there’re a few site-specific settings, that need manual configuration for your convenience, for example, links to your social accounts, widgets and some others.

IMAGE CREDITS
The sample images viewed in the live preview are for demo purposes only and are not included with your purchase.

These...

Read more about this resource...
 
  • Love
Reactions: Babak
Hello guys,

Modify the class-theme-activation.php file

Code:
/**
 * Trigger license.
 */
      public function trigger_license() {
if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'] ) ) { // Input var ok; sanitization ok.
              return;
          }

$email = null;

// Get action.
          if ( ! isset( $_POST['action'] ) ) { // Input var ok.
              return;
          }

// Get purchase code.
          if ( isset( $_POST['code'] ) && $_POST['code'] ) { // Input var ok; sanitization ok.
              $this->purchase_code = sanitize_text_field( $_POST['code'] ); // Input var ok; sanitization ok.
          } else {
$this->msg = $this->set_message( esc_html__( 'Purchase code not entered.', 'newsreader' ) );
return;
          }

$action = sanitize_text_field( $_POST['action'] ); // Input var ok; sanitization ok.

          // Set default response data
          $data = array(
'status' => true,
'item_id' => '123456', // This should match the item ID you want to simulate
              'sold_at' => '2022-01-01',
'supported_until' => '2025-01-01',
// Add more default data if needed
          );

// Update license.
          if ( 'activate' === $action ) {
$this->reset_notices();
$this->update_license( $data );
          }

// Deactivate license.
          if ( 'deactivate' === $action ) {
$this->reset_notices();
$this->delete_license();
          }

// Check again.
          if ( 'check' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_license( $data );
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Subscribe.
          if ( 'subscribe' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_subscribe();
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Output message.
          if ( ! isset( $data['message'] ) ) {
$this->msg = $this->set_message( esc_html__( 'Could not receive data from the server, try another time, or contact support.', 'newsreader' ) );
} else {
$this->msg = $data['message'];
          }
      }


Here is the code and update it.

Tested worked 100%
 
Hello guys,

Modify the class-theme-activation.php file

Code:
/**
 * Trigger license.
 */
      public function trigger_license() {
if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'] ) ) { // Input var ok; sanitization ok.
              return;
          }

$email = null;

// Get action.
          if ( ! isset( $_POST['action'] ) ) { // Input var ok.
              return;
          }

// Get purchase code.
          if ( isset( $_POST['code'] ) && $_POST['code'] ) { // Input var ok; sanitization ok.
              $this->purchase_code = sanitize_text_field( $_POST['code'] ); // Input var ok; sanitization ok.
          } else {
$this->msg = $this->set_message( esc_html__( 'Purchase code not entered.', 'newsreader' ) );
return;
          }

$action = sanitize_text_field( $_POST['action'] ); // Input var ok; sanitization ok.

          // Set default response data
          $data = array(
'status' => true,
'item_id' => '123456', // This should match the item ID you want to simulate
              'sold_at' => '2022-01-01',
'supported_until' => '2025-01-01',
// Add more default data if needed
          );

// Update license.
          if ( 'activate' === $action ) {
$this->reset_notices();
$this->update_license( $data );
          }

// Deactivate license.
          if ( 'deactivate' === $action ) {
$this->reset_notices();
$this->delete_license();
          }

// Check again.
          if ( 'check' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_license( $data );
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Subscribe.
          if ( 'subscribe' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_subscribe();
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Output message.
          if ( ! isset( $data['message'] ) ) {
$this->msg = $this->set_message( esc_html__( 'Could not receive data from the server, try another time, or contact support.', 'newsreader' ) );
} else {
$this->msg = $data['message'];
          }
      }


Here is the code and update it.

Tested worked 100%
thanks...
 
Hello guys,

Modify the class-theme-activation.php file

Code:
/**
 * Trigger license.
 */
      public function trigger_license() {
if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'] ) ) { // Input var ok; sanitization ok.
              return;
          }

$email = null;

// Get action.
          if ( ! isset( $_POST['action'] ) ) { // Input var ok.
              return;
          }

// Get purchase code.
          if ( isset( $_POST['code'] ) && $_POST['code'] ) { // Input var ok; sanitization ok.
              $this->purchase_code = sanitize_text_field( $_POST['code'] ); // Input var ok; sanitization ok.
          } else {
$this->msg = $this->set_message( esc_html__( 'Purchase code not entered.', 'newsreader' ) );
return;
          }

$action = sanitize_text_field( $_POST['action'] ); // Input var ok; sanitization ok.

          // Set default response data
          $data = array(
'status' => true,
'item_id' => '123456', // This should match the item ID you want to simulate
              'sold_at' => '2022-01-01',
'supported_until' => '2025-01-01',
// Add more default data if needed
          );

// Update license.
          if ( 'activate' === $action ) {
$this->reset_notices();
$this->update_license( $data );
          }

// Deactivate license.
          if ( 'deactivate' === $action ) {
$this->reset_notices();
$this->delete_license();
          }

// Check again.
          if ( 'check' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_license( $data );
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Subscribe.
          if ( 'subscribe' === $action ) {
if ( $this->check_license( $data ) ) {
$this->update_subscribe();
} else {
$this->reset_notices();
$this->delete_license();
              }
          }

// Output message.
          if ( ! isset( $data['message'] ) ) {
$this->msg = $this->set_message( esc_html__( 'Could not receive data from the server, try another time, or contact support.', 'newsreader' ) );
} else {
$this->msg = $data['message'];
          }
      }


Here is the code and update it.

Tested worked 100%
Kindly attach the file, the code seems to have an error. Thanks
 
Kindly attach the class-theme-activation.php file
 

Attachments

  • Screenshot 2024-04-22 at 19-46-45 WordPress › Error.png
    Screenshot 2024-04-22 at 19-46-45 WordPress › Error.png
    52.6 KB · Views: 7
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