home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / CALV02-C.MOD < prev    next >
Text File  |  1993-12-10  |  6KB  |  148 lines

  1. CALV02-C.MOD             
  2. Calvin #1 @8265
  3. Wed Dec 08 00:15:45 1993
  4. 0R: net33: @4056 (via @4061) [08:41 12/10/93]
  5. 0R: net33: @4050 (via @4064) [05:33 12/10/93]
  6. 0R: net33: @4064 (via @1040) [05:10 12/10/93]
  7. 0R: net33: @1040 (via @2050) [17:22 12/08/93]
  8. 0R: net34: @2050 [10:49 12/08/93]
  9. 0R: net34: @2050 (via @1040) [05:48 12/08/93]
  10. 0R: net33: @1040 (via @8251) [07:09 12/08/93]
  11. 0R: net33: @8251 (via @8251) [02:20 12/08/93]
  12. 0R: net33: @8265 [00:31 12/08/93]
  13. Response To: ALL                      
  14.  
  15. ┌────────────────────────────────────────────────────────────────────────────┐
  16. │ Mod Name      : CALV02-C.MOD           Mod Author: CALVIN 1@18262 WWIVLink │
  17. │ Difficulty    : █▒▒▒▒▒▒▒▒▒                                1@10000 SnotLink │
  18. │ WWIV Version  : 4.23 and WWIVMail/QWK v.4.53              1@2001  ASSnet   │
  19. │ Mod Date      : 12/07/93                                  1@8262  Apex     │
  20. │ Files Affected: LILO.C                                    1@8265  WWIVNet  │
  21. │ Description   : Asks users if they'd like to use          1@63550 KILnet   │
  22. │                 WWIVMail/QWK right at logon               1@8262  TerraNET │
  23. └────────────────────────────────────────────────────────────────────────────┘
  24.  
  25. ══[ Description ]═════════════════════════════════════════════════════════
  26.  
  27. This mod will ask users "Would you like to use WWIVMail/QWK?" right after
  28. they've been asked if they'd like to read their mail.
  29.  
  30. I chose to do it AFTER the offer to read the E-mail, because there are
  31. some users who prefer to do the E-mail bit via WWIV (hence Michael
  32. Leib's option in WWIVMail/QWK to save downloaded E-mail)
  33.  
  34. Version C (this version) updates this mod for WWIV v.4.23 and
  35. WWIVMail/QWK v.4.53.
  36.  
  37. IMPORTANT NOTE:  If you ported a mod like this from v.4.22 to v.4.23,
  38. you NEED to switch to this mod.  WWIVMail/QWK now needs the path to
  39. CHAIN.x passed to it, so the old mod won't work, even though it'll
  40. compile.
  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 BACKUP.ZIP *.H, etc.
  54.  
  55. ══[ Step 2 ]══════════════════════════════════════════════════════════════
  56.  
  57. If YOU want to be asked to run WWIVMail/QWK at logon, install this.
  58. Otherwise go to step 3
  59.  
  60. Load up LILO.C and goto void logon(void)
  61.  
  62. Insert where noted
  63. =    if (usub[0].subnum==-1) {
  64. =      curconfsub=0;
  65. =      setuconf(CONF_SUBS, curconfsub, -1);
  66. =    }
  67. =  }
  68. +//The next block added for CALV02-C.MOD
  69. +  prt(7,"Would you like to run WWIVMail/QWK? ");
  70. +  if(yn()) {
  71. +    sprintf(s1, "wwivqwk.exe %s", create_chain_file());
  72. +    shrink_out(s1,1,0,1,1); /* call with chain.x path */
  73. +    save_status();
  74. +  }
  75. +//The above block added for CALV02-C.MOD
  76. =}
  77. Go to step 4 (skip step 3)
  78.  
  79. ══[ Step 3 ]══════════════════════════════════════════════════════════════
  80.  
  81. If you, the sysop, DON'T want to be asked to run WWIVMail/QWK when you
  82. logon, but want your users to, you're in the right place.  Otherwise go
  83. back to step two.  If you don't want your USERS to be asked to run
  84. WWIVMail/QWK, then why are you installing this mod? <g>
  85.  
  86. Load up LILO.C and goto void logon(void)
  87.  
  88. Insert where noted
  89.  
  90. =    if (usub[0].subnum==-1) {
  91. =      curconfsub=0;
  92. =      setuconf(CONF_SUBS, curconfsub, -1);
  93. =    }
  94. =  }
  95. +//The next block added for CALV02-C.MOD
  96. +  if(incom){
  97. +    prt(7,"Would you like to run WWIVMail/QWK? ");
  98. +    if(yn()) {
  99. +      shrink_out("wwivqwk.exe",1,0,1,1);
  100. +      save_status();
  101. +    }
  102. +  }
  103. +//The above block added for CALV02-C.MOD
  104. =}
  105. ══[ Step 4 ]══════════════════════════════════════════════════════════════
  106.  
  107. Compile.  While compiling, pour a beer in your dog's water bowl and play
  108. Frank Sinatra.
  109.  
  110. ══[ Disclaimer ]══════════════════════════════════════════════════════════
  111.  
  112. The first version of this mod was inspired by HAZEL01.MOD, by Dan Hazel
  113. (Rick).  His mod lets users configure a switch in defaults to jump into
  114. WWIVMail/QWK immediately upon logging on.  I didn't need anything that
  115. complicated, though!  If you do, get HAZEL01.MOD, assuming he updates it
  116. for WWIVMail/QWK v.4.53 and WWIV v.4.23.  Obviously I am continuing to
  117. support this form of the mod since I've updated it...
  118.  
  119. What I wanted instead was have a way for users to get into WWIVMail/QWK
  120. without having to get into the chains section.  Why?  Because I
  121. installed TIMELOCK.MOD (by Stardriver #1 @15807, I think), which doesn't
  122. allow people into the chains for a sysop-configurable amount of time.
  123. This way they can still get their mail with WWIVMail/QWK.  I have also
  124. written a mod that makes a //WWIVMAIL command, but think that this one
  125. makes the .QWK door considerably more visible.  The //WWIVMAIL command
  126. is available as CALV03-x.MOD.
  127.  
  128. Lastly, the idea to put in the ability to run WWIVMail/QWK for me, the
  129. sysop, would have never occurred to me if it hadn't been for someone
  130. sending me netmail with a "mod to my mod".  Unfortunately, while modding
  131. my test node I lost all my e-mail (those 2nd sysop local logon mods are
  132. killers; thank goodness for v.4.23's <spacebar> #!!) and can't give
  133. credit where credit is due.
  134.  
  135. I CAN, however, thank 1@13602 for pointing out a bug in the first mod
  136. which was using the previous user's info(!) when someone answered yes.
  137. Yikes!  That is fixed now.
  138.  
  139. If you use this mod, send me your favorite joke.
  140.  
  141. CALVIN 1@18262 WWIVLink
  142.        1@8265  WWIVNet
  143.  
  144. Insomnia BBS - Home of Platypus Programming
  145.  
  146. ---
  147.  ■ JABBER v1.2 #34 ■ (((((((((((( IN STEREO where available ))))))))))))
  148.