PVTFILE v1.05 Private File Area (wcCODE 4.12 program) written by: Edward Brophy The Faustic Domain BBS Glendale, Arizona, USA Fidonet 1:114/481 (602) 846-9103 PVTFILE is a simple program that allows trusted users to manage their own file area. It's aim is to increase user uploads and participation, but also give sysop a break from sorting/filing uploads. Users have to upload from your regular file menu to allow Wildcat! to do virus scanning before users can move files to their area. This program allows users to move files that only they upload (from anywhere in the file base) to their area only, list all files they've uploaded regardless of where they are currently in the file base, and finally to delete files only they uploaded and that is currently in their file area. ---- SETUP ----------------------------------------------------------- Setup is very simple. Place PVTFMENU.BBS into your \WILDCAT\DISP\ directory and PVTFILE.WCX into any directory you wish. The menu file (PVTFMENU.BBS) can be customized any way you want. Use MAKEMENU to add PVTFILE as an option to your File Menu. It should look something like this with your own seletion key and directory. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Edit Menu Item ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º Selection key : ~ º º Description : [~]....User Area Maintenance º º Command type : Run wcCODE program º º Parameters : C:\WILDCAT\WCX\PVTFILE.WCX º ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ º F2 Pick F10 Done º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ There is no configuration file. To turn on a user for an area, place the File Area Number into the user's COMMENT 5 data field: Record number : ### Match : NONE User ID : ### [ 1] Name : DEFAULT [18] Zip code : [ 2] From : [19] SecLevel : FULLUSER [ 3] Phone [V] : [20] ExpDate : / / [ 4] Phone [D] : [21] User since: 01/01/80 [ 5] Phone [F] : Age: ?? [22] D.O.B. : / / [ 6] Last call : 01/01/80 1:10pm [23] Memo date : / / [ 7] Comment 1 : [24] # Calls : 0 [ 8] Comment 2 : [25] Page avail: Yes [ 9] Comment 3 : [26] Display : Auto detect [10] Comment 4 : [27] E-prompt : Yes [11] Comment 5 : ***FILE NUMBER HERE*** [28] Hot keys : Yes [12] Company : [29] File disp : Double line [13] Address 1 : [30] Editor : No default [14] Address 2 : [31] Protocol : No default [15] City : [32] N-mail bal: $ .00 [16] State : [33] Acct bal : $ .00 [17] Country : [34] Help level: NOVICE If you have another program or questionaire using this spot, you'll have to move them to use that program or questionaire. The program won't run if there isn't a file area number here or if its not a valid number--must be between 1 and the maximum number of file areas in MAKEWILD. This program makes a PVTFILE.LOG in your WILDCAT directory to keep track of what was moved where. In making this program, I wanted it to look more like a normal function of Wildcat so I left out "written by" and any BBS ads. Your FREE to use this program all you wish. YOU accept all responsibility for using this program. If your users upload "garbage" that gets you in trouble, it's not my fault. I make no guarantees regarding this program. I do use it myself and appreciate any feedback you might have. I can be reached at: Internet> ebrophy@aztec.asu.edu -or- FidoNet> 1:114/481.0 Brief History of PVTFILE: v1.00 - 1.02 Initial creation phase v1.03 Realized that you cannot use UpdateFile to change the file area of a file. PVTFILE now deletes the file base listing for the file and does an AddFile with the new file area. Also changed file listing from Wildcat's normal file listing command to a customized list off all user's file uploads. v1.04 Added extra code to prevent a user's drop carrier from causing any file base problems during file management. v1.05 Minor debugging, file to be deleted is now case insensitive. Also changed press-key pauses to a timed pauses to prevent the system from "hanging" if a user drops carrier while doing file management.