© MyV, all rights reserved. 2021

Installation

How to install No Adblock?

Attention

Do not upload the script to a folder named anything like "Ads" or "Advertisement" or the script may not work propertly because then maybe Adblockers are blocking some important files from the script.

  • 1

    Unpack the ZIP archive

    Unpack the ZIP archive and upload the "myv_n-a" folder to your server.
  • 2

    Install No Adblock

    Open the "index.php" file in your web browser to install No Adblock.
  • 3

    Include the files

    Include the "config.php" file and the "no-adblock.php" file in the head of your website, after the page title.

    Replace the [FOLDER] with a direct link to the "myv_n-a" folder.
    copy
    
    include "[FOLDER]/config.php";
    include "[FOLDER]/no-adblock.php";
    


    For example, our website is in the public folder and we have uploaded the myv_n-a folder to another folder called "myv" which is also in the public folder.
    copy
    
    include "myv/myv_n-a/config.php";
    include "myv/myv_n-a/no-adblock.php";
    
  • 4

    Finished

    Perfect, now you are safe from Adblockers.

File structure

What is inside the package?

No Adblock files
  • Expand all
  • Collapse all
  • css - CSS files used inside the script
    • main.css - Style file for the entire script.
  • ad-test - JavaScript ad test files
    • google-ads.js - google ads test file.
    • bing-ads.js - bing ads test file.
    • ads.js - ads test file.
  • no-adblock.php - Main file, which you have to include
  • index.php - Install file
  • block-msg.php - File with your block message

Errors

List of the errors

Error Description Resolution
Cannot create config file No Adblock cannot create the configuration file due to incorrect permissions. Set the permissions of the folder to 777.
No Config file You have not included the config.php file or the file is damaged. Include the file correctly or delete it and reinstall No Adblock.