| View previous topic :: View next topic |
| Author |
Message |
bee199
Joined: 18 Aug 2012 Posts: 36
|
Posted: Sep 13, 2012 9:11 am Post subject: How to limit affiliate request payout to every 7 Days |
|
|
Hello
I would like to know how I can limit affiliates from requesting payments to only 7 Days after last request?
So affiliates can only request payment every 7 days and not everytime they reach minimal payment.
For example: You can only change your affiliate plan every 7 days.
How can I do the same with request payout?
Thanks in advance. |
|
| Back to top |
|
 |
randy
Joined: 13 Mar 2012 Posts: 321
|
Posted: Sep 13, 2012 3:00 pm Post subject: |
|
|
| wanna know this too! |
|
| Back to top |
|
 |
bhanuprasad1981
Joined: 30 Apr 2009 Posts: 126 Location: india
|
Posted: Sep 13, 2012 5:14 pm Post subject: |
|
|
| atm no such option , also note if users payout is already pending he can again request payout and fresh amount adds up to pending amount |
|
| Back to top |
|
 |
randy
Joined: 13 Mar 2012 Posts: 321
|
Posted: Sep 13, 2012 5:21 pm Post subject: |
|
|
I liked your old template better bhanuprasad. the new one is bad  |
|
| Back to top |
|
 |
bhanuprasad1981
Joined: 30 Apr 2009 Posts: 126 Location: india
|
Posted: Sep 14, 2012 6:19 am Post subject: |
|
|
| will be making some changes in it too keep watching |
|
| Back to top |
|
 |
bee199
Joined: 18 Aug 2012 Posts: 36
|
Posted: Sep 14, 2012 7:44 am Post subject: |
|
|
| randy wrote: | | wanna know this too! |
This is what I have managed to do in my_account.html:
<TMPL_IF m_y_change_ok><TMPL_VAR lang_request_payout>" onClick="document.location='?op=request_money'" disabled="true"><TMPL_ELSE><TMPL_VAR lang_request_payout>" onClick="document.location='?op=request_money'"></TMPL_IF>
It works, but only if a user has changed Affiliate Mode. If user has not changed affiliate mode then he can still request payouts. If user changed affiliate plan, the he cannot request payout for 7 days.
Is there no one that can help us create a separate function for this?
In XFileConfig.pm we have this code:
m_y_interval_days => '7',
Is it not possible to use that same interval for something like
r_p_interval_days => '7', (Request Payout)
Maybe we can help eachother out here. |
|
| Back to top |
|
 |
randy
Joined: 13 Mar 2012 Posts: 321
|
Posted: Sep 14, 2012 1:44 pm Post subject: |
|
|
admin! help!  |
|
| Back to top |
|
 |
okpa
Joined: 08 Apr 2011 Posts: 117
|
Posted: Sep 14, 2012 7:59 pm Post subject: |
|
|
| yah we need this options admin |
|
| Back to top |
|
 |
randy
Joined: 13 Mar 2012 Posts: 321
|
Posted: Oct 22, 2012 2:00 pm Post subject: |
|
|
| admin please! very important! |
|
| Back to top |
|
 |
|