PDA

View Full Version : [Fixed] ioB v20rc3, ioA and announcing PRE


Bygone
06-14-2004, 06:17 PM
hiya

i dont know if this is an issue with any earlier version than the one i run now which is v20 rc3 og ioBanana...

i have setup 3 area to pre into for 1 grp that i have on my site... http://www.ioftpd.com/board/showthread.php?s=&threadid=3458 ...info can be seen following url

the 3 areas are dvdr dvdrtv dvdrmusic and the pre cmd and moving of rls is working flawless now with ioA...

ioB also announces these pres...this is where my question comes into the picture...

these are the 3 announces i get for preing a dir called test into the 3 sections...

[00:47] <|x|> [DEFAULT] + PRE: grp1 presents Test (0.00MB in 0F)
[00:59] <|x|> [DEFAULT] + PRE: grp1 presents Test (0.00MB in 0F)
[00:59] <|x|> [DEFAULT] + PRE: grp1 presents Test (0.00MB in 0F)

why is ioB announcing the 3 different sections as [DEFAULT]???

where can i change this and can it be change?

Kimezy
06-14-2004, 06:26 PM
one way is to change %section from set announce(PRE) in skinfile to %type

thats what i did :)

Harm
06-15-2004, 01:08 AM
Bygon: can you paste the corresponding PRE: lines from your ioFTPD.log ?

Bygone
06-15-2004, 03:24 AM
Here are the lines from my ioftpd.log :

1. site pre Test dvdr <---this cmd triggered this
06-15-2004 00:45:07 PRE: "User1" "grp1" "dvdr" "/dvdr" "bla" "0.00" "0" "Test"

2. site pre Test dvdrtv <---this cmd triggered this
06-15-2004 00:57:19 PRE: "User1" "grp1" "dvdrtv" "/dvdrtv" "bla" "0.00" "0" "Test"

3. site pre Test dvdrmusic <---this cmd triggered this
06-15-2004 00:57:31 PRE: "User1" "grp1" "dvdrmusic" "/dvdrmusic" "bla" "0.00" "0" "Test"

Harm
06-15-2004, 03:32 AM
Do those sections exist ? I mean, are they present in ioBvar(arealist).

Bygone
06-15-2004, 04:28 AM
Yes they are...

set ioBvar(arealist) "0day apps games dox dvdr dvdrtv dvdrmusic groups covers requests"

Harm
06-20-2004, 02:15 AM
This has been confirmed when ioBvar(pre_in_default) is set to 1.
It has been fixed for the next rc.

darko
06-21-2004, 02:24 AM
temporary fix:
change this line

set announce(PRE) "\[[c]$ioBvar(color1)%section[c]\] + [c]4[b]PRE:[b][c] [b]%group[b] presents [b]%release[b] ([b]%size[b]MB in [b]%files[b]F)"

to

set announce(PRE) "\[[b][c]4PRE[b][c]\] %group pre's %area/[b]%release[b] \[[b]%size[b]MB in [b]%files[b]F\] Triggered by [b]%user[b]@%group"

in your .skin file

it wont use %section any more (like the older ioB)