Ehtesham
New member
- Jun 10, 2022
- 0
- -1
- 0
great work...
its working fine
just tried it on xampp
great work...
// if ($param1 == 'install'){
// if($_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1'){
// //Local server
// $purchase_code = null;
// }else{
// $purchase_code = $this->input->post('purchase_code');
// $addon_exits = $this->get_addon_by_purchase_code($purchase_code);
// if($addon_exits->num_rows() > 0){
// $this->session->set_flashdata('error_message', get_phrase('you_have_already_used_this_purchase_code'));
// redirect(site_url('admin/addon'), 'refresh');
// }
// $status_response = $this->crud_model->curl_request($purchase_code);
// if(!$status_response){
// $this->session->set_flashdata('error_message', get_phrase('purchase_code_is_wrong').'. '.get_phrase('please_enter_your_valid_purchase_code'));
// redirect(site_url('admin/addon'), 'refresh');
// }
// }
// }
Thank you for your help!
can you please help how to bypass addons install purchase code part?
areyou sure this works for 5.0 and above??????? i am trying to add the live class addonFor Bypass Purchased Code Addon version 5.3, you must comment or delete line numbers 15 to 34
Application --> Models --> Addon_model
Code:// if ($param1 == 'install'){ // if($_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1'){ // //Local server // $purchase_code = null; // }else{ // $purchase_code = $this->input->post('purchase_code'); // $addon_exits = $this->get_addon_by_purchase_code($purchase_code); // if($addon_exits->num_rows() > 0){ // $this->session->set_flashdata('error_message', get_phrase('you_have_already_used_this_purchase_code')); // redirect(site_url('admin/addon'), 'refresh'); // } // $status_response = $this->crud_model->curl_request($purchase_code); // if(!$status_response){ // $this->session->set_flashdata('error_message', get_phrase('purchase_code_is_wrong').'. '.get_phrase('please_enter_your_valid_purchase_code')); // redirect(site_url('admin/addon'), 'refresh'); // } // } // }
Success to install the addons
areyou sure this works for 5.0 and above??????? i am trying to add the live class addon
i just tested its not working for live class addon nulled files, please share if you have any nulled files for plugins so that i could testBro,
I tested it on v5.3 and it works properly. I think it can work with the old version as well. Try it yourself, if not, let me know and I will help you.
I did remove the code but I've got 500 error, then I just gave "chmod 777 /html/applications" permissions then it worked for me!For Bypass Purchased Code Addon version 5.3, you must comment or delete line numbers 15 to 34
Application --> Models --> Addon_model
Code:// if ($param1 == 'install'){ // if($_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1'){ // //Local server // $purchase_code = null; // }else{ // $purchase_code = $this->input->post('purchase_code'); // $addon_exits = $this->get_addon_by_purchase_code($purchase_code); // if($addon_exits->num_rows() > 0){ // $this->session->set_flashdata('error_message', get_phrase('you_have_already_used_this_purchase_code')); // redirect(site_url('admin/addon'), 'refresh'); // } // $status_response = $this->crud_model->curl_request($purchase_code); // if(!$status_response){ // $this->session->set_flashdata('error_message', get_phrase('purchase_code_is_wrong').'. '.get_phrase('please_enter_your_valid_purchase_code')); // redirect(site_url('admin/addon'), 'refresh'); // } // } // }
Success to install the addons
I did remove the code but I've got 500 error, then I just gave "chmod 777 /html/applications" permissions then it worked for me!
one issue is thereBro,
I have the latest LiveClass addon, please try this.
If it is not working properly, you can upgrade your LMS to the latest version (v5.3)