XFileSharing Pro - How to add File expiration time for each type of users ?

Message
Author
Anturaju93
Posts: 91
Joined: May 13, 2010 6:46 pm

How to add File expiration time for each type of users ?

#1 Postby Anturaju93 » Nov 12, 2010 6:49 am

I need to add --File expiration time for each type of users-- but without update to 1.8 (i have 1.7 version now). I know that cron.pl dues this, but if a replace 1.7 cron.pl with 1.8 cron.pl will it work? Admin some ideas please. Thanks.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Nov 12, 2010 8:24 am

You should upgrade to 1.8. Just replacing cron will not help you.

Anturaju93
Posts: 91
Joined: May 13, 2010 6:46 pm

#3 Postby Anturaju93 » Nov 12, 2010 9:46 am

Yeah i ill update to 1.8 but i don`t understand this

Code: Select all

 IMPORTANT: make sure you have 'profit_amount' and 'profit_points' fields in XFileConfig.pm to correct points-to-money convert
I don`t see anywhere 'profit_amount' and 'profit_points' in XFileConfig.pm 1.8 ?

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Nov 12, 2010 12:47 pm

You should add them. They are responsible for conversion from points to money.

Anturaju93
Posts: 91
Joined: May 13, 2010 6:46 pm

#5 Postby Anturaju93 » Nov 12, 2010 4:28 pm

Yes Admin, but how to add them, please be more explicit, like this, add this in XFileConfig.pm:

'profit_amount' => .....
'profit_points' => ....

because i don`t understand what to do? how to add them?