home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / SPV-006C.ZIP / SPV-006C.MOD < prev   
Encoding:
Text File  |  1995-06-11  |  5.0 KB  |  114 lines

  1. Papa Bear #1 @11579
  2. 7Sunday1, 7May 281, 71995 2 46:251 pm
  3. 4Msg. Status:9▄ 5Please reply!
  4. 9 ▀▀▀▀▀▀▀▀▀▀▀▀
  5. ┌────────────────────────────A CEREBRUM RELEASE!─────────────────────────────┐
  6. │ Mod Name: SPV─006C.MOD     Mod Authors: Pâpâ ßêâr (1@11579.wwivnet)        │
  7. │ Difficulty: ▓░░░░░░░░░     First ... [12/04/92]                            │
  8. │ WWIV Version: 4.24         Last .... [05/28/95]                            │
  9. │ Files Affected: LILO.C                                                     │
  10. │ Description: Allows user to log on as NEW if failed normal log on 3 times. │
  11. │Allows user to send E─Mail to you if not logging on as new.                 │
  12. ╞═────────────────────────────────────═╤═───────────────────────────────────═╡
  13. │ StarPort Valhalla [   ]   -     ASV 28.8kbps  Home of the SPV mod series!  │
  14. └─────────────────────────────────────═╧═────────────────────────────────────┘
  15.  
  16.                      >>> OFFICIAL WWIV SUPPORT SITE! <<<
  17.  
  18.  Word of Warning:  You installed it, you're responsible! Make back─ups BEFORE
  19.  attempting to install this modification!  Read all text before beginning.
  20. ─────────────────────────────────────────────────────────────────────────────
  21.  LEGEND:
  22.  ==  Original Code [use this to search on]
  23.  ++  Add this Line [mods ALWAYS add stuff, don't they?]
  24.  -+  Change this line to what I've indicated.
  25. ─────────────────────────────────────────────────────────────────────────────
  26.  LONG DESCRIPTION: Well, this is for you SysOps who have users who can't
  27. remember the head from a hole in the ground, nor their password.  Lets 'em
  28. log on as NEW -OR- send E-Mail to you explaining their problem (or not, but
  29. you'll know about it by both the SYSOPLOG and SSM).
  30.  REV. "B"  Thanks to Lestat the Immortal (1@29996) for pointing out that this
  31. wouldn't work properly if a person was using net_low and net_high time an
  32. suggesting a fix!
  33.  REV. "C"  Made it up for 4.24, and fixed an error I inadvertantly had put in
  34. in revision "B".
  35. ─────────────────────────────────────────────────────────────────────────────
  36. STEP 1 : Open up LILO.C, search for void getuser(void):  Add the following
  37.          lines:
  38.  
  39. ==                hangup=1;
  40. ==              }
  41. ==  } while ((!hangup) && (!ok) && (++count<3));
  42. -+  if ((count==3) && (net_only))                                 // SPV-006C
  43. ==    hangup=1;
  44. // START SPV-006C.MOD BLOCK COPY
  45.   else if (count==3) {
  46.     outchr(12);
  47.     printfile("CONSTR.MSG");
  48.     npr("5Do you want to log on as NEW? 3[7y3/2N3]0 ");
  49.     if (yn())
  50.       newuser();
  51.     else {
  52.       npr(
  53.     "5Do you want leave E-Mail describing your problem 3[7y3/2N3]0 ");
  54.       if (yn()) {
  55.         outchr(12);
  56.         printfile("BADLO2.MSG");
  57.         email(1,0,1,0);
  58.         hangup=1;
  59.       } else {
  60.         sprintf(s,"6Illegal logon! User chose not to leave mail!0");
  61.         sysoplog(s);
  62.         ssm(1,0,s);
  63.         hangup=1;
  64.       }
  65.     }
  66.   }
  67. // END SPV-006C.MOD BLOCK COPY
  68. ==  checkit=0;
  69. ==  okmacro=1;
  70. ==  if ((!hangup) && (usernum>0) && (thisuser.restrict & restrict_logon) &&
  71. ─────────────────────────────────────────────────────────────────────────────
  72. STEP 2: Create 2 files in GFILES ddirectory.  The first, CONSTR.MSG and the
  73.         second is BADLO2.MSG.  Here are mine:
  74. ───────────
  75. CONSTR.MSG:
  76. ───────────
  77.                                !!! Important !!!
  78.  
  79. Incoming Transmission From SPV Control Center:
  80.  
  81.   "We're sorry, but we can't seem to find your docking paperwork.  We've been
  82. doing some construction around here recently, and it is possible that your
  83. account was lost in the shuffle.
  84.   "We apologize for the inconvenience.  We hope that you will take this
  85. opportunity to log in as NEW."
  86.  
  87. ───────────
  88. BADLO2.MSG:
  89. ───────────
  90. Please leave your NAME, PASSWORD, VOICE PHONE NUMBER, (so I can call you with
  91. the information if you need it), and any other pertinent information.
  92.  
  93. ─────────────────────────────────────────────────────────────────────────────
  94. STEP 3: Compile...
  95. ─────────────────────────────────────────────────────────────────────────────
  96.  As always, it works like a champ here at StarPort Valhalla.  E─Mail
  97. me if you'd like help, or are just plain out using this mod!
  98.  
  99.     This mod is copyright 1993,1994 by Tracy Baker, aka Papa Bear, and is
  100.  distributed as freeware.  Permission is granted to distribute and post this
  101.    mod on BBS systems and online services, provided no alterations are made
  102.   (removal of message headers/taglines allowed).  This mod may contain some
  103.   parts of WWIV source code, which is copyright 1988─1994 by Wayne Bell and
  104.     licensed only to registered users of WWIV.  Use of WWIV source without
  105.      registration constitutes a license violation and could lead to legal
  106.                         prosecution and certain doom.
  107.    Shareware distributors and CD─ROM publishers may not distribute this mod
  108.  without express written permission of the Author or WWIV Software Services.
  109.  
  110. 7-9=1*6>2Pâpâ ßêâr6<1*9=7-0
  111.  
  112. ---
  113. 7A penny for your thoughts, $20 to act them out!
  114.