Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-21-2004, 04:47 AM   #1
thunk
Member
 
Join Date: Oct 2004
Posts: 37
Default Excluding users from (SITE) STATS?

Hello.

It might be that I am totally overlooking the subject but, I can't seem to find anywhere on the documentation or forums how to hide/exclude users from being displayed from site stats * (or even better: having their stats counted!)

How am I able to do this?

Regards,

Thunk
thunk is offline   Reply With Quote
Old 10-21-2004, 05:05 AM   #2
thunk
Member
 
Join Date: Oct 2004
Posts: 37
Default

is there a way not to count

Upload + Download stats for sitebot

and not to count

Download for siteop (my) account
(DO count upload for siteop)?


btw: i'm aware with NoStats in VFS section.

site config show VFS
[R] 200-043: NoStats = * -xxbot
[R] 200-044: NoStats = * !*

but still it will show up in

[R] site stats daydn
[R] 200-+-----------------------------------------+
[R] 200-| Day Top Downloaders |
[R] 200-+-----------------------------------------+
[R] 200-| ## | USER @ GROUP | MBYTES |
[R] 200-+----+-------------------------+----------+
[R] 200-| 01 | thunk @ SiTEOPS | 33.7 |
[R] 200-| 02 | xxbot @ SiTEOPS | 0.0 |


With NoStats for thunk account either down and upload will not be counted. Is there another way that only upload is counted?

Thanks.
thunk is offline   Reply With Quote
Old 10-25-2004, 01:11 PM   #3
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

quote from documentation:

Quote:
Always keep NoStats = * !* at the bottom, or else counting stats may not work for all the other users. Add your own NoStats line above it.

so then make yours look like

NoStats = * -xxbot
NoStats = * !*

note that it needs a site rehash, and might take until the next transfer before it stops logging file download. ALSO note that it's note going to eliminate the stats that are already logged, so for instance, if you download 33 megabytes with account xxbot, then apply NoStats to that account, it will likely take until the end of the week for him not to be in the WeeklyDown stats any longer, and likewise till the end of the month to get out of the monthly stats.

you can manually edit the users file in /users/ to remove all statlines to have them removed immediately.
mr_F_2 is offline   Reply With Quote
Old 10-25-2004, 03:26 PM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

mr_F: You don't need two lines:
NoStats = * -xxbot
NoStats = * !*
equals
NoStats = * -xxbot !*

thunk: You can't have stats for upload or download only. It's either both or none.
Mouton is offline   Reply With Quote
Old 10-26-2004, 10:26 AM   #5
thunk
Member
 
Join Date: Oct 2004
Posts: 37
Default

ok mouton... but is it possible to count the stats of a user but hide them from being displayed in SITE STATS * ?

Otherwise I'm thinking of writing a small VB app that resets (modify userinfo file) the *dn stats of my user account OnServerStart .

But maybe that will give a problem too because I have tried modifying & saving the userfile manually while the server was activated and there was a write error (file in use probably).

Any thoughts on that?
thunk is offline   Reply With Quote
Old 10-30-2004, 07:16 AM   #6
NalgeNunc
Junior Member
ioFTPD Registered User
 
Join Date: Jan 2003
Posts: 29
Default

Quote:
Originally posted by thunk
but is it possible to count the stats of a user but hide them from being displayed in SITE STATS * ?
You can limit the stats output like this:

per user: site stats alldn limit "!user1 !user2 *" <-- hide user1, user2
per group: site stats alldn limit "!=Group1 !=Group2 *" <-- hide Group1, Group2
both: site stats alldn limit "!user1 !user2 !=Group1 !=Group2 *" <-- hide Group1, Group2 , user1, user2


Have Phun
NalgeNunc is offline   Reply With Quote
Reply

Tags
displayed, forums, site, stats, users

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


All times are GMT -5. The time now is 09:53 PM.

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