XFileSharing Pro - How to limit affiliate request payout to every 7 Days

Powerfull XFileSharing version

Moderator: admin

Message
Author
bee199
Posts: 36
Joined: Aug 18, 2012 4:40 pm

How to limit affiliate request payout to every 7 Days

#1 Postby bee199 » Sep 13, 2012 9:11 am

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.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#2 Postby randy » Sep 13, 2012 3:00 pm

wanna know this too!

bhanuprasad1981
Posts: 129
Joined: Apr 30, 2009 10:31 am
Location: india
Contact:

#3 Postby bhanuprasad1981 » Sep 13, 2012 5:14 pm

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

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#4 Postby randy » Sep 13, 2012 5:21 pm

I liked your old template better bhanuprasad. the new one is bad :(

bhanuprasad1981
Posts: 129
Joined: Apr 30, 2009 10:31 am
Location: india
Contact:

#5 Postby bhanuprasad1981 » Sep 14, 2012 6:19 am

will be making some changes in it too keep watching

bee199
Posts: 36
Joined: Aug 18, 2012 4:40 pm

#6 Postby bee199 » Sep 14, 2012 7:44 am

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.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#7 Postby randy » Sep 14, 2012 1:44 pm

admin! help! :)

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#8 Postby okpa » Sep 14, 2012 7:59 pm

yah we need this options admin

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#9 Postby randy » Oct 22, 2012 2:00 pm

admin please! very important!


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests