From Proxscripts Documentation
Jump to: navigation, search
 
(100 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
   <div class="docslink">
 
   <div class="docslink">
 
   <ul>
 
   <ul>
  <li>[[Installation#Installation_Steps|Installation Steps]]</li>
+
  <li>[[Installation#Downloading_Script|Downloading Script]]</li>
  <li>[[Installation#Cronjob_setting|CRONJOB SETTINGS (For cPanel Users)]]</li>
+
  <li>[[Installation#Script_Installation_Steps|Script Installation Steps]]</li>
  <li>[[Installation#Important_Note|Important Note]]</li>
+
  <li>[[Installation#Cronjob_Settings_(For_cPanel_Users)|Cronjob Settings (For cPanel Users)]]</li>
 +
          <li>[[Installation#Applying_Branding_Free_Option|Applying Branding Free Option]]</li>
 
   </ul>
 
   </ul>
 
   </div>
 
   </div>
 
</div>
 
</div>
<div class="subtitle" id="Installation_Steps">Installation Steps</div>
+
<div class="subtitle" id="Installation_Steps">Downloading Script</div>
 
<div class="docs">
 
<div class="docs">
 
   <ul>
 
   <ul>
 
<li>Download ProXCore script from your ProXScripts account from the following path :
 
<li>Download ProXCore script from your ProXScripts account from the following path :
 
<ul class="subpoint">
 
<ul class="subpoint">
  <li >Go to your ProXScripts account </li>
+
  <li >Login your ProXScripts account https://www.proxscripts.com/index.php?action=login</li>
  <li >Click  on the "Downloads" link in the menu</li>
+
  <li >Click  on the <b>"Downloads"</b> link in the menu</li>
  <li >You will be able to see the products available for download. Click on "<a href="#">More...</a>"</li>
+
  <li >You will be able to see the products available for download. Click on <b>"More..."</b></li>
  <li >You can see the script version and click on "<a href="#">Download Now</a>" to download your script. </li>
+
  <li >You can see the script version and click on <b>"Download Now"</b> to download your Script. </li>
 
</ul>
 
</ul>
 
</li>
 
</li>
 +
  </ul>
 +
</div>
 +
<div class="subtitle" id="Script_Installation_Steps">Script Installation Steps</div>
 +
<div class="docs">
 +
  <ul>
 
<li>Unzip downloaded and upload all files present in the folder named "upload " :
 
<li>Unzip downloaded and upload all files present in the folder named "upload " :
 
<ul class="subpoint">
 
<ul class="subpoint">
Line 27: Line 33:
 
   </ul>
 
   </ul>
 
</div>
 
</div>
<div class="highlightbox">
+
<div class="important">
  <p><b>Change the permissions (CHMOD) of The following Files/Folders : </b></br></br>
+
<p><b>Note :</b>Please note that if you are using subdomain, you must Upload all the files to corresponding public_html/subdomain directory .</p>
  settings.php - Writeable (666)</br>
 
  app/webroot/db_backup/ - Writeable (707)</br>
 
  app/webroot/img/testimonials - Writeable (777)</br>
 
  app/webroot/img/bankwire - Writeable (777)</br>
 
  app/webroot/img/banners - Writeable (777)</br>
 
  app/webroot/img/member - Writeable (777)</br>
 
  app/webroot/img/support - Writeable (777)</br>
 
  app/tmp(and all of its subfolders/files) - Writeable (777)</br></br>
 
  (Permissions of following files should be changed so that admin can edit template files from adminpanel.)</br>
 
  app/View/Themed/[THEMENAME]/Layouts/default.ctp - Writeable (646)</br>
 
  app/view/[FOLDER]/*.ctp - Writeable (646)</br>
 
  (Permissions of all the front side ctp files,the ones without 'adminpanel_' prefix, are to be set.)</br>
 
  (Permissions of following files should be changed so that admin can add new language phases from adminpanel.)</br>
 
  app/Locale/[LANGUAGE DIRECTORY]/default.po - Writeable (646)</br>
 
  (Permissions of files present in all the language directories are to be set.)
 
  </p>
 
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
Line 53: Line 43:
 
</ul>
 
</ul>
 
  </li>
 
  </li>
 +
<div class="important" style="margin-top:-10px;">
 +
<p><b>Note  : </b> Your Password Must Not Include These Signs: (=) (') ($)</p>
 +
</div>
 
  <li>Run install/index.php File  
 
  <li>Run install/index.php File  
 
<ul class="subpoint">
 
<ul class="subpoint">
Line 59: Line 52:
 
  </li>
 
  </li>
 
  <li>Insert details
 
  <li>Insert details
<ul class="subpoint">
+
<ul>
  <li >Insert the necessary details and follow the setup.</li>
+
<li>Insert the necessary details and follow the setup. Refer to the screenshots for the same.<br/><br/>
</ul>
+
<ul>
  </li>
+
<li><b>Step 1</b> –  Script Requirements – This will display the script requirements. If there is anything missing, then make sure the requirements are fulfilled first before you proceed to the next step.</li>
 +
<xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step1.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step1.png' alt='' style='padding:2px;margin:1px;' /></xa>
 +
<li><b>Step 2</b> –  License Key Configuration<br/><br/>
 +
Please enter your Domain Name and License Key here.
 +
</li>
 +
<xa class='fancybox-effects-d'  data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step2.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step2.png' alt='' style='padding:2px;margin:1px;'/></xa>
 +
<li><b>Step 3</b> –  Database Configuration<br/><br/>
 +
You need to add the data base details/credentials that have been created in the initial stage i.e. <b>Create Database</b> here.<br/>
 +
<ul><li><b>Host Name:</b> If you are not using the database remotely, then generally it can be <b>localhost</b></li>
 +
<li><b>Database Name:</b> Enter the name of your database here.</li>
 +
<li><b>Username:</b> Enter the name of your database username here.</li>
 +
<li><b>Password*:</b> Enter the password here. Please note that this is a mandatory field. </li>
 +
<li><b>My Sql Port:</b> If there is a particular/special port being used, then you can add that here, otherwise keep it empty. </li></ul>
 +
</li>
 +
<xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step3.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step3.png' alt='' style='padding:2px;margin:1px;'/></xa>
 +
<li><b>Step 4</b> –  General Configuration<br/><br/>
 +
<ul><li><b>Site URL:</b> By default it will automatically be added</li>
 +
<li><b>Site Path:</b> By default it will automatically be added</li>
 +
<li><b>Admin Username:</b> Enter your username here.</li>
 +
<li><b>Admin Password*:</b> Enter your password here. </li>
 +
<li><b>Security Question:</b> Please set a security question here. In case, you lose your password, then you can recover it through the Security Question and Security Answer.</li>
 +
<li><b>Security Answer:</b> Enter the answer to the security question above. </li>
 +
<li><b>Select Cash Balance System:</b> There are 2 types of balance systems available:<br/><br/>
 +
<b>Individual :</b> If you want to use separate cash wallet for payment processors then select Individual balance system.<br/>For instance, PayPal Cash, PayPal repurchase, PayPal Commission, PayPal Earning, Payza Cash and so on.<br/><br/>
 +
<b>Common : </b>If you want to use common cash wallet for all payment processors, then select Common balance system. Here,
 +
there will be single cash/repurchase/commission/earning wallet for all payment processors.<br/>For instance single wallet for Cash, single wallet for Repurchase, Commission and Earning and so on. There will no specific processor based balance.<br/>
 +
<br/></li>
 +
<li><b>Choose desired wallet to receive commission:</b> There are 2 options for this:<br/><br/>
 +
<b>Cash :</b>If you want to receive commission in cash wallet then select Cash wallet.<br/>
 +
<b>Commission :</b>If you want to receive commission in commission wallet then select Commission wallet.<br/><br/>
 +
Please refer Note section for [[Installation#Commision|More]].</li>
 +
<li><b>Choose desired wallet to receive earning:</b> There are 2 options for this:<br/><br/>
 +
<b>Cash :</b>If you want to receive earning in cash wallet then select Cash wallet.<br/>
 +
<b>Earning :</b>If you want to receive earning in earning wallet then select Earning wallet.<br/><br/>
 +
Please refer Note section for [[Installation#Earning|More]].</li>
 +
</ul>
 +
</li>
 +
<xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step4.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step4.png' alt='' style='padding:2px;margin:1px;'/></xa>
 +
<div class="important">
 +
  <p><b>Important Note :</b><br></p>
 +
  <ul>
 +
<li id="Commision"><b>Choose desired wallet to receive commission</b></li>
 +
<b>Cash :</b> If you want 2 wallet system i.e. Cash and Re-purchase and NOT Earning and Commission, then choose Cash here.<br/>
 +
<b>Commission :</b> If you want 4 wallet system i.e. Cash, Re-purchase, Earning, Commission, then choose Commission here.<br/>
 +
<li id="Earning"><b>Choose desired wallet to receive earning</b></li>
 +
<b>Cash :</b> If you want 2 wallet system i.e. Cash and Re-purchase and NOT Earning and Commission, then choose Cash here. <br/>
 +
<b>Earning :</b> If you want 4 wallet system i.e. Cash, Re-purchase, Earning, Commission, then choose Earning here.
 +
  </ul>
 +
</div>
 +
<li><b>Step 5</b> –  Installation Complete</li>
 +
<xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step5.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step5.png' alt='' style='padding:2px;margin:1px;'/></xa><br/><br/>
 +
<li style="list-style: none;">Now your script installation is complete </li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</li>
 
  <li>Your site is ready  
 
  <li>Your site is ready  
 
<ul class="subpoint">
 
<ul class="subpoint">
Line 73: Line 121:
 
</ul>
 
</ul>
 
  </li>
 
  </li>
 +
          <div class="important">
 
  <li>Important  
 
  <li>Important  
 
<ul class="subpoint">
 
<ul class="subpoint">
  <li >Delete the Install directory located in public_html/app/webroot/ directory and set the CHMOD of settings.php back to (644).</li>
+
  <li >Delete the Install directory located in public_html/app/webroot/install directory and set the CHMOD of settings.php back to (644).</li>
</ul>
 
  </li>
 
  <li>Most Important
 
<ul class="subpoint">
 
  <li >Setting up cronjobs</br>Go through the following steps to set up cronjobs. </li>
 
 
</ul>
 
</ul>
 
  </li>
 
  </li>
 +
          </div>
 +
  <li>Next step is to setup your cronjob as below.</li>
 
</ul>
 
</ul>
 
</div>
 
</div>
<div class="subtitle" id="Cronjob_setting">CRONJOB SETTINGS (For cPanel Users)</div>
+
<div class="subtitle" id="Cronjob_Settings_(For_cPanel_Users)">Cronjob Settings (For cPanel Users)</div>
 
<div class="docs">
 
<div class="docs">
 
<ul>
 
<ul>
Line 92: Line 138:
 
  <li>C) Enter your email address in the cron email option.</li>
 
  <li>C) Enter your email address in the cron email option.</li>
 
</ul>
 
</ul>
<p>You will receive a notification each time the cronjob runs on this email i.e. you will receive emails every day from your server. </p>
+
<p>If you want to receive email notifications whenever cronjobs run, then enter your email here, otherwise leave it blank. So, if you enter your email here, then you will get an email notification every time your cronjob runs.</p>
<p>In case if you do not receive any cron emails at the specified time for cronjobs, then kindly contact your hosting company to make sure that all cronjobs are running. </p>
 
<p>You will get notification every time cronjob runs on the specified email. i.e. you will get emails every day from your server.</p>
 
 
</div>
 
</div>
 
<div class="important">
 
<div class="important">
 
   <p><b>Important Note :</b><br></p>
 
   <p><b>Important Note :</b><br></p>
 
   <ul>
 
   <ul>
<li>Cronjobs are run from the server according to the time specified for them.</li>
+
<li>Cronjobs run from the server according to the time specified for them.The cronjobs will run at the server time.</li>
<li>As per the time specified above, cronjobs run every day at 12 A.M. midnight. The script has an option to set your Time Zone.</li>
 
<li>All the records in the database are saved based on your selected Time Zone. We recommend not to change it once your website has started.</li>
 
<li>Whenever you change the Time Zone, make sure that your cronjobs run at 12 A.M. midnight according to the time zone you have set so that members get timely earnings. Contact Support Team before changing the Time Zone if you're Not Sure.</li>
 
 
   </ul>
 
   </ul>
 
</div>
 
</div>
Line 111: Line 152:
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
  <ul><li>Autoresponder (Optional)</li></ul>
+
<ul><li>Autoresponder (Optional)</li></ul>
  <p>Sends autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups.</p>
+
<p>Sends the autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups.
  <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
+
Set this cronjob if you plan to use Auto responders in your site.</p>
  <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php autoresponder -app /home/[USERNAME]/public_html/app</p>
 
</div>
 
<div class="docs">
 
<ul><li>Common (Recommended)</li></ul>
 
<p>Does miscellaneous jobs such as clearing old logs, providing signup bonus and notifying members via an email when the credits of their banner/text ads are used up.</p>
 
 
<p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
 
<p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
<p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php common -app /home/[USERNAME]/public_html/app</p>
+
<p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php autoresponder -app /home/[USERNAME]/public_html/app</span></p>
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
  <ul><li>Currency (Optional) </li></ul>
+
<ul><li>Autowithdraw (Optional)</li></ul>
  <p>Fetches the currency rates from ProXScripts.com and updates the currency rates in the site. Set if you plan to use multiple currencies in your site.</p>
+
<p>Used to make payments towards member's withdrawal requests automatically through masspay as per admin's settings for each processor.</p>
  <p><b>Timing :</b> Once a Day  (0  0  *  *  *) - Keep less time for quicker currency updates (Minimum every 12 hours)</p>
+
<p><b>Timing :</b> Once a Day  (0  0  *  *  *) - Keep less time for quicker payments towards withdrawals</p>
  <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php currency -app /home/[USERNAME]/public_html/app</p>
+
<p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php autowithdraw -app /home/[USERNAME]/public_html/app</span></p>
</div>
 
<div class="important">
 
  <p><b>Note :</b>Currency cronjob fetches the latest currency rates from our site and updates them to your site. You can change the timing of the cronjob according to your requirements. Take a note that we update the rates on our site every 12 hours. So, do not keep the cronjob time less than that or there won't be any updates unless 12 hours are complete.<br></p>
 
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
  <ul><li>Regular Earning Days Plans (Recommended)** </li></ul>
+
<ul><li>Backup (Optional)</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>Takes backups of the database as per the 'Auto Backup' settings from adminpanel.</p>
  <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
+
        <div class="important" style="margin-top:-10px;">
  <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage1 -app /home/[USERNAME]/public_html/app</p>
+
<p><b>Note  : </b> Please note that the file size exceeds <b>20 MB</b>, then backup will not work.</p>
 
</div>
 
</div>
<div class="docs">
+
<p><b>Timing :</b> Once a Day (0  0 *  *  *)</p>
<ul><li>Regular Earning Hourly Plans (Recommended)** </li></ul>
+
<p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php backup -app /home/[USERNAME]/public_html/app</span></p>
<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> php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearnhours stage1 -app /home/[USERNAME]/public_html/app</p>
 
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
  <ul><li>Regular Earning Daily Plans (Recommended)**  </li></ul>
+
<ul><li>Common (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>Does miscellaneous jobs such as clearing old logs, providing signup bonus and notifying members via an email when the credits of their banner/text ads are used up.</p>
 
<p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
 
<p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
<p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearn stage1 -app /home/[USERNAME]/public_html/app</p>
+
<p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php common -app /home/[USERNAME]/public_html/app</span></p>
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
   <ul><li>Dynamic Earning Days Plans (Recommended)**  </li></ul>
+
   <ul><li>Currency (Optional) </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>Fetches the currency rates from ProXScripts.com and updates the currency rates in the site. Set if you plan to use multiple currencies in your site.</p>
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
+
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *) - Keep less time for quicker currency updates</p>
   <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearndays stage1 -app /home/[USERNAME]/public_html/app</p>
+
   <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php currency -app /home/[USERNAME]/public_html/app</span></p>
 
</div>
 
</div>
<div class="docs">
+
<div class="important">
  <ul><li>Dynamic Earning Hourly Plans (Recommended)** </li></ul>
+
   <p><b>Note : </b>Currency cronjob fetches the latest currency rates from our site and updates them to your site. You can change the timing of the cronjob according to your requirements. Take a note that we update the rates on our site every 12 hours. So, do not keep the cronjob time less than that or there won't be any updates unless 12 hours are complete.<br></p>
  <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> php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearnhours stage1 -app /home/[USERNAME]/public_html/app</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> php -q /home/[USERNAME]/public_html/app/Console/cake.php dynamicearn stage1 -app /home/[USERNAME]/public_html/app</p>
 
</div>
 
<div class="docs">
 
  <ul><li>Jackpot Winner (Optional)  </li></ul>
 
  <p>Randomly selects the winners of maturing jackpots, sends emails to them and informs the admin via an email.</p>
 
  <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
 
  <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php jackpotwinner -app /home/[USERNAME]/public_html/app</p>
 
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
Line 177: Line 192:
 
   <p>Used to send email reminders to members who have not confirmed their email addresses or who have not logged in for many days i.e. inactive members and who have not purchased anything from the site i.e. unpaid members.</p>
 
   <p>Used to send email reminders to members who have not confirmed their email addresses or who have not logged in for many days i.e. inactive members and who have not purchased anything from the site i.e. unpaid members.</p>
 
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
 
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
   <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php mail -app /home/[USERNAME]/public_html/app</p>
+
   <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php mail -app /home/[USERNAME]/public_html/app</span></p>
 
</div>
 
</div>
 +
<div class="docs">
 +
  <ul><li>Mass Mails (Optional)  </li></ul>
 +
  <p>This is for sending mails to members of your website.</p>
 +
<p> If you are having a Dedicated Server or VPS, then you can set any number of emails you wish. If you are on a shared hosting plan, then you can set between 100-300 emails as per your hosting company rules.</p>
 +
  <p><b>Timing :</b> Twice Per Hour (0,30 * * * *)</p>
 +
  <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php massmail [HOWMANYEMAIL] -app /home/[USERNAME]/public_html/app</span></p><br/>
 +
  <div class="important">
 +
  <p><b>USERNAME :</b>  You need to enter the cPanel username here.<br/>
 +
<b>HOWMANYEMAIL :</b> You need to enter the figure of number of emails here WITHOUT the brackets, but it includes the space. If you set 100 here, then 100 emails will be sent when this cronjob runs.<br/><br/>
 +
<b>For instance:</b><br/>
 +
USERNAME is <b>abc</b> <br/>
 +
HOWMANYEMAIL – <b>100</b> <br/><br/>
 +
php -q /home/abc/public_html/<b>app</b>/Console/cake.php massmail <b>100</b> –app /home/<b>abc</b>/public_html/app</p>
 +
</div></div>
 
<div class="docs">
 
<div class="docs">
 
   <ul><li>Membership (Optional) </li></ul>
 
   <ul><li>Membership (Optional) </li></ul>
 
   <p>Sends membership payment reminder mails before the expiry date of the membership and automatically renews the memberships of the members who have allowed auto-renewals. Not needed if you do not plan to use memberships in your site.</p>
 
   <p>Sends membership payment reminder mails before the expiry date of the membership and automatically renews the memberships of the members who have allowed auto-renewals. Not needed if you do not plan to use memberships in your site.</p>
 
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
 
   <p><b>Timing :</b> Once a Day  (0  0  *  *  *)</p>
   <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php membership -app /home/[USERNAME]/public_html/app</p>
+
   <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php membership -app /home/[USERNAME]/public_html/app</span></p>
</div>
 
<div class="docs">
 
  <ul><li>Revenue Sharing Plans (Recommended) </li></ul>
 
  <p>Shares the earnings with revenue sharing plan members as per the plan settings. Not needed if you do not plan to use this type of plans.</p>
 
  <p><b>Timing :</b>Once an Hour  (0  *  *  *  *) - Keep less time for quicker sharing but your server must be able to share with all members within the time frame.</p>
 
  <p><b>Path :</b> php -q /home/[USERNAME]/public_html/app/Console/cake.php revenue -app /home/[USERNAME]/public_html/app</p>
 
 
</div>
 
</div>
 
<div class="docs">
 
<div class="docs">
Line 195: Line 218:
 
   <p>Sends solo ads to members of the site who have not unsubscribed from solo ads. Not needed if you do not plan to use soloads feature in your site.</p>
 
   <p>Sends solo ads to members of the site who have not unsubscribed from solo ads. Not needed if you do not plan to use soloads feature in your site.</p>
 
   <p><b>Timing :</b>Once a Day  (0  0  *  *  *)</p>
 
   <p><b>Timing :</b>Once a Day  (0  0  *  *  *)</p>
   <p><b>Path :</b>php -q /home/[USERNAME]/public_html/app/Console/cake.php soload -app /home/[USERNAME]/public_html/app</p>
+
   <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php soload -app /home/[USERNAME]/public_html/app</span></p>
 
</div>
 
</div>
<div class="important2">
+
<div class="docs">
   <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><br></p>
+
   <ul><li>Jackpotwinner (Recommended) </li></ul>
   <p><b>Timing for each : </b>Once an Hour (0  * *  *  *)</p>
+
  <p>This cronjob is set in order to find and announce winners of Jackpot.</p>
  <ul>
+
   <p><b>Timing :</b>Once a Day  (0  0 *  *  *)</p>
<li>php -q /home/[USERNAME]/public_html/app/Console/cake.php dailyearndays stage2 -app /home/[USERNAME]/public_html/app</li>
+
   <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php jackpotwinner -app /home/[USERNAME]/public_html/app</span></p>
<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><b>And when the respective positions are more than 2 lacs, stage3 should be launched. So, add more of them.</b></p>
 
  <ul>
 
<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>
 
<div class="important">
 
<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>
+
<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.<br/><br/>
 +
<b>For instance:</b><br/>
 +
Domain is <b>abc.com</b><br/>
 +
SubDomain is <b>xyz</b> <br/>i.e. <b> xyz.abc.com</b><br/>
 +
So, let's say for the "Autoresponder" cronjob the path would be as below:<br/>
 +
php -q /home/[USERNAME]/public_html/<b>xyz</b>/app/Console/cake.php autoresponder -app /home/[USERNAME]/public_html/<b>xyz</b>/app
 +
</p>
 +
</div>
 +
<div class="subtitle" id="Applying_Branding_Free_Option">Applying Branding Free Option</div>
 +
<div class="docs">
 +
<p>If you have purchased Branding Free Option, then you can disable branding by going through the following steps. </p>
 +
<ul>
 +
  <li>Login to your admin area.</li>
 +
  <li>Click on Information on the top left side.</li>
 +
  <li>You will find a<b> "Check for Updates"</b> button. Click on it.</li>
 +
          <ul><li style="list-style: none;">
 +
          <xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step6.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step6.png' alt='' style='padding:2px;margin:1px;'/></xa></li>
 +
          <li>Click on <b>"Apply Updates"</b> button.</li>
 +
          <li style="list-style: none;"><xa class='fancybox-effects-d' data-fancybox-group='gallery' href='https://www.proxscripts.com/docs/images/install/step7.png' title=''><img src='https://www.proxscripts.com/docs/images/install/step7.png' alt='' style='padding:2px;margin:1px;'/></xa></li>
 +
          </ul>
 +
          <li>Then refresh your homepage and the powered by link will not be seen.</li>
 +
</ul>
 +
</div>
 
<p>If you have any queries/problems, please log in to your ProXScripts account and create a support ticket.</p>
 
<p>If you have any queries/problems, please log in to your ProXScripts account and create a support ticket.</p>
</div>
 
  
 
[[Category:Common]]
 
[[Category:Common]]

Latest revision as of 10:02, 3 June 2016

Downloading Script
  • Download ProXCore script from your ProXScripts account from the following path :
    • Login your ProXScripts account https://www.proxscripts.com/index.php?action=login
    • Click on the "Downloads" link in the menu
    • You will be able to see the products available for download. Click on "More..."
    • You can see the script version and click on "Download Now" to download your Script.
Script Installation Steps
  • Unzip downloaded and upload all files present in the folder named "upload " :
    • FTP to your webhost account. Upload all the files to public_html directory.

Note :Please note that if you are using subdomain, you must Upload all the files to corresponding public_html/subdomain directory .

  • Create Database
    • During script installation, you will come across "Database Configuration". Enter your Host Name, Database Name, Username, Password and your database will be created. When you install the script, you will be prompted with
  • Note  : Your Password Must Not Include These Signs: (=) (') ($)

  • Run install/index.php File
    • [YOUR SITE URL]/install/index.php
  • Insert details
    • Insert the necessary details and follow the setup. Refer to the screenshots for the same.

      • Step 1 – Script Requirements – This will display the script requirements. If there is anything missing, then make sure the requirements are fulfilled first before you proceed to the next step.
      • Step 2 – License Key Configuration

        Please enter your Domain Name and License Key here.
      • Step 3 – Database Configuration

        You need to add the data base details/credentials that have been created in the initial stage i.e. Create Database here.
        • Host Name: If you are not using the database remotely, then generally it can be localhost
        • Database Name: Enter the name of your database here.
        • Username: Enter the name of your database username here.
        • Password*: Enter the password here. Please note that this is a mandatory field.
        • My Sql Port: If there is a particular/special port being used, then you can add that here, otherwise keep it empty.
      • Step 4 – General Configuration

        • Site URL: By default it will automatically be added
        • Site Path: By default it will automatically be added
        • Admin Username: Enter your username here.
        • Admin Password*: Enter your password here.
        • Security Question: Please set a security question here. In case, you lose your password, then you can recover it through the Security Question and Security Answer.
        • Security Answer: Enter the answer to the security question above.
        • Select Cash Balance System: There are 2 types of balance systems available:

          Individual : If you want to use separate cash wallet for payment processors then select Individual balance system.
          For instance, PayPal Cash, PayPal repurchase, PayPal Commission, PayPal Earning, Payza Cash and so on.

          Common : If you want to use common cash wallet for all payment processors, then select Common balance system. Here, there will be single cash/repurchase/commission/earning wallet for all payment processors.
          For instance single wallet for Cash, single wallet for Repurchase, Commission and Earning and so on. There will no specific processor based balance.

        • Choose desired wallet to receive commission: There are 2 options for this:

          Cash :If you want to receive commission in cash wallet then select Cash wallet.
          Commission :If you want to receive commission in commission wallet then select Commission wallet.

          Please refer Note section for More.
        • Choose desired wallet to receive earning: There are 2 options for this:

          Cash :If you want to receive earning in cash wallet then select Cash wallet.
          Earning :If you want to receive earning in earning wallet then select Earning wallet.

          Please refer Note section for More.
      • Important Note :

        • Choose desired wallet to receive commission
        • Cash : If you want 2 wallet system i.e. Cash and Re-purchase and NOT Earning and Commission, then choose Cash here.
          Commission : If you want 4 wallet system i.e. Cash, Re-purchase, Earning, Commission, then choose Commission here.

        • Choose desired wallet to receive earning
        • Cash : If you want 2 wallet system i.e. Cash and Re-purchase and NOT Earning and Commission, then choose Cash here.
          Earning : If you want 4 wallet system i.e. Cash, Re-purchase, Earning, Commission, then choose Earning here.

      • Step 5 – Installation Complete


      • Now your script installation is complete
  • Your site is ready
    • Once the installation is complete, you can visit your site:
      • Admin Area - [YOUR SITE URL]/adminpanel/
      • Public/Member Area - [YOUR SITE URL]
  • Important
    • Delete the Install directory located in public_html/app/webroot/install directory and set the CHMOD of settings.php back to (644).
  • Next step is to setup your cronjob as below.
Cronjob Settings (For cPanel Users)
  • A) Login to your cPanel
  • B) Go to "Advanced" option and select cron jobs
  • C) Enter your email address in the cron email option.

If you want to receive email notifications whenever cronjobs run, then enter your email here, otherwise leave it blank. So, if you enter your email here, then you will get an email notification every time your cronjob runs.

Important Note :

  • Cronjobs run from the server according to the time specified for them.The cronjobs will run at the server time.
  • D) Set the following cronjobs as per your requirements after replacing your cPanel username with [USERNAME] with the following list one by one. (Exclude Angle brackets with USERNAME too.)
  • Autoresponder (Optional)

Sends the autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups. Set this cronjob if you plan to use Auto responders in your site.

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

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

  • Autowithdraw (Optional)

Used to make payments towards member's withdrawal requests automatically through masspay as per admin's settings for each processor.

Timing : Once a Day (0 0 * * *) - Keep less time for quicker payments towards withdrawals

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

  • Backup (Optional)

Takes backups of the database as per the 'Auto Backup' settings from adminpanel.

Note  : Please note that the file size exceeds 20 MB, then backup will not work.

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

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

  • Common (Recommended)

Does miscellaneous jobs such as clearing old logs, providing signup bonus and notifying members via an email when the credits of their banner/text ads are used up.

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

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

  • Currency (Optional)

Fetches the currency rates from ProXScripts.com and updates the currency rates in the site. Set if you plan to use multiple currencies in your site.

Timing : Once a Day (0 0 * * *) - Keep less time for quicker currency updates

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

Note : Currency cronjob fetches the latest currency rates from our site and updates them to your site. You can change the timing of the cronjob according to your requirements. Take a note that we update the rates on our site every 12 hours. So, do not keep the cronjob time less than that or there won't be any updates unless 12 hours are complete.

  • Mails (Recommended)

Used to send email reminders to members who have not confirmed their email addresses or who have not logged in for many days i.e. inactive members and who have not purchased anything from the site i.e. unpaid members.

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

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

  • Mass Mails (Optional)

This is for sending mails to members of your website.

If you are having a Dedicated Server or VPS, then you can set any number of emails you wish. If you are on a shared hosting plan, then you can set between 100-300 emails as per your hosting company rules.

Timing : Twice Per Hour (0,30 * * * *)

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php massmail [HOWMANYEMAIL] -app /home/[USERNAME]/public_html/app


USERNAME : You need to enter the cPanel username here.
HOWMANYEMAIL : You need to enter the figure of number of emails here WITHOUT the brackets, but it includes the space. If you set 100 here, then 100 emails will be sent when this cronjob runs.

For instance:
USERNAME is abc
HOWMANYEMAIL – 100

php -q /home/abc/public_html/app/Console/cake.php massmail 100 –app /home/abc/public_html/app

  • Membership (Optional)

Sends membership payment reminder mails before the expiry date of the membership and automatically renews the memberships of the members who have allowed auto-renewals. Not needed if you do not plan to use memberships in your site.

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

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

  • Soload (Optional)

Sends solo ads to members of the site who have not unsubscribed from solo ads. Not needed if you do not plan to use soloads feature in your site.

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

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

  • Jackpotwinner (Recommended)

This cronjob is set in order to find and announce winners of Jackpot.

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

Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php jackpotwinner -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.

For instance:
Domain is abc.com
SubDomain is xyz
i.e. xyz.abc.com
So, let's say for the "Autoresponder" cronjob the path would be as below:
php -q /home/[USERNAME]/public_html/xyz/app/Console/cake.php autoresponder -app /home/[USERNAME]/public_html/xyz/app

Applying Branding Free Option

If you have purchased Branding Free Option, then you can disable branding by going through the following steps.

  • Login to your admin area.
  • Click on Information on the top left side.
  • You will find a "Check for Updates" button. Click on it.
    • Click on "Apply Updates" button.
  • Then refresh your homepage and the powered by link will not be seen.

If you have any queries/problems, please log in to your ProXScripts account and create a support ticket.