From Proxscripts Documentation
Jump to: navigation, search
Line 16: Line 16:
 
<li>Click on the "More..." Button of the script you wish to download</li>
 
<li>Click on the "More..." Button of the script you wish to download</li>
 
<li>You will find the "License Key" for module 1 in the Modules box </li>
 
<li>You will find the "License Key" for module 1 in the Modules box </li>
<li>Click on "Download Now" to download your script</li>
+
<li>Click on "Download Now" to download your script</li>
 
   </ul>
 
   </ul>
 
</div>
 
</div>
Line 22: Line 22:
 
<div class="docs">
 
<div class="docs">
 
   <ul>
 
   <ul>
         <li>"Unzip" downloaded script and upload all files present in the folder named "upload" :<br />
+
         <li>"Unzip" downloaded script and upload all files present in the folder named "upload" :<br />
 
         "FTP" to your "webhost account". Upload all the files to "public_html" directory.
 
         "FTP" to your "webhost account". Upload all the files to "public_html" directory.
 
         </li>
 
         </li>
Line 30: Line 30:
 
  <ul class="subpoint">
 
  <ul class="subpoint">
 
<li ><b>License Key :* - </b>Specify the license key here. This is a mandatory field and you will find it from the steps given above.</li>
 
<li ><b>License Key :* - </b>Specify the license key here. This is a mandatory field and you will find it from the steps given above.</li>
 +
<li ><b>Module Label :* - </b>Specify the module label here for your reference. You can set whatever you want in this field. For example: Earning Plan, Earning System, Investment Plan etc. The Module Label will be the name of your module which will be displayed in the Menu when it will be added to your script.</li>
 +
<li ><b>Module Name :* - </b>module1 (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Advance Settings : - </b>Enable (Enable the advance settings. Don't disable them)</li>
 +
<li ><b>Sub Plan Name : - </b>Regular-Dynamic (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Plan Model : - </b>Dailyearningplan-Dynamicearningplan (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Position Model : - </b>Position-Dynamicposition (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Purchase Position : - </b> (Front Side Purchase Position) - index-dynamic (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Earning History : - </b>(Front Side Earning History) - dailyposition-dynamicposition (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Cronjob : - </b>daily1;daily2;daily3.days1;days2;days3.hours1;hours2;hours3daily1;daily2;daily3.days1;days2;days3.hours1;hours2;hours3 (Don't change this. You need to enter it exactly the way it is written)</li>
 +
<li ><b>Title of The Site : - </b>Select the areas where you wish to display the options/statistics of this module. You can check all the places or the ones you want.</li>
 +
<li ><b>Setting Options : - </b>Select the checkbox for Withdraw Restriction. It is mandatory to check this box.</li>
 +
<li ><b>Select SQL Patch File :* - </b>Click on browse and add the SQL file (patch.xml) provided with the module here.</li>
 +
<li >Click on the <b>"Submit"</b> button to apply the changes.</li>
 
           </ul>  
 
           </ul>  
 
         </li>
 
         </li>
 
   </ul>
 
   </ul>
 +
</div>
 +
<div class="subtitle" id="Cronjob_Settings">Cronjob Settings</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Regular Earning Days Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of regular earning plans that are providing earnings every 'n' days. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once a Day (0 0 * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Regular Earning Hourly Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of regular earning plans that are providing earnings every 'n' hours. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once an Hour (0 * * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Regular Earning Daily Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of regular earning plans that are providing earnings daily. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once a Day (0 0 * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Dynamic Earning Days Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of dynamic earning plans that are providing earnings every 'n' days. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once a Day (0 0 * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Dynamic Earning Hourly Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of dynamic earning plans that are providing the earnings every 'n' hours. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once an Hour (0 * * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="docs">
 +
  <ul>
 +
        <li>Dynamic Earning Daily Plans (Recommended)**</li>
 +
  </ul>
 +
  <p>Provides earnings to members of dynamic earning plans that are providing earnings daily. Not needed if you do not intend to use these type of plans.</p>
 +
  <p><b>Timing : </b>Once a Day (0 0 * * *)</p>
 +
  <p><b>Path : </b><span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage1 -app /home/[USERNAME]/public_html/app</span></p>
 +
</div>
 +
<div class="important2">
 +
  <p><b>These cronjobs are used to provide earnings to regular earning and dynamic earning plan position holders. To maintain the performance of the cronjobs, we have distributed them when data is huge. 3 stages are there for each of these 6 cronjobs. Initially, stage1 will run for each of them. When there will be more than 1 lac (one hundred thousand) positions for regular earning plans, you need to add 3 new cronjobs of stage2. Same way, when there will be more than 1 lac (one hundred thousand) positions for dynamic earning plans, you need to add 3 new cronjobs of stage2. They are shown below :</b></p>
 +
  <p><b>Timing for each : </b>Once an Hour (0 * * * *)</p>
 +
  <ul class="small-text">
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage2 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage2 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage2 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage2 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage2 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage2 -app /home/[USERNAME]/public_html/app</li>
 +
  </ul>
 +
  <p class="p2"><b>And when the respective positions are more than 2 lacs, stage3 should be launched. So, add more of them.</b></p>
 +
    <ul class="small-text">
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage3 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage3 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage3 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage3 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage3 -app /home/[USERNAME]/public_html/app</li>
 +
    <li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage3 -app /home/[USERNAME]/public_html/app</li>
 +
  </ul>
 +
</div>
 +
<div class="important">
 +
  <p><b>Note : </b>Please note that if you are using subdomain, you must put the corresponding folder name after public_html/ in the above lines.</p>
 
</div>
 
</div>
  
 
[[Category:Modules]]
 
[[Category:Modules]]

Revision as of 15:31, 10 March 2015

Downloading Module
  • Login to your "proxscripts.com" account
  • Go to the "Downloads" page
  • Click on the "More..." Button of the script you wish to download
  • You will find the "License Key" for module 1 in the Modules box
  • Click on "Download Now" to download your script
Module Installation Steps
  • "Unzip" downloaded script and upload all files present in the folder named "upload" :
    "FTP" to your "webhost account". Upload all the files to "public_html" directory.
  • Next, go to the admin area of your script.
  • Go to Manage Modules => Modules
  • Click on the "Import Module" tab and fill in the relevant fields, which are as follows :
    • License Key :* - Specify the license key here. This is a mandatory field and you will find it from the steps given above.
    • Module Label :* - Specify the module label here for your reference. You can set whatever you want in this field. For example: Earning Plan, Earning System, Investment Plan etc. The Module Label will be the name of your module which will be displayed in the Menu when it will be added to your script.
    • Module Name :* - module1 (Don't change this. You need to enter it exactly the way it is written)
    • Advance Settings : - Enable (Enable the advance settings. Don't disable them)
    • Sub Plan Name : - Regular-Dynamic (Don't change this. You need to enter it exactly the way it is written)
    • Plan Model : - Dailyearningplan-Dynamicearningplan (Don't change this. You need to enter it exactly the way it is written)
    • Position Model : - Position-Dynamicposition (Don't change this. You need to enter it exactly the way it is written)
    • Purchase Position : - (Front Side Purchase Position) - index-dynamic (Don't change this. You need to enter it exactly the way it is written)
    • Earning History : - (Front Side Earning History) - dailyposition-dynamicposition (Don't change this. You need to enter it exactly the way it is written)
    • Cronjob : - daily1;daily2;daily3.days1;days2;days3.hours1;hours2;hours3daily1;daily2;daily3.days1;days2;days3.hours1;hours2;hours3 (Don't change this. You need to enter it exactly the way it is written)
    • Title of The Site : - Select the areas where you wish to display the options/statistics of this module. You can check all the places or the ones you want.
    • Setting Options : - Select the checkbox for Withdraw Restriction. It is mandatory to check this box.
    • Select SQL Patch File :* - Click on browse and add the SQL file (patch.xml) provided with the module here.
    • Click on the "Submit" button to apply the changes.
Cronjob Settings
  • Regular Earning Days Plans (Recommended)**

Provides earnings to members of regular earning plans that are providing earnings every 'n' days. Not needed if you do not intend to use these type of plans.

Timing : Once a Day (0 0 * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage1 -app /home/[USERNAME]/public_html/app

  • Regular Earning Hourly Plans (Recommended)**

Provides earnings to members of regular earning plans that are providing earnings every 'n' hours. Not needed if you do not intend to use these type of plans.

Timing : Once an Hour (0 * * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage1 -app /home/[USERNAME]/public_html/app

  • Regular Earning Daily Plans (Recommended)**

Provides earnings to members of regular earning plans that are providing earnings daily. Not needed if you do not intend to use these type of plans.

Timing : Once a Day (0 0 * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage1 -app /home/[USERNAME]/public_html/app

  • Dynamic Earning Days Plans (Recommended)**

Provides earnings to members of dynamic earning plans that are providing earnings every 'n' days. Not needed if you do not intend to use these type of plans.

Timing : Once a Day (0 0 * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage1 -app /home/[USERNAME]/public_html/app

  • Dynamic Earning Hourly Plans (Recommended)**

Provides earnings to members of dynamic earning plans that are providing the earnings every 'n' hours. Not needed if you do not intend to use these type of plans.

Timing : Once an Hour (0 * * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage1 -app /home/[USERNAME]/public_html/app

  • Dynamic Earning Daily Plans (Recommended)**

Provides earnings to members of dynamic earning plans that are providing earnings daily. Not needed if you do not intend to use these type of plans.

Timing : Once a Day (0 0 * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage1 -app /home/[USERNAME]/public_html/app

These cronjobs are used to provide earnings to regular earning and dynamic earning plan position holders. To maintain the performance of the cronjobs, we have distributed them when data is huge. 3 stages are there for each of these 6 cronjobs. Initially, stage1 will run for each of them. When there will be more than 1 lac (one hundred thousand) positions for regular earning plans, you need to add 3 new cronjobs of stage2. Same way, when there will be more than 1 lac (one hundred thousand) positions for dynamic earning plans, you need to add 3 new cronjobs of stage2. They are shown below :

Timing for each : Once an Hour (0 * * * *)

  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage2 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage2 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage2 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage2 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage2 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage2 -app /home/[USERNAME]/public_html/app

And when the respective positions are more than 2 lacs, stage3 should be launched. So, add more of them.

  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage3 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage3 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage3 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage3 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage3 -app /home/[USERNAME]/public_html/app
  • php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage3 -app /home/[USERNAME]/public_html/app

Note : Please note that if you are using subdomain, you must put the corresponding folder name after public_html/ in the above lines.