Line 120: | Line 120: | ||
<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>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>Timing :</b> Once a Day (0 0 * * *)</p> | ||
− | <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>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> | ||
<div class="docs"> | <div class="docs"> | ||
Line 126: | Line 126: | ||
<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>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>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> | + | <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> | ||
<div class="docs"> | <div class="docs"> | ||
Line 132: | Line 132: | ||
<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>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>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 dailyearn stage1 -app /home/[USERNAME]/public_html/app</span></p> |
</div> | </div> | ||
<div class="docs"> | <div class="docs"> | ||
Line 138: | Line 138: | ||
<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>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>Timing :</b> Once a Day (0 0 * * *)</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 dynamicearndays stage1 -app /home/[USERNAME]/public_html/app</span></p> |
</div> | </div> | ||
<div class="docs"> | <div class="docs"> | ||
Line 144: | Line 144: | ||
<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>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>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> | + | <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> | ||
<div class="docs"> | <div class="docs"> | ||
Line 150: | Line 150: | ||
<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>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>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> | + | <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> | ||
<div class="docs"> | <div class="docs"> | ||
Line 156: | Line 156: | ||
<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"> | <div class="docs"> | ||
Line 162: | Line 162: | ||
<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>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>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> | + | <p><b>Path :</b> <span class="small-text">php -q /home/[USERNAME]/public_html/app/Console/cake.php revenue -app /home/[USERNAME]/public_html/app</span></p> |
</div> | </div> | ||
<div class="docs"> | <div class="docs"> | ||
Line 168: | Line 168: | ||
<p>Sends autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups.</p> | <p>Sends autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups.</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 autoresponder -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"> | ||
Line 174: | Line 174: | ||
<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>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 * * *) - 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 currency updates (Minimum every 12 hours)</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 currency -app /home/[USERNAME]/public_html/app</span></p> |
</div> | </div> | ||
<div class="important"> | <div class="important"> | ||
Line 183: | Line 183: | ||
<p>Randomly selects the winners of maturing jackpots, sends emails to them and informs the admin via an email.</p> | <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>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> | + | <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> |
</div> | </div> | ||
<div class="docs"> | <div class="docs"> | ||
Line 189: | Line 189: | ||
<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> | ||
<div class="docs"> | <div class="docs"> | ||
Line 195: | Line 195: | ||
<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="important2"> |
Revision as of 13:36, 23 February 2015
- Download ProXCore script from your ProXScripts account from the following path :
- Go to your ProXScripts account
- 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.
- 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.
Change the permissions (CHMOD) of The following Files/Folders :
settings.php - Writeable (666)
app/webroot/db_backup/ - Writeable (707)
app/webroot/img/testimonials - Writeable (777)
app/webroot/img/bankwire - Writeable (777)
app/webroot/img/banners - Writeable (777)
app/webroot/img/member - Writeable (777)
app/webroot/img/support - Writeable (777)
app/tmp(and all of its subfolders/files) - Writeable (777)
(Permissions of following files should be changed so that admin can edit template files from adminpanel.)
app/View/Themed/[THEMENAME]/Layouts/default.ctp - Writeable (646)
app/view/[FOLDER]/*.ctp - Writeable (646)
(Permissions of all the front side ctp files,the ones without 'adminpanel_' prefix, are to be set.)
(Permissions of following files should be changed so that admin can add new language phases from adminpanel.)
app/Locale/[LANGUAGE DIRECTORY]/default.po - Writeable (646)
(Permissions of files present in all the language directories are to be set.)
- 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
- Run install/index.php File
- [YOUR SITE URL]/install/index.php
- Insert details
- Insert the necessary details and follow the setup.
- 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]
- Once the installation is complete, you can visit your site:
- Important
- Delete the Install directory located in public_html/app/webroot/ directory and set the CHMOD of settings.php back to (644).
- Most Important
- Setting up cronjobs</br>Go through the following steps to set up cronjobs.
- A) Login to your cPanel
- B) Go to "Advanced" option and select cron jobs
- C) Enter your email address in the cron email option.
You will receive a notification each time the cronjob runs on this email i.e. you will receive emails every day from your server.
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.
You will get notification every time cronjob runs on the specified email. i.e. you will get emails every day from your server.
Important Note :
- Cronjobs are run from the server according to the time specified for them.
- 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.
- 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.
- 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.
- 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.)
- 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
- 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
- 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
- Revenue Sharing Plans (Recommended)
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.
Timing :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.
Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php revenue -app /home/[USERNAME]/public_html/app
- Autoresponder (Optional)
Sends autoresponder mails to the members of the site as per admin's settings. It is Useful for follow-ups.
Timing : Once a Day (0 0 * * *)
Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php autoresponder -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 (Minimum every 12 hours)
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.
- Jackpot Winner (Optional)
Randomly selects the winners of maturing jackpots, sends emails to them and informs the admin via an email.
Timing : Once a Day (0 0 * * *)
Path : php -q /home/[USERNAME]/public_html/app/Console/cake.php jackpotwinner -app /home/[USERNAME]/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
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.
If you have any queries/problems, please log in to your ProXScripts account and create a support ticket.