home *** CD-ROM | disk | FTP | other *** search
- Bull Ship #1 @11132
- Sun Jul 09 20:58:33 1995
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name : BS07A.424 Mod Author: Bull Ship 1@1 SierraLink │
- │ Difficulty : █▒▒▒▒▒▒▒▒▒ 1@11132 WWIVnet │
- │ WWIV Version : 4.24 1@2932 IceNET │
- │ Mod Date : 7/8/95 1@2932 TerraNET │
- │ Files Affected: BBS.C, XFER.C 1@22901 WWIVLink │
- │ 1@2932 FishNet │
- │ Description : Allows users with NEWUSER.SL to see files but not Download │
- └────────────────────────────────────────────────────────────────────────────┘
- ══[ Description ]═════════════════════════════════════════════════════════════
-
- This mod allows newusers to view the files you have... kind of entice them,
- but won't let them download, tag or extract them. This will help get them
- to call back <g>.
-
- Users that have a DSL that is less than or equal to a NEWUSER.DSL will only
- be able to see your files.
-
- ══[ Legend ]══════════════════════════════════════════════════════════════════
-
- = Existing line - Do not change
- + Add this line
- - Delete this line
-
- ══[ Step 1 ]══════════════════════════════════════════════════════════════════
-
- Please back up your source code. Even the best programmers make mistakes.
-
- ══[ Step 2 ]══════════════════════════════════════════════════════════════════
- Open MMENU.C, in void dlmainmenu find case 'D' and
- add the lines indicated:
-
- = case 'D':
- + if (thisuser.dsl<=syscfg.newuserdsl) { // BS07A.423
- + nl (); prt(6,get_string(1651)); // BS07A.423
- + break; // BS07A.423
- + } else // BS07A.423
- = helpl=20;
- = existprint(get_string(1038));
- = download();
- = break;
-
- ══[ Step 3 ]══════════════════════════════════════════════════════════════════
- Still in MMENU.C, in void dlmainmenu find case 'G'
- and add the lines indicated:
-
- = case 'G':
- + if (thisuser.dsl<=syscfg.newuserdsl) { // BS07A.423
- + nl (); prt(6,get_string(1651)); // BS07A.423
- + break; // BS07A.423
- + } else // BS07A.423
- = helpl=30;
- = temporary_stuff();
- = break;
-
- Save MMENU.C
-
- ══[ Step 4 ]══════════════════════════════════════════════════════════════════
- Open XFEROVL2.C, in void tag_files find case 'D' and
- add the lines indicated:
-
- = case 'D':
- + if (thisuser.dsl<=syscfg.newuserdsl) { // BS07A.423
- + prt(6,get_string(1651)); // BS07A.423
- + nl(); // BS07A.423
- + break; // BS07A.423
- + } else // BS07A.423
- = batchdl(1);
- = tagging=0;
- = if (!had) {
- = nl();
- = pausescr();
- = outchr(12);
- = }
- = done=1;
- = break;
-
- ══[ Step 5 ]══════════════════════════════════════════════════════════════════
- Still in XFER.C, in void tag_files find case 'T'
- and add the lines indicated:
-
- = case 'T':
- + if (thisuser.dsl<=syscfg.newuserdsl) { // BS07A.423
- + prt(6,get_string(1651)); // BS07A.423
- + nl(); // BS07A.423
- + break; // BS07A.423
- + } else // BS07A.423
- = tag_it();
- = break;
-
- Save XFER.C
- ══[ Step 6 ]══════════════════════════════════════════════════════════════════
-
- Add the following string to your BBS.STR:
-
- 6Only Validated Users can do that :)..0
-
- Then modify each of the getstring commands to indicate the string number you
- just added.
-
- ══[ Step 7 ]══════════════════════════════════════════════════════════════════
-
- Compile your BBS.
-
- ══[ Step 8 ]══════════════════════════════════════════════════════════════════
-
- Go into Diredit and edit every files directory you want a newuser to see and
- give those directories the same DSL that your newusers have.
-
- ══[ Disclaimer ]══════════════════════════════════════════════════════════════
-
- It works fine here.. I'm not responsible.. if you run into problems I'll try
- to help you. Email me at one of the addresses above.
-
- Email me and tell me what you think..
-