home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / CALV03-D.ZIP / CALV03-D.MOD next >
Encoding:
Text File  |  1995-06-11  |  7.3 KB  |  159 lines

  1. Calvin #1 @4350
  2. Fri Jun 09 04:34:12 1995
  3. ┌────────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name      : CALV03-D.MOD           Mod Author: CALVIN 1@8262  TerraNET │
  5. │ Difficulty    : █▒▒▒▒▒▒▒▒▒                                1@4350  WWIVNet  │
  6. │ WWIV Version  : 4.24 and WWIVMail/QWK v.4.56              1@2001  ASSnet   │
  7. │ Mod Date      : 06/08/95                                  1@18262 WWIVLink │
  8. │ Files Affected: MMENU.C                                   1@8262  IceNET   │
  9. │ Description   : Adds //WWIVMAIL command from main menu    1@10000 WaveCom  │
  10. │                   and/or replaces the //QWK command                        │
  11. └────────────────────────────────────────────────────────────────────────────┘
  12. ╔════════════════════════════════════════════════════════════════════════════╗
  13. ║   This mod is copyright 1995 by Michael Lerch, aka Calvin, and is          ║
  14. ║   distributed as freeware.  Permission is granted to distribute and post   ║
  15. ║   this mod on BBS systems and online services, provided no alterations are ║
  16. ║   made (removal of message headers/taglines allowed). This mod may contain ║
  17. ║   some parts of WWIV source code, which is copyright 1988-1995 by Wayne    ║
  18. ║   Bell and licensed only to registered users of WWIV.  Use of WWIV source  ║
  19. ║   without registration constitutes a license violation and could lead to   ║
  20. ║   legal prosecution and certain doom.                                      ║
  21. ║                                                                            ║
  22. ║   Shareware distributors and CD-ROM publishers may not distribute this mod ║
  23. ║   without express written permission of the Author or WWIV Software        ║
  24. ║   Services.                                                                ║
  25. ╚════════════════════════════════════════════════════════════════════════════╝
  26.  
  27. ══[ Description ]═════════════════════════════════════════════════════════════
  28.  
  29. This mod was originally written to add a new double-slash command to the
  30. BBS main menu:  //WWIVMAIL.  This would run Michael Leib's WWIVMail/QWK
  31. and either supplanted or augmented running WWIVMail/QWK as a chain.
  32. This mod does that PLUS gives you the option of having WWIVMail/QWK run
  33. instead of the horrid built-in .QWK generator that runs when users type
  34. //QWK in WWIV v.4.24.
  35.  
  36. Version C updated this mod for WWIV v.4.23 and WWIVMail/QWK v.4.53.
  37.           This mod used to be called CALVIN03.MOD
  38.  
  39. Version D (this version) updates the mod for WWIV v.4.24 and added the
  40.           //QWK command replacement.
  41.  
  42. ══[ Legend ]══════════════════════════════════════════════════════════════════
  43.  
  44.   =  Existing line - Do not change
  45.   +  Add this line
  46.   -  Remove this line
  47.  
  48. ══[ Step 1 ]══════════════════════════════════════════════════════════════════
  49.  
  50. Back up your source code.  I use the "incremental backup" procedure,
  51. which utilizes the archive bit in the file attributes.  If you want
  52. info, read the PKZip docs or E-mail me.  It works great and saves a lot
  53. more time than just PKZIP -f BACKUP.ZIP *.H, etc.
  54.  
  55. ══[ Step 2 ]══════════════════════════════════════════════════════════════════
  56.  
  57. -- If you want the //WWIVMail command, do step 3.
  58.  
  59. -- If you want //WWIVMail/QWK come up when users type //QWK, do step 4
  60.  
  61. -- I recommend doing both if you've had //WWIVMAIL before and only doing
  62.    step 4 if you're putting it in for the first time.
  63.  
  64. ══[ Step 3 ]══════════════════════════════════════════════════════════════════
  65.  
  66. Do this step if you want to ADD the //WWIVMAIL command to your main menu.
  67.  
  68. Load up MMENU.C and make the following additions:
  69.  
  70. =/*************************************************/
  71. =   if ((strcmp(s,"UPLOAD")==0) && (actsl>10))
  72. =     upload_post();
  73. + /* The next block of code added for CALV03-D.MOD */
  74. +   if (strcmp(s,"WWIVMAIL")==0){
  75. +     save_status();
  76. +     sprintf(s1, "wwivqwk.exe %s", create_chain_file());
  77. +     extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
  78. +     save_status();
  79. +   }
  80. + /* The above block of code added for CALV03-D.MOD */
  81. =   if (strcmp(s,"QWK")==0)
  82. =     qwk_menu();
  83.  
  84. ══[ Step 4 ]══════════════════════════════════════════════════════════════════
  85.  
  86. Do this step if you want WWIVMail/QWK to run instead of the internal
  87. .QWK reader when users type //QWK.
  88.  
  89. Load up MMENU.C and make the following additions/changes--note that if
  90. you did step 2 there will be a block of code between upload_post(); and
  91. if (strcmp(s,"QWK")==0)
  92.  
  93. = /*************************************************/
  94. =   if ((strcmp(s,"UPLOAD")==0) && (actsl>10))
  95. =     upload_post();
  96. -   if (strcmp(s,"QWK")==0)
  97. -     qwk_menu();
  98. + /* The above block of code replaced w/next for CALV03-D.MOD */
  99. +   if (strcmp(s,"QWK")==0){
  100. +     save_status();
  101. +     sprintf(s1, "wwivqwk.exe %s", create_chain_file());
  102. +     extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
  103. +     save_status();
  104. +   }
  105. + /* The above block of code added for CALV03-D.MOD */
  106. =   if (strcmp(s,"CLS")==0) {
  107. =     outstr("\f");
  108. =     if (rip_on()) {
  109.  
  110. ══[ Step 5 ]══════════════════════════════════════════════════════════════════
  111.  
  112. Compile.  If you did step 2 you have the option of adding the //WWIVMAIL
  113. command to your menus.  What I suggest is doing ALL the steps and NOT
  114. adding the command to the menus.  That way, if you've been upgrading
  115. this mod every time I do, your users in the habit of typing //WWIVMAIL
  116. won't be lost.  Plus, new users will see //QWK in the menus already and
  117. just type that.  Imagine their surprise when they get the vastly
  118. superior WWIVMail/QWK program!
  119.  
  120. ══[ Disclaimer ]══════════════════════════════════════════════════════════════
  121.  
  122. I'm not responsible for anything that goes wrong when you install this
  123. mod.  This is the same code that's on my system, though.
  124.  
  125. ══[ Background ]══════════════════════════════════════════════════════════════
  126.  
  127. When I originally did this mod I think someone else may have done
  128. something similar.  As far as I know I'm the only one that has continued
  129. to update it as WWIV has been updated.  I'm still supporting this mod
  130. and plan to keep doing so.
  131.  
  132. What I wanted instead was have a way for users to get into WWIVMail/QWK
  133. without having to get into the chains section.  Why?  Because I
  134. installed TIMELOCK.MOD (by Stardriver #1 @15807, I think), which doesn't
  135. allow people into the chains for a sysop-configurable amount of time.
  136. This way they can still get their mail with WWIVMail/QWK.  I removed
  137. the TIMECLOCK.MOD pretty soon after I installed it but noticed that many
  138. users used //WWIVMAIL to get into the .QWK generator.  With the release
  139. of
  140.  
  141. I have also have written a mod that asks users if they want to use
  142. WWIVMail/QWK right at logon.  That makes WWIVMail/QWK a little more
  143. visible, but you may prefer this option.  That mod is available as
  144. CALV02-x.MOD.  I have both installed in my system.  I LOVE .QWK mail and
  145. want my users to love it to.
  146.  
  147. ══[ Wrap-Up ]═════════════════════════════════════════════════════════════════
  148.  
  149. If you use this mod, send me your favorite joke.
  150.  
  151. CALVIN 1@8262 TerraNET   1@18262 WWIVLink
  152.        1@4350 WWIVNet    1@8262  IceNET
  153.  
  154. Special thanks to JAFO who runs a fine network (TerraNET), writes great
  155. utilities, and whose mods I use as a template because I believe there's
  156. no finer.
  157.  
  158. Blarty-Toot BBS - The reason Mr. Bill says "Oh Noooo!"
  159.