home *** CD-ROM | disk | FTP | other *** search
- Papa Bear #1 @11579
- 7Sunday1, 7May 281, 71995 2 46:251 pm
- 4Msg. Status:9▄ 5Please reply!
- 9 ▀▀▀▀▀▀▀▀▀▀▀▀
- ┌────────────────────────────A CEREBRUM RELEASE!─────────────────────────────┐
- │ Mod Name: SPV─006C.MOD Mod Authors: Pâpâ ßêâr (1@11579.wwivnet) │
- │ Difficulty: ▓░░░░░░░░░ First ... [12/04/92] │
- │ WWIV Version: 4.24 Last .... [05/28/95] │
- │ Files Affected: LILO.C │
- │ Description: Allows user to log on as NEW if failed normal log on 3 times. │
- │Allows user to send E─Mail to you if not logging on as new. │
- ╞═────────────────────────────────────═╤═───────────────────────────────────═╡
- │ StarPort Valhalla [ ] - ASV 28.8kbps Home of the SPV mod series! │
- └─────────────────────────────────────═╧═────────────────────────────────────┘
-
- >>> OFFICIAL WWIV SUPPORT SITE! <<<
-
- Word of Warning: You installed it, you're responsible! Make back─ups BEFORE
- attempting to install this modification! Read all text before beginning.
- ─────────────────────────────────────────────────────────────────────────────
- LEGEND:
- == Original Code [use this to search on]
- ++ Add this Line [mods ALWAYS add stuff, don't they?]
- -+ Change this line to what I've indicated.
- ─────────────────────────────────────────────────────────────────────────────
- LONG DESCRIPTION: Well, this is for you SysOps who have users who can't
- remember the head from a hole in the ground, nor their password. Lets 'em
- log on as NEW -OR- send E-Mail to you explaining their problem (or not, but
- you'll know about it by both the SYSOPLOG and SSM).
- REV. "B" Thanks to Lestat the Immortal (1@29996) for pointing out that this
- wouldn't work properly if a person was using net_low and net_high time an
- suggesting a fix!
- REV. "C" Made it up for 4.24, and fixed an error I inadvertantly had put in
- in revision "B".
- ─────────────────────────────────────────────────────────────────────────────
- STEP 1 : Open up LILO.C, search for void getuser(void): Add the following
- lines:
-
- == hangup=1;
- == }
- == } while ((!hangup) && (!ok) && (++count<3));
- -+ if ((count==3) && (net_only)) // SPV-006C
- == hangup=1;
- // START SPV-006C.MOD BLOCK COPY
- else if (count==3) {
- outchr(12);
- printfile("CONSTR.MSG");
- npr("5Do you want to log on as NEW? 3[7y3/2N3]0 ");
- if (yn())
- newuser();
- else {
- npr(
- "5Do you want leave E-Mail describing your problem 3[7y3/2N3]0 ");
- if (yn()) {
- outchr(12);
- printfile("BADLO2.MSG");
- email(1,0,1,0);
- hangup=1;
- } else {
- sprintf(s,"6Illegal logon! User chose not to leave mail!0");
- sysoplog(s);
- ssm(1,0,s);
- hangup=1;
- }
- }
- }
- // END SPV-006C.MOD BLOCK COPY
- == checkit=0;
- == okmacro=1;
- == if ((!hangup) && (usernum>0) && (thisuser.restrict & restrict_logon) &&
- ─────────────────────────────────────────────────────────────────────────────
- STEP 2: Create 2 files in GFILES ddirectory. The first, CONSTR.MSG and the
- second is BADLO2.MSG. Here are mine:
- ───────────
- CONSTR.MSG:
- ───────────
- !!! Important !!!
-
- Incoming Transmission From SPV Control Center:
-
- "We're sorry, but we can't seem to find your docking paperwork. We've been
- doing some construction around here recently, and it is possible that your
- account was lost in the shuffle.
- "We apologize for the inconvenience. We hope that you will take this
- opportunity to log in as NEW."
-
- ───────────
- BADLO2.MSG:
- ───────────
- Please leave your NAME, PASSWORD, VOICE PHONE NUMBER, (so I can call you with
- the information if you need it), and any other pertinent information.
-
- ─────────────────────────────────────────────────────────────────────────────
- STEP 3: Compile...
- ─────────────────────────────────────────────────────────────────────────────
- As always, it works like a champ here at StarPort Valhalla. E─Mail
- me if you'd like help, or are just plain out using this mod!
-
- This mod is copyright 1993,1994 by Tracy Baker, aka Papa Bear, and is
- distributed as freeware. Permission is granted to distribute and post this
- mod on BBS systems and online services, provided no alterations are made
- (removal of message headers/taglines allowed). This mod may contain some
- parts of WWIV source code, which is copyright 1988─1994 by Wayne Bell and
- licensed only to registered users of WWIV. Use of WWIV source without
- registration constitutes a license violation and could lead to legal
- prosecution and certain doom.
- Shareware distributors and CD─ROM publishers may not distribute this mod
- without express written permission of the Author or WWIV Software Services.
-
- 7-9=1*6>2Pâpâ ßêâr6<1*9=7-0
-
- ---
- 7A penny for your thoughts, $20 to act them out!
-