St0rm's scripts StormDICE, StormAPPROVE, StormSEARCH, StormRW, StormNEW, StormZS, StormRULES, StormNFO, StormACTIVITY |
01-25-2004, 06:51 PM
|
#1
|
Disabled
Join Date: Nov 2003
Posts: 105
|
StormNEW - site new command
A nice 'site new' command for ioftpd. Also supports 'site new <number>'. Standard output looks like this, but is modifieable in the .ini:
Code:
[R] site new
[R] 200- +---------------------------------------------------+
[R] 200- | Showing 10 latest directories: |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200- | ## | Directory Name | Owner | Date Created |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200- | 1 | sdfsdf | ioFTPD | 26-01-2004 |
[R] 200- | 2 | sdgdfahgdfr | ioFTPD | 26-01-2004 |
[R] 200- | 3 | sdgsdaf | ioFTPD | 26-01-2004 |
[R] 200- | 4 | test123 | ioFTPD | 26-01-2004 |
[R] 200- | 5 | safsagdhdfhfh | ioFTPD | 26-01-2004 |
[R] 200- | 6 | ghfsjhtfsdhgfdsgdfsgdflkgjdflgkdfjlgkdfgd... | ioFTPD | 26-01-2004 |
[R] 200- | 7 | sdfsdf | ioFTPD | 26-01-2004 |
[R] 200- | 8 | fghdfh | ioFTPD | 26-01-2004 |
[R] 200- | 9 | dsfhdfh | ioFTPD | 26-01-2004 |
[R] 200- | 10 | dsfh | ioFTPD | 26-01-2004 |
[R] 200- +----+----------------------------------------------+-----------+--------------+
[R] 200 Command successful.
Hope anyone finds this usefull
Edit: Download this script at http://www.ioftpd.com/scripts/
Greetz,
Storm.
|
|
|
01-25-2004, 07:34 PM
|
#2
|
Member
Join Date: May 2003
Posts: 42
|
ah nice alternative script
btw how about adding instead of 'date', '30mins , 40mins, to show how old that dir is' instead of date hehe.
|
|
|
01-26-2004, 02:57 AM
|
#3
|
Disabled
Join Date: Nov 2003
Posts: 105
|
Thx, might add that later today.
Edit: Calculating when the dir is created is kinda hard with my system, since "date created" is stored in stormnew.dat, and not calculated 'on the fly'.
|
|
|
01-28-2004, 03:21 PM
|
#4
|
Disabled
Join Date: Nov 2003
Posts: 105
|
Update: V1.1
This version is compatible with iofptd 5.6.0 and up ONLY. Update was necessary because of the changes in the environment. If you use an older version of ioftpd, use V1.0
|
|
|
02-20-2004, 08:30 AM
|
#5
|
Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jul 2003
Posts: 54
|
wich is the line i should use to include latest created directories in the server every time a user logs in?
I'm using this but it doesn't work:
%[execute](EXEC ..\scripts\stormnew\stormnew.exe)(new)
yeah i know... shoot me i'm lam3
|
|
|
02-20-2004, 08:41 AM
|
#6
|
Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jul 2003
Posts: 54
|
found it...
%[execute(EXEC ..\scripts\stormnew\stormnew.exe)(new)]
|
|
|
02-20-2004, 10:06 AM
|
#7
|
Disabled
Join Date: Nov 2003
Posts: 105
|
Nice, I learned something new today
|
|
|
02-20-2004, 11:31 AM
|
#8
|
Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jul 2003
Posts: 54
|
wel... if you need to learn something else just pm me
i can teach you one or two things more...
|
|
|
03-13-2004, 09:46 AM
|
#9
|
Junior Member
Join Date: Nov 2003
Posts: 10
|
Is it possible that the site new command doesnt show the cd1 and cd2 dirs at all?
It works if the cd1 and cd2 folders are empty, but as soon as one file is in there, they are shown in site new command.
thx for your work
greetz
r0adrunn3r
|
|
|
03-13-2004, 02:05 PM
|
#10
|
Disabled
Join Date: Nov 2003
Posts: 105
|
I'm gonna rewrite it anyway, so ill fix that then.
|
|
|
04-23-2004, 11:05 AM
|
#11
|
Member
Join Date: Apr 2004
Posts: 37
|
hi, what about an update including the time of the rel not only date ? would be n1
greetzs
|
|
|
04-23-2004, 01:34 PM
|
#12
|
Member
ioFTPD Registered User
Join Date: Nov 2003
Posts: 78
|
Quote:
Originally posted by luke2k4
hi, what about an update including the time of the rel not only date ? would be n1
greetzs
|
you should read a few posts up ...
|
|
|
05-21-2004, 11:06 PM
|
#13
|
Senior Member
ioFTPD Scripter
Join Date: Feb 2004
Posts: 181
|
Nice script.
Quote:
I'm gonna rewrite it anyway, so ill fix that then.
|
Any progress update? Also could you make the header and footer customizable so we can make it fit with our overall site looks.
For example:
Code:
[R]ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÿ
[R] Ã
[R] l a t e s t d i r s
[R] Ã
[R]ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ
instead of:
Code:
[R] +---------------------------------------------------+
[R] | Showing 10 latest directories: |
[R] +----+----------------------------------------------+
Would be cool if ppl could edit that part..thx.
|
|
|
05-23-2004, 10:56 AM
|
#14
|
Disabled
Join Date: Nov 2003
Posts: 105
|
I currently don't have much spare time to code scripts, and I'm working on a bigger (cooler!) project most of that time, so don't expect a rewritten version too soon.
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:38 PM.
|