RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File sharing script

File mirror script
How to limit affiliate request payout to every 7 Days

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
bee199



Joined: 18 Aug 2012
Posts: 36

PostPosted: Sep 13, 2012 9:11 am    Post subject: How to limit affiliate request payout to every 7 Days Reply with quote

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
View user's profile
randy



Joined: 13 Mar 2012
Posts: 321

PostPosted: Sep 13, 2012 3:00 pm    Post subject: Reply with quote

wanna know this too!
Back to top
View user's profile Send e-mail
bhanuprasad1981



Joined: 30 Apr 2009
Posts: 126
Location: india

PostPosted: Sep 13, 2012 5:14 pm    Post subject: Reply with quote

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
View user's profile Send e-mail
randy



Joined: 13 Mar 2012
Posts: 321

PostPosted: Sep 13, 2012 5:21 pm    Post subject: Reply with quote

I liked your old template better bhanuprasad. the new one is bad Sad
Back to top
View user's profile Send e-mail
bhanuprasad1981



Joined: 30 Apr 2009
Posts: 126
Location: india

PostPosted: Sep 14, 2012 6:19 am    Post subject: Reply with quote

will be making some changes in it too keep watching
Back to top
View user's profile Send e-mail
bee199



Joined: 18 Aug 2012
Posts: 36

PostPosted: Sep 14, 2012 7:44 am    Post subject: Reply with quote

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
View user's profile
randy



Joined: 13 Mar 2012
Posts: 321

PostPosted: Sep 14, 2012 1:44 pm    Post subject: Reply with quote

admin! help! Smile
Back to top
View user's profile Send e-mail
okpa



Joined: 08 Apr 2011
Posts: 117

PostPosted: Sep 14, 2012 7:59 pm    Post subject: Reply with quote

yah we need this options admin
Back to top
View user's profile
randy



Joined: 13 Mar 2012
Posts: 321

PostPosted: Oct 22, 2012 2:00 pm    Post subject: Reply with quote

admin please! very important!
Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright © 2003-2013 Sibsoft Ltd