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

  • Thread starter Thread starter Deleted member 752298
  • Start date Start date
No worries, no need. I am glad I could help.

If everything works and you are wondering about the changes made, it was all done in the "freemius" folder, within five different files. The specific files and their path can be seen in the picture below. Just open each one in a text editor and look for "//#######", which is the "mark" I put to every change I make, to keep track of them.

View attachment 314632
Okay, I've got it ^^
 
Okay thanks


Done! Just go to main theme folder "salepush" (not the child theme) and in that folder, look for the file "functions.php" and open it in a text editor.

At the end of the file, enter the following lines:

update_option( 'salepush_purchase_code_status', 'valid' );
update_option( 'salepush_license_key_status', 'valid' );
update_option( 'salepush_purchase_code', 'L12345678' );

The purchase code ("L12345678") can be anything. I just always use that string of characters.

After doing that, when you activate the theme, it will go through the same process but it will automatically skip the part where it asks for the license key because the code above "tells" the program that all is good to go.

I even imported the demo without any problem.

Cheers!
1705543016693.png

---

1705543038117.png

------

1705543094068.png
 
Done! Just go to main theme folder "salepush" (not the child theme) and in that folder, look for the file "functions.php" and open it in a text editor.

At the end of the file, enter the following lines:

update_option( 'salepush_purchase_code_status', 'valid' );
update_option( 'salepush_license_key_status', 'valid' );
update_option( 'salepush_purchase_code', 'L12345678' );

The purchase code ("L12345678") can be anything. I just always use that string of characters.

After doing that, when you activate the theme, it will go through the same process but it will automatically skip the part where it asks for the license key because the code above "tells" the program that all is good to go.

I even imported the demo without any problem.

Cheers!
View attachment 314898

---

View attachment 314899

------

View attachment 314900

@zilog357 Thank you so much for your kind support. I really appreciate that brother!​

 
I would need a download link to take a look at the code to see if it can be nulled.
Don't have a download link, just have a website using diz theme: https://moonandspoonandyum.com


One more plugin I need, link: https://bootstrapped.ventures/checkout/
 
@zilog357 Terima kasih banyak. superb.
The theme is now working activated. even cannot use other skin.
Thank you for the help bro.
please i need help, After following this process, i encounter an infinite load that hinders me from doing anything on the wp dashboard
 

Attachments

  • Help.jpg
    Help.jpg
    47.8 KB · Views: 5
please i need help, After following this process, i encounter an infinite load that hinders me from doing anything on the wp dashboard

I do not remember the case but none of the plugins/themes I have worked with have shown that behavior. Things like that usually happen when the code modifications to be done are not properly copied or are not put in the specific areas they should be put.
 
I do not remember the case but none of the plugins/themes I have worked with have shown that behavior. Things like that usually happen when the code modifications to be done are not properly copied or are not put in the specific areas they should be put.
Can i attach the file ? is it something you can help with at the moment ?
 
Can i attach the file ? is it something you can help with at the moment ?

I can check. What are the details?

-Is it a plugin or a theme and which one?
-What modification did you do to it?

And yes, I will need an attachment of the original item in question so I can take a look at it.
 
I can check. What are the details?

-Is it a plugin or a theme and which one?
-What modification did you do to it?

And yes, I will need an attachment of the original item in question so I can take a look at it.
Thanks, i really appreciate your feedback and time, this is the theme.zip, the particular issue is with the ThemeRex addons plugin, which executes a code block and action hook named do_delay_action, causing the infinite loop preventing the theme from being used, i got chatgpt to analyze the problem, see my efforts in link attached. but didn't give me useful codes to fix the problem.

https://chat.openai.com/share/23a316f8-b1ea-47c8-bee8-76dee3eeeb2a
-link to the theme Zip file!
https://workupload.com/file/HxmcFKuWD6s
 
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. ;)
Sorry if I am asking stupid questions. While I do have a software development background, I am new to the WordPress world and don't fully understand much about plugins and themes activation yet. Does WordPress look for activation files in a standard directory that it expects to find with each plugin or does the plugin set its activation directory path through some kind of path variable? In the case of visual composer, is it a different challenge/answer everytime and is that answer dependent on a specific installation? I will probably have more question as I continue reading. Thanks for your patience.
 
Sorry if I am asking stupid questions. While I do have a software development background, I am new to the WordPress world and don't fully understand much about plugins and themes activation yet. Does WordPress look for activation files in a standard directory that it expects to find with each plugin or does the plugin set its activation directory path through some kind of path variable? In the case of visual composer, is it a different challenge/answer everytime and is that answer dependent on a specific installation? I will probably have more question as I continue reading. Thanks for your patience.

About the plugins, all of them normally sit in the "/wp-content/plugins/" folder. The information of the plugin is directly parsed from the main file in the plugin where the information is presented as comments at the top of the file, like this:

Code:
/**
 * Plugin Name: WooCommerce
 * Plugin URI: https://woo.com/
 * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
 * Version: 8.4.0
 * Author: Automattic
 * Author URI: https://woo.com
 * Text Domain: woocommerce
 * Domain Path: /i18n/languages/
 * Requires at least: 6.3
 * Requires PHP: 7.4
 *
 * @package WooCommerce
 */

As for the activation, it is done in the database. There is a table or row in the db with the activated plugins and WordPress goes from there.

There are other methods (not standard) that you may lay a plugin file (not a folder) in the "wp-content" folder, where it will be automatically activated by WP and the end user will have no control over it. Those are called "Drop-in" plugins and are necessary in very few cases, like in a cache plugin.

Developing for WordPress is not hard, as it is PHP, JS, and MySQL. However, the only thing that was shocking for me in the beginning was that I was ready and cocky with my knowledge of PHP when I hit a wall by realizing that WP has its own set of functions and it was like learning PHP again, lol. That is, you still have all the PHP functions that you can use but also have a full set of functions developed by and for WP. So, in short, WP is a framework.

The standard method used for programming is object-oriented (OOP) but you may also use the procedural method in small projects.

To keep the WP structure when developing, get used to using their special functions called "hooks". Those are a bunch of "filters" and "actions" that can modify data without modifying the structure (hard coding) of WP. That way, every time there is an update, nothing is broken (mostly).

Hey @zilog357

Any update?

I am sorry mate. How this works is, you provide the plugin or theme and I work with it in an attempt to help. I cannot get the product for you, though if I have it, I will, but in this case, I do not have it.

Thanks, i really appreciate your feedback and time, this is the theme.zip, the particular issue is with the ThemeRex addons plugin, which executes a code block and action hook named do_delay_action, causing the infinite loop preventing the theme from being used, i got chatgpt to analyze the problem, see my efforts in link attached. but didn't give me useful codes to fix the problem.

https://chat.openai.com/share/23a316f8-b1ea-47c8-bee8-76dee3eeeb2a
-link to the theme Zip file!
https://workupload.com/file/HxmcFKuWD6s

Ok. I will take a look and will let you know.

Ok. I will take a look and will let you know.

Ok, my report.

The "do_delayed_action" is normal for saving data when you click on save of anything in the theme.

I installed the theme and the plugin and it ran smoothly.

What I did:

1. I installed the theme and the updated "trx_addons" plugin (v2.28.0 instead of the supplied v2.27.1). All done in a clean install sandbox environment in my localhost.
2. I activated the theme and "trx_addons" plugin to see if all was ok and it was. It ran smoothly.
3. I installed all the recommended plugins to see if there could be a conflict. There were none and no errors on the server.
4. I used a slightly different code for the modification:

In the theme's folder, in the "functions.php" file, instead of the actual code below:
Code:
update_option( 'trx_addons_theme_anesta_activated' , 1);
update_option( 'purchase_code_anesta' , '5875-2457-6892-4125-7547' );
update_option( 'purchase_code_src_anesta' , 'env-elements' );

I used this instead:
Code:
update_option( 'trx_addons_theme_anesta_activated', true );
update_option( 'purchase_code_anesta', 'L12345678' );
update_option( 'purchase_code_src_anesta', 'L12345678' );

There should be no functional difference though. I just mentioned it in case you want to try if the problem persists.

What I found:

The modified codes are in the theme "functions.php" file instead of the plugins "trx_addons" folder, in the "trx_addons.php" file. That is clever because if you update the "trx_addons" plugin, the modifications are not lost. However, they are if the theme is updated, but the plugin is more likely to be updated more often than the theme anyway.

What it could be then:

If the problem persists, it could be a conflict with another plugin, or an issue with the server, or you can try updating the "trx_addons" plugin..

For the server part, in the theme panel, make sure that the "system check" parameters of the server meet all the requirements. All under the column "current" should be in green. As an example, a low memory amount allocation will cause endless loops.

For the plugins, if you have other plugins, the usual method of deactivating all of them and trying one by one should be done to determine which one is the culprit.

Conclusion:

1. The theme, the plugins, and the modifications are working perfectly in a clean install. No loops at all and runs smoothly. If the problem persists, it is a variable beyond those components.

2. Chat GPT is gay.
 
I can check. What are the details?

-Is it a plugin or a theme and which one?
-What modification did you do to it?

And yes, I will need an attachment of the original item in question so I can take a look at it.

Ok, my report.

The "do_delayed_action" is normal for saving data when you click on save of anything in the theme.

I installed the theme and the plugin and it ran smoothly.

What I did:

1. I installed the theme and the updated "trx_addons" plugin (v2.28.0 instead of the supplied v2.27.1). All done in a clean install sandbox environment in my localhost.
2. I activated the theme and "trx_addons" plugin to see if all was ok and it was. It ran smoothly.
3. I installed all the recommended plugins to see if there could be a conflict. There were none and no errors on the server.
4. I used a slightly different code for the modification:

In the theme's folder, in the "functions.php" file, instead of the actual code below:
Code:
update_option( 'trx_addons_theme_anesta_activated' , 1);
update_option( 'purchase_code_anesta' , '5875-2457-6892-4125-7547' );
update_option( 'purchase_code_src_anesta' , 'env-elements' );

I used this instead:
Code:
update_option( 'trx_addons_theme_anesta_activated', true );
update_option( 'purchase_code_anesta', 'L12345678' );
update_option( 'purchase_code_src_anesta', 'L12345678' );

There should be no functional difference though. I just mentioned it in case you want to try if the problem persists.

What I found:

The modified codes are in the theme "functions.php" file instead of the plugins "trx_addons" folder, in the "trx_addons.php" file. That is clever because if you update the "trx_addons" plugin, the modifications are not lost. However, they are if the theme is updated, but the plugin is more likely to be updated more often than the theme anyway.

What it could be then:

If the problem persists, it could be a conflict with another plugin, or an issue with the server, or you can try updating the "trx_addons" plugin..

For the server part, in the theme panel, make sure that the "system check" parameters of the server meet all the requirements. All under the column "current" should be in green. As an example, a low memory amount allocation will cause endless loops.

For the plugins, if you have other plugins, the usual method of deactivating all of them and trying one by one should be done to determine which one is the culprit.

Conclusion:

1. The theme, the plugins, and the modifications are working perfectly in a clean install. No loops at all and runs smoothly. If the problem persists, it is a variable beyond those components.

2. Chat GPT is gay.
Lol, thanks man, I really appreciate.. chatgpt is gay got me rolling on the floor..
Will implement your recommendations and see
 
Lol, thanks man, I really appreciate.. chatgpt is gay got me rolling on the floor..
Will implement your recommendations and see

By the way, it ran without any problem, but I gotta tell you bro, that theme is loaded! If you install all the plugins they recommend, you are gonna need a very good server. Elementor alone takes its toll.

Another thing, if the error persists, check the server log file to see if there are any errors related to the database. Errors in the database (caused by not compatible plugins) are the ones that loop and delay any WP installation the most.
 
Last edited:
Back
Top