PDA

View Full Version : problem credit section


biasquez
11-15-2005, 06:38 AM
hi i have problem with credit section, exactly

[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

DN = 3 3 /REQUEST/*
BLA = 0 1 /MP3/*
HOME = 0 1 /*
Default = 0 *

i would to have leech in section DN and ratio 1:3 in others
i use cmd site change user ratio 3 and then site change user ratio 0 3
not works!! why?

jeza
11-15-2005, 07:17 AM
Default.user
RATIO 3 3 3 0 3 3 3 3 3 3
means ratio 0 in section 3

all new added users will have by default in section 3 ration 0(unlimited)
for all existing users u can change ratio in section 3
site change * ratio 0 3

DN = 3 3 /REQUEST/*
BLA = 0 1 /MP3/*
HOME = 0 1 /*
Default = 0 *

biasquez
11-15-2005, 08:13 AM
done but not works. :(

Mouton
11-15-2005, 12:12 PM
Note:
DN = 3 3 /REQUEST/*
is the same thing as
DN = 3 /REQUEST/*
The later is simpler...

SITE CONFIG REHASH
SITE CONFIG SHOW Sections

Confirm that your change is there.

Edit ioftpd/text/ftp/TransferComplete:

[Section: %[$section]]-[Free: %.2[free($path)(giga)]GB]-[Ratio: %[ratio]]-[Speed: %.1[speed]kb/s]
[Credits: %.0[credits(mega)]MB]-[UL: %.2[allup(bytes)(giga)]GB]-[DL: %.2[alldn(bytes)(giga)]GB]
Transfer complete.
SITE CHANGE your_username RATIO 3
SITE CHANGE your_username RATIO 0 3

Change to directory /REQUEST
Check that the ratio shown when you list the directory is indeed "Unlimited".

If not, paste the log of all the above operations.

biasquez
11-15-2005, 05:27 PM
problem fixed. there was string HOME too. thz guys