| Manual to implement LeoGuard anti piracy solution. | |
|
To Implement LeoGuard anti piracy solution follow steps: 1. Download leoguardkit.zip (you have to be pool auction winner to get right link) and extract all files from it. 2.Run CustomGuard.exe and fill up fields relevant to your product. Fields marked (**) are mandatory have to be modified. Other fields especially *.php files names could be leaved as default. Names of the fields are self-explanatory in most cases. If there is confusion the best idea to read following remarks or if they are not cover the topic to use default value.
Save information in text file. It could later be helpful for manual calculation of the registration file for customers with Internet connection problems or in countries these are not covering with PayPal service. Click "Create custom files" button. The folder with all necessary files will be created. When adding second and more product the procedure is the same except all php Internet files are already created and some of them just need to be slightly modified. The best way is to use command in VC++ "Search in files" and find all appearances switch statement then add additional case statement for the new product. 3. Inserting LeoGuard dialog into your product. Open your project with VC++. Open created at the previous step file LeoGuard.rc and select Dialog - IDD_LEOGUARD_DIALOG copy it in clipboard. Open resource in your project and paste dialog. Open it in your project in visual editing mode. Select any control and click ClassWizard. Invitation to create new file will follow. Create new class LeoGuardDlg that will be associated with IDD_LEOGUARD_DIALOG. In different versions of VC++ the process could be slightly different but in any case it is common knowledge procedure. Replace in created files LeoGuardDlg.cpp and LeoGuardDlg.h all content of class CLeoGuardDlg from the created on previous step files with the same names. Find in your project initializing point and add in the begin of the file #include "LeoGuardDlg.h" then in the initializing function add the codes: //-------------- CLeoGuardDlg m_LeoGuard; //--------------- Modify these codes to limit access to some features of your application in trial mode that is characterized with combination of parameters m_LeoGuard.trial=TRUE and m_LeoGuard.ok=FALSE. 4. Create on your site folder with name as is on the Base Internet link and upload there all php files these are created at the step 2. Run with your browser file usersdbcreate.php. It will create database and tables for your MySQL database. If you operating in Yahoo! Web Hosting environment it is highly recommendable to use provided MySQL administrative tools. These will permit your to check accuracy of created tables, set users id and password... A lot to say but you better to read documentation. File usersdbcreate.php better to be removed after successful creation of database and tables. Tune up your PayPal account associating file Instant notification for PayPal page with setting for IPN (instant payment notification). 5. Check performance.
|
Copyright © by LeoKrut