Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Myfiles.asp display options

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
leesh695 Posted - 01 June 2008 : 10:06:14
Hi,

Is it possible to modify the myfiles.asp file found in mikes file attachment mod.

So they you can have the option to only show files uploaded today, this week & this month?

Thanks in Advance.

- Lee<
5   L A T E S T    R E P L I E S    (Newest First)
leesh695 Posted - 16 June 2008 : 17:31:33
quote:
Originally posted by PPSSWeb

In Function ScanFolders(PathSpec) you would need to check the date created for each file against the time frame you select.
Something Like:
Function ScanFolders(PathSpec)
	
	Dim fs, f, Folder, fc, s, File, FileList, FolderInfo, FileName, Name
	
	response.write "<BLOCKQUOTE>"
	
	Set FolderInfo = Fso.GetFolder(PathSpec)
	Set FileList = FolderInfo.Files
	
        For Each File in FileList

        If File.DateCreated > TimeSelected  Then 'TimeSelected being today, this week, month, etc.  you would use your favorite date compare function here
           ' continue processing to output name
        Else 
           ' do nothing and continue to next file
        EndIf







Would someone be able to code this for me? I would pay a little $<
PPSSWeb Posted - 05 June 2008 : 16:37:37
In Function ScanFolders(PathSpec) you would need to check the date created for each file against the time frame you select.
Something Like:
Function ScanFolders(PathSpec)
	
	Dim fs, f, Folder, fc, s, File, FileList, FolderInfo, FileName, Name
	
	response.write "<BLOCKQUOTE>"
	
	Set FolderInfo = Fso.GetFolder(PathSpec)
	Set FileList = FolderInfo.Files
	
        For Each File in FileList

        If File.DateCreated > TimeSelected  Then 'TimeSelected being today, this week, month, etc.  you would use your favorite date compare function here
           ' continue processing to output name
        Else 
           ' do nothing and continue to next file
        EndIf



<
leesh695 Posted - 05 June 2008 : 14:51:04
It looks in a folder with folders with usernames ect. I think<
MaD2ko0l Posted - 02 June 2008 : 12:48:04
its proberly possiable, i would imaging you would just query the database for them files only, but i cannto help as i dont use mikes mod andi dont have the knowledge.<
leesh695 Posted - 02 June 2008 : 12:19:39
Not possible?<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.07