home *** CD-ROM | disk | FTP | other *** search
- Calvin #1 @4350
- Fri Jun 09 04:33:42 1995
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name : CALV02-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/09/95 1@18262 WWIVLink │
- │ Files Affected: LILO.C 1@8262 IceNET │
- │ Description : Asks users if they'd like to use 1@10000 WaveCom │
- │ WWIVMail/QWK right at logon │
- └────────────────────────────────────────────────────────────────────────────┘
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ 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 will ask users "Would you like to use WWIVMail/QWK?" right after
- they've been asked if they'd like to read their mail.
-
- I chose to do it AFTER the offer to read the E-mail, because there are
- some users who prefer to do the E-mail bit via WWIV (hence Michael
- Leib's option in WWIVMail/QWK to save downloaded E-mail)
-
- Version C updated the mod for WWIV v.4.23 and WWIVMail/QWK v.4.53.
-
- Version D (this version) updates the mod for WWIV 4.24 and v.4.56.
-
- IMPORTANT NOTE: If you ported a mod like this from v.4.22 to v.4.23,
- you NEED to switch to this mod. WWIVMail/QWK now needs the path to
- CHAIN.x passed to it, so the old mod won't work, even though it'll
- compile.
-
- ══[ 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 BACKUP.ZIP *.H, etc.
-
- ══[ Step 2 ]══════════════════════════════════════════════════════════════════
-
- If YOU want to be asked to run WWIVMail/QWK at logon, install this.
- Otherwise go to step 3
-
- Load up LILO.C and goto void logon(void)
-
- Insert where noted
-
-
- = if (usub[0].subnum==-1) {
- = curconfsub=0;
- = setuconf(CONF_SUBS, curconfsub, -1);
- = }
- = }
- + /* The next block added for CALV02-D.MOD */
- + prt(7,"Would you like to run WWIVMail/QWK? ");
- + if(yn()) {
- + sprintf(s1, "wwivqwk.exe %s", create_chain_file());
- + extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
- + save_status();
- + }
- + /* The above block added for CALV02-D.MOD */
- = rip_cls();
- = autox = -1;
- = }
-
- Go to step 4 (skip step 3)
-
- ══[ Step 3 ]══════════════════════════════════════════════════════════════════
-
- If you, the sysop, DON'T want to be asked to run WWIVMail/QWK when you
- logon, but want your users to, you're in the right place. Otherwise go
- back to step two. If you don't want your USERS to be asked to run
- WWIVMail/QWK, then why are you installing this mod? <g>
-
- Load up LILO.C and goto void logon(void)
-
- Insert where noted
-
- = if (usub[0].subnum==-1) {
- = curconfsub=0;
- = setuconf(CONF_SUBS, curconfsub, -1);
- = }
- = }
- + /* The next block added for CALV02-D.MOD */
- + if(incom){
- + prt(7,"Would you like to run WWIVMail/QWK? ");
- + if(yn()) {
- + sprintf(s1, "wwivqwk.exe %s", create_chain_file());
- + extern_prog(s1, EFLAG_SHRINK | EFLAG_FILES | EFLAG_INTERNAL);
- + save_status();
- + }
- + }
- + /* The above block added for CALV02-D.MOD */
- = rip_cls();
- = autox = -1;
- = }
-
- ══[ Step 4 ]══════════════════════════════════════════════════════════════════
-
- Compile.
-
- ══[ 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 ]══════════════════════════════════════════════════════════════
-
- The first version of this mod was inspired by HAZEL01.MOD, by Dan Hazel
- (Rick). His mod lets users configure a switch in defaults to jump into
- WWIVMail/QWK immediately upon logging on. I didn't need anything that
- complicated, though!
-
- 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 liked the
- visibility that .QWK mail got by having it right at logon.
-
- I have also have written a mod that makes WWIVMail/QWK run when users
- type //QWK and optionally adds a //WWIVMAIL command to the main menu of
- the BBS. That mod is available as CALV03-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 - Spam = Haggis = Blarty-Toot
-