XFileSharing Pro - Unlimited Volume (bandwidth displays 0)

Message
Author
otitikos
Posts: 8
Joined: Dec 05, 2009 4:10 pm

Unlimited Volume (bandwidth displays 0)

#1 Postby otitikos » Dec 08, 2009 1:13 am

As i said on the title in bandwidth per x days when i put 0 which must be unlimited in premium tab displays o in x days How can we fix this cause i think the users will be afraid of 0

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 08, 2009 9:17 am

In index.cgi find

Code: Select all

$c->{files_expire_prem} = $c->{dont_expire_premium} ? $ses->{lang}->{lang_never} : $c->{files_expire_reg};
and add below:

Code: Select all

$c->{bw_limit_prem}||='Unlimited';

otitikos
Posts: 8
Joined: Dec 05, 2009 4:10 pm

#3 Postby otitikos » Dec 09, 2009 2:18 pm

thank is working perfectly but is it possible to remove also the "in 3 days" when set to 0 and says unlimited?