How to nul?
Open the file located in .\install\assets
delete or comment the lines between #34 to #40
delete or comment the lines between #108 to #145 (the Step 2)
delete or comment the lines between #73 to #84 (the Step 2)
Open the file index.php located in install folder and delete or comment the line #82
delete or comment the lines between #115 to #139
Open the file indx.php and delete or comment the lines between #1 to #4
Change the line #15
From:
to:
why?
As for the chrome flag, you can leave it if your users still use Chrome Frame. Despite support and updates for Chrome Frame ending, one can still install and use the final release. If you remove the flag, Chrome Frame will not be activated when installed. For other users, chrome=1 will do nothing more than consume a few bytes of bandwidth.
I recommend you analyze your audience and see if their browsers prohibit any needed features and then decide.
Open the file located in .\install\assets
Code:
smartWizard-validation.js
delete or comment the lines between #34 to #40
Code:
// if (validateStep2() == false) {
// isStepValid = false;
// $('#wizard_verticle').smartWizard('setError', {stepnum: 2, iserror: true});
// } else {
// $('#wizard_verticle').smartWizard('setError', {stepnum: 2, iserror: false});
// }
delete or comment the lines between #108 to #145 (the Step 2)
Code:
// validate step 2
// if (step == 2) {
// var res = validateStep2();
// if (res.error == true) {
// isStepValid = false;
// $('#wizard_verticle').smartWizard('showMessage', res.message);
// $('#wizard_verticle').smartWizard('setError', {stepnum: step, iserror: true});
// } else {
// $('#wizard_verticle').smartWizard('hideMessage');
// $('#wizard_verticle').smartWizard('setError', {stepnum: step, iserror: false});
// }
// }
delete or comment the lines between #73 to #84 (the Step 2)
Code:
// }
//
//function validateStep2() {
// var data = {
// 'error': true,
// 'message': "Please required all field."
// };
// $('#step-2 input').each(function () {
// if (!$(this).val() && $(this).val().length <= 0) {
// data = {
// 'error': true,
// 'message': "Please required all field."
// };
// }
// });
// var purchase_code = $("#step-2 input#purchase_code").val();
// var quiz_url = window.location.host + window.location.pathname;
// quiz_url = quiz_url.replace("install/index.php", "");
// quiz_url = quiz_url.replace("install/", "");
// if (purchase_code !== "" && quiz_url !== "") {
// data = check_purchase_code(purchase_code, quiz_url);
// } else {
// data = {
// 'error': true,
// 'message': "Please required all field."
// };
// }
// return data;
//}
//
//function check_purchase_code(purchase_code, quiz_url) {
// $.ajaxSetup({async: false, dataType: 'json'});
// var returnUserData = null;
// $.post('https://wrteam.in/validator/quiz_online_validator?purchase_code=' + purchase_code + '&domain_url=' + quiz_url, function (data) {
// returnUserData = data;
// });
// $.ajaxSetup({async: true});
// return returnUserData;
Open the file index.php located in install folder and delete or comment the line #82
Code:
// <li><a href="#step-2"><span class="step_no">2</span></a></li>
delete or comment the lines between #115 to #139
Code:
// </div>
// </div>
// </div>
//
// <div id="step-2">
// <div class="col-md-12">
// <div class="outer_div">
// <div class="form-group row">
// <div class="col-md-12 text-center">
// <h5>Check Purchase Code</h5>
// </div>
// </div>
// <div class="form-group row">
// <div class="col-md-12">
// <label>Purchase Code <small class="text-danger">*</small></label>
// <input name="purchase_code" type="text" id="purchase_code" class="form-control" required placeholder="Enter Purchase Code" />
// <?php
// $appurl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
// $appurl = preg_replace('#^https?://#i', '', $appurl);
// $appurl = str_replace('install/index.php', '', $appurl);
// $appurl = str_replace('install/', '', $appurl);
// ?>
// <input value="<?= $appurl; ?>" name="quiz_url" type="hidden" id="quiz_url" class="form-control" required/>
// </div>
// </div>
Open the file indx.php and delete or comment the lines between #1 to #4
Code:
// <?php
// if (file_exists('install/index.php')) {
// header("location:install/");
// die();
Change the line #15
From:
Code:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
to:
Code:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
why?
- IE=edge: specifies that IE should run in the highest mode available to that version of IE as opposed to a compatability mode; IE8 can support up to IE8 modes, IE9 can support up to IE9 modes, and so on.
- chrome=1: specifies that Google Chrome frame should start if the user has it installed
As for the chrome flag, you can leave it if your users still use Chrome Frame. Despite support and updates for Chrome Frame ending, one can still install and use the final release. If you remove the flag, Chrome Frame will not be activated when installed. For other users, chrome=1 will do nothing more than consume a few bytes of bandwidth.
I recommend you analyze your audience and see if their browsers prohibit any needed features and then decide.