1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

How to Null and Activate Premium WordPress Themes and Plugins [Valuable info]

Discussion in 'Blogging' started by Festinger, Mar 28, 2019.

  1. Festinger

    Festinger Jr. VIP Jr. VIP

    Joined:
    Feb 27, 2014
    Messages:
    4,011
    Likes Received:
    4,423
    Occupation:
    Download Premium WordPress Themes and Plugins @
    Home Page:
    Hey guys!

    I love to contribute to BHW and I would like to share some handy lines of code to make it more easier to activate premium WordPress themes and plugins. To start with, I'd like to share how to null Yoast Premium plugins:

    How to Activate Yoast Premium plugins:

    Step 1:


    Find the following file using a FTP client, such as FileZilla:

    wordpress-seo-premium/vendor/yoast/license-manager/class-license-manager.php,

    Step 2:

    Find the function get_license_status() at line 327:

    Code:
    public function get_license_status() {
    $license_status = $this->get_option( 'status' );
    return trim( $license_status );
    }
    
    Step 3:

    In line 330, change:

    Code:
    return trim( $license_status );
    to:

    Code:
    return 'valid';
    Et voilà: your Yoast Premium plugins will work. :)

    More plugins and themes will follow soon.

    Stay tuned.
     
    • Thanks Thanks x 41
    Last edited by a moderator: May 5, 2019
  2. everythingred

    everythingred Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 21, 2010
    Messages:
    2,707
    Likes Received:
    1,778
    Thank you for this. What if they have if statements? Or is this pretty universal?
     
  3. Meddie

    Meddie Jr. VIP Jr. VIP

    Joined:
    Jan 6, 2015
    Messages:
    3,061
    Likes Received:
    2,332
    Occupation:
    El Profesor
    Location:
    www
    Home Page:
    Doctor make for visual composer a tutorial please. Thank you in advance!
     
    • Thanks Thanks x 1
  4. Akash Mondal

    Akash Mondal Power Member

    Joined:
    Apr 29, 2018
    Messages:
    603
    Likes Received:
    105
    Gender:
    Male
    Location:
    In between Heaven and Hell
    Dear sir @Festinger can you please null WP-SCRIPT products ..??
    It'll be really very helpful.
    Thanks in advance.
     
    • Thanks Thanks x 1
  5. ProVro

    ProVro Newbie

    Joined:
    Mar 24, 2019
    Messages:
    9
    Likes Received:
    0
    Good shares.
    Not tried it yet, because i used plugins yoast with license installment already.
    Are this still will works after yoast updates?
     
  6. Festinger

    Festinger Jr. VIP Jr. VIP

    Joined:
    Feb 27, 2014
    Messages:
    4,011
    Likes Received:
    4,423
    Occupation:
    Download Premium WordPress Themes and Plugins @
    Home Page:
    It's pretty universal and should work for all Yoast plugins.

    Professor, Visual Composer is a bitch, a real bitch. She is not working without direct connection. :(

    Unfortunately, I do not have access to WP Script products, so I am unable to investigate this. ;)
     
  7. kayo

    kayo Newbie

    Joined:
    Mar 25, 2019
    Messages:
    16
    Likes Received:
    0
    Thanks for sharing this. Definitely will make use of it.
     
  8. Meddie

    Meddie Jr. VIP Jr. VIP

    Joined:
    Jan 6, 2015
    Messages:
    3,061
    Likes Received:
    2,332
    Occupation:
    El Profesor
    Location:
    www
    Home Page:
    I know, I`ve tried too many times looks like it`s end to end encrypted as bloody military way. :D
     
    • Thanks Thanks x 1
  9. Akash Mondal

    Akash Mondal Power Member

    Joined:
    Apr 29, 2018
    Messages:
    603
    Likes Received:
    105
    Gender:
    Male
    Location:
    In between Heaven and Hell
    NP, thanks for you concern ..
     
    • Thanks Thanks x 1
  10. Festinger

    Festinger Jr. VIP Jr. VIP

    Joined:
    Feb 27, 2014
    Messages:
    4,011
    Likes Received:
    4,423
    Occupation:
    Download Premium WordPress Themes and Plugins @
    Home Page:
    How to Activate the Rehub theme:

    Step 1:

    Find the following file using a FTP client:

    admin/rehub.php

    Step 2:

    Search and select the following code lines 241 to 246:

    Code:
    $raw_response = wp_remote_get( ‘https://api.envato.com/v3/market/author/sale?code=’ . $tf_purchase_code, $prepare_request );
    if ( ! is_wp_error( $raw_response ) ) {
    $response = wp_remote_retrieve_body( $raw_response );
    $response = json_decode( $response, true );
    }
    
    Step 3:

    Replace the code with the following code:

    Code:
    $response = array();
    $response['buyer'] = $tf_username;
    $response['supported_until'] = date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 365 day"));
    
    Step 4:

    Use any license code you want and the theme is working 100%.

    EXTRA BONUS: Demo content is working! :)
     
    • Thanks Thanks x 5
  11. JinxerCraft

    JinxerCraft Regular Member

    Joined:
    Mar 18, 2017
    Messages:
    440
    Likes Received:
    96
    Gender:
    Male
    How to null Newspaper theme?
    Thanks in advance! :)
     
  12. Mediawiz

    Mediawiz Jr. VIP Jr. VIP

    Joined:
    Apr 19, 2016
    Messages:
    308
    Likes Received:
    278
    Occupation:
    Building spaceships
    Location:
    CPA City
    WPBakery works without license, only updates and demo import isn't possible without one.
     
  13. Meddie

    Meddie Jr. VIP Jr. VIP

    Joined:
    Jan 6, 2015
    Messages:
    3,061
    Likes Received:
    2,332
    Occupation:
    El Profesor
    Location:
    www
    Home Page:
    Yeah, but some updates are crucial to have. :(
     
  14. Mediawiz

    Mediawiz Jr. VIP Jr. VIP

    Joined:
    Apr 19, 2016
    Messages:
    308
    Likes Received:
    278
    Occupation:
    Building spaceships
    Location:
    CPA City
    Well, in that case I quote Festinger :D

     
    • Thanks Thanks x 1
  15. DuellBH

    DuellBH Junior Member

    Joined:
    Dec 28, 2018
    Messages:
    109
    Likes Received:
    27
    Occupation:
    system engineer
    Thanks.
    Luckily I do not have to bookmark this post for reference since I bought a lifetime subscription.
     
    • Thanks Thanks x 1
  16. silvalex

    silvalex Newbie

    Joined:
    Oct 2, 2011
    Messages:
    28
    Likes Received:
    2
    Did this and Yoast plugin seems the same. Guessing I need to download additional yoast plugins?
     
  17. Met

    Met Newbie

    Joined:
    Jan 2, 2019
    Messages:
    47
    Likes Received:
    9
    Gender:
    Male
    Would like that too
     
  18. summersalt

    summersalt Newbie

    Joined:
    Jun 12, 2014
    Messages:
    18
    Likes Received:
    1
    Hey bro, if you could give us/point us to a general tutorial or something close on what to look out for and how to go about nulling these scripts by ourselves.. that will make it easier for you and better for us all. Looking forward to hearing from you
     
  19. Meseco

    Meseco Newbie Premium Member

    Joined:
    Dec 12, 2018
    Messages:
    26
    Likes Received:
    5
    The Wp-Script Themes are not that easy, because they rely on the core plugin. All theme options are in there. While it is not that hard to run a theme without the core plugin, you will have to edit the Theme options directly in the database.
     
  20. fb3003

    fb3003 Jr. VIP Jr. VIP

    Joined:
    Aug 14, 2015
    Messages:
    999
    Likes Received:
    243
    Gender:
    Male
    @Festinger once you null yoast and make it premium, can you continue to update it on regular basis and remain a premium user? or do you need to do the null exercise every time you update?