Find Jobs
Hire Freelancers

Making Coding Modifications To Website -- 2

$10-30 USD

Lezárt
Kiadva ekkor: több mint 6 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
Need some to do some minor coding. At present the system queries a marketplace to activate, verify the license, I want to add additional code to verify license that are bought on the website. I need someone to add the code that will. The code you are working in written in codeigniter framework, but you will have to access a database located in a wordpress database. 1) Check the following table postmeta for the license key. This is in the wordpress database. If there is no key then it will say invalid. If there is a key it will try to insert the key into the database connect. This database is not part of the wordpress database 2) If there is a key in the database connect it will say “This license key is currently activated on another site” 3) If there is no key in the database connect, it will insert the key into database “connect”. There might be other changes that have to be made. Also you should backup all files before you make changes. I have attached [login to view URL] (the code is shown below. [login to view URL] code that will be useful into making queries into postmeta table Budget $50.00 <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Main extends CI_Controller { protected $package_dir = '../ci-folder/product-packages/'; function __construct() { parent::__construct(); $this->load->model('license_mdl'); $this->load->helper('download'); } public function index() { redirect('[login to view URL]'); } public function license_verify( $key ) { $this->load->database(); $verify = $this->envato_purchase( $key ); // Verify Envato purchase code if ($verify) { // Check DB for the key $used = $this->license_mdl->where( 'code', $key )->get(); if ($used) { $result = array( 'status' => FALSE, 'message' => "This license key is currently activated on another site." ); } else { // Saved key to the DB and return true $this->license_mdl->insert( array('code' => $key) ); $result = array( 'status' => TRUE, 'message' => "Valid License Key" ); } } else { $result = array( 'status' => FALSE, 'message' => "This license key is invalid." ); } // Return json result $this->output ->set_content_type('application/json') ->set_output(json_encode( $result )); } public function license_deactivate( $key ) { $this->load->database(); // Get the Code ID $activated = $this->license_mdl->where( 'code', $key )->get(); // Delete the Code $this->license_mdl->delete( $activated['id'] ); // Return json result $result = array( 'status' => TRUE ); $this->output ->set_content_type('application/json') ->set_output(json_encode( $result )); } public function download_woomobify( $key ) { // Verify license and download file $file_name = "" . $this->package_dir . "[login to view URL]"; force_download(''.$file_name.'', NULL); } /** * Verify a purchase code using envato API */ private function envato_purchase($code) { $this->load->helpers('curl'); $username = 'danthecoder'; $api_key = 'q3y7nynk7326uryiw0z896j47r4gm5za'; $verify_url = "[login to view URL]". $username ."/". $api_key ."/verify-purchase:". $code .".json"; $result = curl_api($verify_url); if( isset($result['verify-purchase']['buyer']) ) { return TRUE; } else { return FALSE; } } }
Projektazonosító: 14891843

A projektről

20 ajánlat
Távolról teljesíthető projekt
Aktiválva: 7 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
20 szabadúszó adott átlagosan $50 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Need to create second instance of the database for Wordpress db in order to edit the WP table with get_meta_terms function. That has been changed a bit since last WP update. Available right now! Relevant Skills and Experience Codeigniter Wordpress theme development Proposed Milestones $30 USD - Validate licences Sincerely, Alex.
$30 USD 0 napon belül
5,0 (16 értékelés)
5,8
5,8
Felhasználó avatár
similar experience Relevant Skills and Experience similar experience Proposed Milestones $30 USD - milestone
$30 USD 1 napon belül
5,0 (45 értékelés)
5,6
5,6
Felhasználó avatár
Hi, Can i talk to you..? i have checked your requirements regarding some minor coding changes. I'm ready to do it,because i have 7 + years exp. in Codeigniter with all php frameworks and also expert in Javascript ,jQuery,angular js. You can message me so as we can chat more on this. Ankur
$75 USD 2 napon belül
4,8 (39 értékelés)
4,9
4,9
Felhasználó avatár
Hello! I am professional Web Developer and co-owner of a web-development team with 17 years experience in custom PHP/SQL Development, I can do some minor coding and I can do this work fast and clean sa your instructions are rather clear. Feel free to contact me to discuss details. Regards Alex!
$49 USD 1 napon belül
4,1 (12 értékelés)
6,0
6,0
Felhasználó avatár
Hi, This is Jorden. I am available to work on this, right now. Would be great if you can initiate a chat with me, Looking forward to hear back from you. Thanks Relevant Skills and Experience I have hands on PHP/Frameworks & OpenSource CMS/eCommerce platforms. You can get further information on my profile. Proposed Milestones $70 USD - 100% Work Done
$70 USD 1 napon belül
5,0 (20 értékelés)
4,0
4,0
Felhasználó avatár
A proposal has not yet been provided
$30 USD 2 napon belül
4,8 (31 értékelés)
4,2
4,2
Felhasználó avatár
Dear sir Thank you for your description,I have checked your project and understood all your requirements So I can help you Relevant Skills and Experience I have already developed many sites so that I have many top skill Please check my reviews and portfolios Proposed Milestones $25 USD - all
$25 USD 1 napon belül
4,4 (4 értékelés)
4,7
4,7
Felhasználó avatár
I am very excited to work with you and I am a really good php programmer and I will help you with what ever other projects or repairs you need. Relevant Skills and Experience PHP Expert Developer, JavaScript, HTML5, CSS3, Java, MySql Developer Proposed Milestones $10 USD - Code is fixed and employer is fully satisfied with results Additional Services Offered $10 USD - SEO/ Social Media Marketing Expertise used to increase audience to website What is this code for concerning the bigger view of this project?
$10 USD 2 napon belül
5,0 (1 értékelés)
0,7
0,7

Az ügyfélről

CANADA zászlója
Richmond, Canada
4,9
15
Fizetési mód hitelesítve
Tagság kezdete: márc. 15, 2005

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.