Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-30-2009, 01:18 PM   #1
mr.babek
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 82
Default Welcome screen

Hi Guys,

I have a small issue with ioFTPD 6.9.3 I upgraded from an earlier version and used the following variables to show top up and top downloaders in the welcome screen.

After the update this will not work anymore, the only difference is that I no do not use neotools, only ioninja (awaiting the ioyil script(s))



%[include(..\text\ftp\AllUp.Header)]
%[stats(..\text\ftp\Allup.body)(allup)]
%[include(..\text\ftp\AllUp.Footer)]
%[stats(..\text\ftp\alldn.body)(alldn)]
%[include(..\text\ftp\AllDn.Footer)]


Is there another way to show the top in the welcome screen that will work ? When I type the raw command site allup or site alldn this works flawlessly

Hope you can help
mr.babek is offline   Reply With Quote
Old 05-30-2009, 01:39 PM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Hmm, I'll take a look to see what I might have broke. That looks like it should work.
Yil is offline   Reply With Quote
Old 05-30-2009, 02:24 PM   #3
mr.babek
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 82
Default

Great, thanks alot. Any ETA on your script?
mr.babek is offline   Reply With Quote
Old 06-11-2009, 08:44 AM   #4
Trichlorethen
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 23
Default

HI Yil,

it is almost working, but since ioFTPD 6.5.0+ there is a visual error

Quote:
[R] 230-230-.----------------------------------------------------.
[R] 230-| AllTime Top Uploaders |
[R] 230-|----------------------------------------------------|
[R] 230-| ## | User | Group | MBytes | Files |
[R] 230-|----------------------------------------------------|
[R] 230-230-| 01 | ioFTPD | ioftpd | 110 | 10 |
[R] 230-|------------------------------|----------|----------|
[R] 230-| 00 Total Matches | 110 | 10 |
[R] 230-'----------------------------------------------------'
[R] 230-
[R] 230-Enjoy your stay.
the 230- shouldnt be there twice in one row.

hope you can fix it in the next release or maybe there is a workaround?
Trichlorethen is offline   Reply With Quote
Old 06-22-2009, 02:12 PM   #5
mrlexo
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 13
Default

Not only do I have the same "visual error," but the ranking is inaccurate. (i switched stats from mega -> giga but I don't think that had anything to do with it)
mrlexo is offline   Reply With Quote
Old 06-29-2009, 06:22 AM   #6
mr.babek
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 82
Default

Can any of you test the login screen I pasted in my 1st post? I'd like to know if its my config that is not working
mr.babek is offline   Reply With Quote
Old 07-01-2009, 05:12 AM   #7
mrlexo
Junior Member
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 13
Default

mr.babek yours works fine for me. (except for the "visual error" you mentioned earlier)

Also, for me the alltime up/dn ranks correctly, but the month up/dn does not rank in the correct order. Do you have the same problem?
mrlexo is offline   Reply With Quote
Old 07-01-2009, 07:28 AM   #8
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

mr.babek: I can confirm that it visually renders incorrectly. It's fixed in the next version. I've also added new optional args to the stats cookie to solve the section problem (%include doesn't let you specify a different section), but more importantly I've added a whole new cookie %[stats2] so you can just do %[stats2(alldn)] which is much simpler to display the whole thing correctly.

mrlexo: Do you have more than 1 section? %[Stats] cookie shows the stats for the section based upon the current path. Specify -1 for the 3rd argument to make it total across all sections. This is the default behavior in the next release so it acts the same as site stats command. If you wanted path specific behavior you can always use one of the section cookie identifiers as the 3rd argument. I haven't tested month up/down recently but the sorting logic hasn't changed in ages and it always appeared OK to me.
Yil is offline   Reply With Quote
Old 07-01-2009, 03:39 PM   #9
mr.babek
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 82
Smile

Great! looking forward for the new version!! Thanks alot!
mr.babek is offline   Reply With Quote
Reply

Tags
%[include, screen, show, site, top

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:32 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)