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

  • Thread starter Thread starter Deleted member 752298
  • Start date Start date
@mrd4rk
@hypoxis

Six files were modified. Not all modifications were done for the license. Some modifications were done to accommodate the lack of some data that is left out by not having a license. In PHP 8+, these would lead to a huge log file if left alone.

That been said, this is quite a complicated plugin. While I did not find any issue in my test after the modifications, you have to try it and check by yourself since there is not much product data in my test environment. I always test in a brand-new/fresh installation with a few dummy products added.

If a modal window is shown at the beginning with "skip onboarding", just ignore it. It will go away once you select any filter.

Files modified (modifications marked with "//#######"):

- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / class-freemius.php
- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / class-freemius-abstract.php
- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / class-fs-plugin-updater.php
- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / managers / class-fs-license-manager.php
- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / managers / class-fs-permission-manager.php
- fibofilters-pro / vendor / freemius / wordpress-sdk / includes / managers / class-fs-plan-manager.php

DL:
Code:
https://www.mediafire.com/file/37oshxptu2o2kq4/fibopro152.zip/file

VT (0/65):
Code:
https://www.virustotal.com/gui/file/0b9cdb01bd4d39d3b6e49a7b6c758cd67b24535254ad5bc77fd740dfa06a0f3e?nocache=1
Hello @zilog357 , I need to ask for your help once again :D. In the recent update of this plugin, they updated the Freemius SDK. I’ve modified the files according to your instructions, but I also noticed some changes in the class-freemius.php file. Could you kindly take a look and let me know if those changes might have any impact? I sincerely appreciate it! Here’s the latest version of the plugin:
https://www.mediafire.com/file/tw6980ivsgf1e8j/fibofilters-pro.1.6.1.zip/file
 
Hello @zilog357 , I need to ask for your help once again :D. In the recent update of this plugin, they updated the Freemius SDK. I’ve modified the files according to your instructions, but I also noticed some changes in the class-freemius.php file. Could you kindly take a look and let me know if those changes might have any impact? I sincerely appreciate it! Here’s the latest version of the plugin:
https://www.mediafire.com/file/tw6980ivsgf1e8j/fibofilters-pro.1.6.1.zip/file

Ok, I will check later tonight.
 
Hello @zilog357 , I need to ask for your help once again :D. In the recent update of this plugin, they updated the Freemius SDK. I’ve modified the files according to your instructions, but I also noticed some changes in the class-freemius.php file. Could you kindly take a look and let me know if those changes might have any impact? I sincerely appreciate it! Here’s the latest version of the plugin:
https://www.mediafire.com/file/tw6980ivsgf1e8j/fibofilters-pro.1.6.1.zip/file


Hello @mrd4rk

They changed the fremius file specifically, but all the changes I made, marked with "//#######" will stay current.

I mean, you can install the whole plugin with the new version and then make the same changes made previously by transferring all the modified lines marked with "//#######". If I remember correctly, there were 6 modified files.
 
Guys, many of you know that a nulled WP theme or plugin will work great but all the thoughts go with "how to do with the updates". It is known that some plugins are updated more frequently than others and if the modifications made to null it are many, it will be a headache for many to follow up with the updates.

In my opinion, the best way to make this easier is the way I am doing it every time there is an update. It is as follows:

First of all, you will need two things:

1. A text comparison software. I use "Beyond Compare" (for PC). It is about $60 but there are free alternatives that do similar work. Always use software installed in your computer. Never trust online services for any file. You know that they will collect ALL files submitted for comparison or any other service (text, pictures, etc.) and use them as they see fit. A free text comparison software alternative for Windows is WinMerge.

2. You will obviously need a copy of the updated theme or plugin. You can get it from this forum or any other, or a website that offers free updates.

Ok, what I do is create a "nuller" folder which I name "__nuller" (you can name it anything you'd like) and in that folder, I put all the modified files in the same hierarchy order as in the theme or plugin. All the other folders and files are discarded for the purpose of this nuller folder. So if the modifications were done in only 3 files for example, in the "__nuller" folder will be those 3 files under the proper folder names and subfolders.

This way, the "__nuller" folder becomes a template for nulling future updates, not needing to reinvent the wheel. What you do is use your file comparison software, load the folder of the newly updated plugin or theme on one side (I use the left side), and the appropriate "__nuller" folder on the other side (I use the right side for the nuller) and run a comparison of the whole thing.

I cannot say how other software behaves, but Beyond Compare puts in red all the lines that are different in a given file. And here is where the marking "//#######" comes into play. You might see many red lines in your comparison, outlining all the differences, which are all the changes done in the update, but only the red lines that have the "//#######" marking are the ones to work with.

If the line is red and it is NOT marked with "//#######", then it is part of the update and you are good to transfer it to the "__nuller" side so in the next update, that line, if it is not updated by the developer, will not be red, hence lowering the work to be done. If the red line has the "//#######" marking, then that one is transferred from the nuller side to the updated side.

Summarizing, I load the new folder at the left, then I load the "__nuller" folder at the right. All red lines with "//#######" are moved from right to left, and all the red lines WITHOUT "//######" are moved from left to right. When you are done, you have an update already nulled.

This is also good to see what changes have been made previously if the copy you get is supposed to be "nulled" by someone else, as they will target similar areas.

An example of a line that is part of the update and has nothing to do with the nulling process. It will be moved to the right:

1735424719556.png
Exampe of a line that is part of the nulling process. It will be moved to the left:

1735424770364.png

Once you master the process, which is very simple as the software does the hard part of moving and replacing avoiding mistakes, you will only need the "__nuller" folder template for nulling your product and the updates. The "__nuller" folder is different for each theme or plugin and I may provide it after nulling the theme or plugin. I suggest that you store it in a folder containing the theme or plugin folder and nuller folder. Make sure that you never upload the nulling folder to your server by mistake as it is not a complete theme or plugin.

For example, I store the whole thing in a folder with the description:

1735424827182.png

And inside the folder is the plugin folder with the nuller folder, to be used when an update is available. This is just for organizing it but you can store any way you would like to as long as you know what nuller folder belongs to what theme or plugin.

1735424879313.png
 
Guys, many of you know that a nulled WP theme or plugin will work great but all the thoughts go with "how to do with the updates". It is known that some plugins are updated more frequently than others and if the modifications made to null it are many, it will be a headache for many to follow up with the updates.

In my opinion, the best way to make this easier is the way I am doing it every time there is an update. It is as follows:

First of all, you will need two things:

1. A text comparison software. I use "Beyond Compare" (for PC). It is about $60 but there are free alternatives that do similar work. Always use software installed in your computer. Never trust online services for any file. You know that they will collect ALL files submitted for comparison or any other service (text, pictures, etc.) and use them as they see fit. A free text comparison software alternative for Windows is WinMerge.

2. You will obviously need a copy of the updated theme or plugin. You can get it from this forum or any other, or a website that offers free updates.

Ok, what I do is create a "nuller" folder which I name "__nuller" (you can name it anything you'd like) and in that folder, I put all the modified files in the same hierarchy order as in the theme or plugin. All the other folders and files are discarded for the purpose of this nuller folder. So if the modifications were done in only 3 files for example, in the "__nuller" folder will be those 3 files under the proper folder names and subfolders.

This way, the "__nuller" folder becomes a template for nulling future updates, not needing to reinvent the wheel. What you do is use your file comparison software, load the folder of the newly updated plugin or theme on one side (I use the left side), and the appropriate "__nuller" folder on the other side (I use the right side for the nuller) and run a comparison of the whole thing.

I cannot say how other software behaves, but Beyond Compare puts in red all the lines that are different in a given file. And here is where the marking "//#######" comes into play. You might see many red lines in your comparison, outlining all the differences, which are all the changes done in the update, but only the red lines that have the "//#######" marking are the ones to work with.

If the line is red and it is NOT marked with "//#######", then it is part of the update and you are good to transfer it to the "__nuller" side so in the next update, that line, if it is not updated by the developer, will not be red, hence lowering the work to be done. If the red line has the "//#######" marking, then that one is transferred from the nuller side to the updated side.

Tóm lại, tôi tải thư mục mới ở bên trái, sau đó tải thư mục "__nuller" ở bên phải. Tất cả các dòng màu đỏ có "//#######" được di chuyển từ phải sang trái, và tất cả các dòng màu đỏ KHÔNG CÓ "//######" được di chuyển từ trái sang phải. Khi bạn hoàn tất, bạn đã có một bản cập nhật đã được null.

Bạn cũng có thể xem những thay đổi đã được thực hiện trước đó nếu bản sao bạn nhận được được cho là đã bị "hủy" bởi người khác, vì họ sẽ nhắm vào những khu vực tương tự.

Ví dụ về một dòng là một phần của bản cập nhật và không liên quan gì đến quá trình hủy bỏ. Nó sẽ được di chuyển sang bên phải:

View attachment 407265
Ví dụ về một dòng là một phần của quá trình hủy. Nó sẽ được di chuyển sang bên trái:

View attachment 407266

Khi bạn đã thành thạo quy trình, rất đơn giản vì phần mềm thực hiện phần khó là di chuyển và thay thế để tránh sai sót, bạn sẽ chỉ cần mẫu thư mục "__nuller" để vô hiệu hóa sản phẩm và các bản cập nhật của mình. Thư mục "__nuller" khác nhau đối với mỗi chủ đề hoặc plugin và tôi có thể cung cấp nó sau khi vô hiệu hóa chủ đề hoặc plugin. Tôi đề xuất bạn lưu trữ nó trong một thư mục chứa thư mục chủ đề hoặc plugin và thư mục nuller. Đảm bảo rằng bạn không bao giờ tải nhầm thư mục vô hiệu hóa lên máy chủ của mình vì nó không phải là một chủ đề hoặc plugin hoàn chỉnh.

Ví dụ, tôi lưu trữ toàn bộ nội dung trong một thư mục có mô tả như sau:

View attachment 407267

Và bên trong thư mục là thư mục plugin có thư mục nuller, được sử dụng khi có bản cập nhật. Thư mục này chỉ để sắp xếp nhưng bạn có thể lưu trữ theo bất kỳ cách nào bạn muốn miễn là bạn biết thư mục nuller nào thuộc về chủ đề hoặc plugin nào.

View attachment 407268
Thank you so much. Incredibly detailed and dedicated.
 
Hello @zilog357 , if you have some free time, could you please take a look at the following plugin and help me null it?

https://www.mediafire.com/file/u5vnkknph7499xa/blocksy-companion-pro.2.0.83.zip/file

I try to find this plugin version all over the internet but all of these are not nulled. Thank you very much!
 
@spiritadeleke , I will take a look later, possibly today.

@Tony Luke N , Here is the info.

This plugin code for licensing (fremius) and user registration is quite complicated.

I took care of everything I could test for the time I had available. You will need to use it to check if everything is good.

So far, no errors, and most things go smoothly. "Most things" means that you will be able to import and use any of the demo sites that are NOT labeled as requiring "Business" or "Agency" plans.

While I could fool it locally and you will see in the "Account" area that you have an "Agency" plan, looks like you need a valid license so they allow you to download those "Business" or "Agency" templates. For the other ones, I tried one I liked and it installed perfectly.

User id, account details, etc. were randomly generated to fill the space that otherwise would create errors in programming.

About the modifications, there are too many to detail here (as usual with Fremius). I will just leave the filenames modified (14) and as usual, look for the mark "//#######" to see the modifications.

Files modified:
blocksy-companion-pro / framework / includes / capabilities.php
blocksy-companion-pro / fremius / includes / entities / class-fs-plugin-license.php
blocksy-companion-pro / fremius / includes / entities / class-fs-plugin-plan.php
blocksy-companion-pro / fremius / includes / entities / entities\class-fs-site.php
blocksy-companion-pro / fremius / includes / managers / class-fs-license-manager.php
blocksy-companion-pro / freemius / includes / sdk / FreemiusWordPress.php
blocksy-companion-pro / freemius / includes / class-freemius.php
blocksy-companion-pro / freemius / includes / class-freemius-abstract.php
blocksy-companion-pro / freemius / templates / account / partials / addon.php
blocksy-companion-pro / freemius / templates / forms / email-address-update.php
blocksy-companion-pro / freemius / templates / forms / license-activation.php
blocksy-companion-pro / freemius / templates / forms / subscription-cancellation.php
blocksy-companion-pro / freemius / templates / account.php
blocksy-companion-pro / freemius / templates / debug.php

DL:
Code:
https://www.mediafire.com/file/v3o2vf8yrdtjf1p/blocksycomp2083.zip/file

VT (0/64):
Code:
https://www.virustotal.com/gui/file/46a72aef8507078b50f34b7283b9396020a765ff329cb793e160cbaff0c7d105
 
@Tony Luke N

One more thing before you install it. The plugin will also need the following modification to a file, to avoid it from crashing if you deactivate the plugin.

I just found out now that I deactivated it from my test server.

The function below is not needed as it is used for the license/account/user things and it should return an array anyway. So modify it as follows so it returns an empty array:

File (yes, again):
blocksy-companion-pro / freemius / includes / class-freemius.php

Line #9236

CHANGE:
Code:
private function get_install_diff_for_api( $site, $install, $override = array() ) {

TO:
Code:
private function get_install_diff_for_api( $site, $install, $override = array() ) { return []; //#######
 
In the test environment, I did not get that message.

Can you please tell me the steps you took to get that message so I can check?
1. Fresh install wordpress latest version 6.7.1 (php 8.3, mariadb 11.7, nginx)
2. Install Blocksy theme (version 2.0.83 https://downloads.wordpress.org/theme/blocksy.2.0.83.zip )
3. Install Blocksy child-theme ( https://creativethemes.com/downloads/blocksy-child.zip ) and activate it
4. Install the plugin file you provided (both version, before and after changing the Line #9236 in \freemius\includes\ class-freemius.php - both still had the same result)
It displayed 'Agency plan' but I can use only free features.

Hope you can have a look at it, thank you!

1736951397921.png
 
I see. I could replicate the problem with the provided steps. That is caused by a javascript file that in turn is controlled by the Fremius system.

All the object variables and their properties, like "user", "site", "plan", plugin id, etc., need to be properly addressed so the plugin can release the premium content and modules.

I could try modifying the js file but #1, to be honest, I am not that good with javascript, and #2, it is possible that even with the modified js file there will be some missing properties that will also create problems. The best appoach is to work with the Fremius system.

So I will need a longer time to work on it to figure it out because samples of that content cannot be anticipated as I do with other plugins because of the complexity of the code.

That info would otherwise be in the database once a valid license is in place and after that, just copying the data and inserting it into the database will be enough. But that is not available and I am trying to figure that data out without much information.

Yes, this one is hitting me directly in the face. It is not impossible but again, it will require more time and I have a technical job that already consumes a lot of my time so I cannot promise anything.

If I find anything, I will let you know.
.
Don't call me, I'll call you xD
 
Hello @zilog357
In case you need a valid license, I can send it to you! (I just need the domain name to ask my agency to activate the license on your domain.)

Well, I use a localhost for the nulling jobs. Even when I have several spare domains, I use no domain because development in the localhost is faster (no FTP). If you can activate one of my domains I would use Offerize dot com, but I cannot work on it until maybe this weekend. I have a full agenda for the rest of this week.

If it can be done, hopefully, I can extract the database information so you can do unlimited pro installs. But again, I cannot promise anything until I see the licensed code and how it works. It could be simpler than I think but that is the result of not dedicating full time to a complicated job like this Fremius plugin.

Regards
 

Awfis - Business Consulting WordPress Theme​

https://themeforest.net/item/awfis-creative-business-agency-wordpress-theme/54949112
i need this theme please i request you to help me
 
Back
Top