home *** CD-ROM | disk | FTP | other *** search
- Calvin #1 @4350
- Fri Jun 09 04:34:12 1995
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name : CALV03-D.MOD Mod Author: CALVIN 1@8262 TerraNET │
- │ Difficulty : █▒▒▒▒▒▒▒▒▒ 1@4350 WWIVNet │
- │ WWIV Version : 4.24 and WWIVMail/QWK v.4.56 1@2001 ASSnet │
- │ Mod Date : 06/08/95 1@18262 WWIVLink │
- │ Files Affected: MMENU.C 1@8262 IceNET │
- │ Description : Adds //WWIVMAIL command from main menu 1@10000 WaveCom │
- │ and/or replaces the //QWK command │
- └────────────────────────────────────────────────────────────────────────────┘
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ This mod is copyright 1995 by Michael Lerch, aka Calvin, 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-1995 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. ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-
- ══[ Description ]═════════════════════════════════════════════════════════════
-
- This mod was originally written to add a new double-slash command to the
- BBS main menu: //WWIVMAIL. This would run Michael Leib's WWIVMail/QWK
- and either supplanted or augmented running WWIVMail/QWK as a chain.
- This mod does that PLUS gives you the option of having WWIVMail/QWK run
- instead of the horrid built-in .QWK generator that runs when users type
- //QWK in WWIV v.4.24.
-
- Version C updated this mod for WWIV v.4.23 and WWIVMail/QWK v.4.53.
- This mod used to be called CALVIN03.MOD
-
- Version D (this version) updates the mod for WWIV v.4.24 and added the
- //QWK command replacement.
-
- ══[ Legend ]══════════════════════════════════════════════════════════════════
-
- = Existing line - Do not change
- + Add this line
- - Remove this line
-
- ══[ Step 1 ]══════════════════════════════════════════════════════════════════
-
- Back up your source code. I use the "incremental backup" procedure,
- which utilizes the archive bit in the file attributes. If you want
- info, read the PKZip docs or E-mail me. It works great and saves a lot
- more time than just PKZIP -f BACKUP.ZIP *.H, etc.
-
- ══[ Step 2 ]══════════════════════════════════════════════════════════════════
-
- -- If you want the //WWIVMail command, do step 3.
-
- -- If you want //WWIVMail/QWK come up when users type //QWK, do step 4
-
- -- I recommend doing both if you've had //WWIVMAIL before and only doing
- step 4 if you're putting it in for the first time.
-
- ══[ Step 3 ]══════════════════════════════════════════════════════════════════
-
- Do this step if you want to ADD the //WWIVMAIL command to your main menu.
-
- Load up MMENU.C and make the following additions:
-
- =/*************************************************/
- = if ((strcmp(s,"UPLOAD")==0) && (actsl>10))
- = upload_post();
- + /* The next block of code added for CALV03-D.MOD */
- + if (strcmp(s,"WWIVMAIL")==0){
- + save_status();
- + sprintf(s1, "wwivqwk.exe %s", create_chain_file());
- + extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
- + save_status();
- + }
- + /* The above block of code added for CALV03-D.MOD */
- = if (strcmp(s,"QWK")==0)
- = qwk_menu();
-
- ══[ Step 4 ]══════════════════════════════════════════════════════════════════
-
- Do this step if you want WWIVMail/QWK to run instead of the internal
- .QWK reader when users type //QWK.
-
- Load up MMENU.C and make the following additions/changes--note that if
- you did step 2 there will be a block of code between upload_post(); and
- if (strcmp(s,"QWK")==0)
-
- = /*************************************************/
- = if ((strcmp(s,"UPLOAD")==0) && (actsl>10))
- = upload_post();
- - if (strcmp(s,"QWK")==0)
- - qwk_menu();
- + /* The above block of code replaced w/next for CALV03-D.MOD */
- + if (strcmp(s,"QWK")==0){
- + save_status();
- + sprintf(s1, "wwivqwk.exe %s", create_chain_file());
- + extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
- + save_status();
- + }
- + /* The above block of code added for CALV03-D.MOD */
- = if (strcmp(s,"CLS")==0) {
- = outstr("\f");
- = if (rip_on()) {
-
- ══[ Step 5 ]══════════════════════════════════════════════════════════════════
-
- Compile. If you did step 2 you have the option of adding the //WWIVMAIL
- command to your menus. What I suggest is doing ALL the steps and NOT
- adding the command to the menus. That way, if you've been upgrading
- this mod every time I do, your users in the habit of typing //WWIVMAIL
- won't be lost. Plus, new users will see //QWK in the menus already and
- just type that. Imagine their surprise when they get the vastly
- superior WWIVMail/QWK program!
-
- ══[ Disclaimer ]══════════════════════════════════════════════════════════════
-
- I'm not responsible for anything that goes wrong when you install this
- mod. This is the same code that's on my system, though.
-
- ══[ Background ]══════════════════════════════════════════════════════════════
-
- When I originally did this mod I think someone else may have done
- something similar. As far as I know I'm the only one that has continued
- to update it as WWIV has been updated. I'm still supporting this mod
- and plan to keep doing so.
-
- What I wanted instead was have a way for users to get into WWIVMail/QWK
- without having to get into the chains section. Why? Because I
- installed TIMELOCK.MOD (by Stardriver #1 @15807, I think), which doesn't
- allow people into the chains for a sysop-configurable amount of time.
- This way they can still get their mail with WWIVMail/QWK. I removed
- the TIMECLOCK.MOD pretty soon after I installed it but noticed that many
- users used //WWIVMAIL to get into the .QWK generator. With the release
- of
-
- I have also have written a mod that asks users if they want to use
- WWIVMail/QWK right at logon. That makes WWIVMail/QWK a little more
- visible, but you may prefer this option. That mod is available as
- CALV02-x.MOD. I have both installed in my system. I LOVE .QWK mail and
- want my users to love it to.
-
- ══[ Wrap-Up ]═════════════════════════════════════════════════════════════════
-
- If you use this mod, send me your favorite joke.
-
- CALVIN 1@8262 TerraNET 1@18262 WWIVLink
- 1@4350 WWIVNet 1@8262 IceNET
-
- Special thanks to JAFO who runs a fine network (TerraNET), writes great
- utilities, and whose mods I use as a template because I believe there's
- no finer.
-
- Blarty-Toot BBS - The reason Mr. Bill says "Oh Noooo!"
-