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 >
Wrap
Text File
|
1993-12-10
|
6KB
|
148 lines
CALV02-C.MOD
Calvin #1 @8265
Wed Dec 08 00:15:45 1993
0R: net33: @4056 (via @4061) [08:41 12/10/93]
0R: net33: @4050 (via @4064) [05:33 12/10/93]
0R: net33: @4064 (via @1040) [05:10 12/10/93]
0R: net33: @1040 (via @2050) [17:22 12/08/93]
0R: net34: @2050 [10:49 12/08/93]
0R: net34: @2050 (via @1040) [05:48 12/08/93]
0R: net33: @1040 (via @8251) [07:09 12/08/93]
0R: net33: @8251 (via @8251) [02:20 12/08/93]
0R: net33: @8265 [00:31 12/08/93]
Response To: ALL
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name : CALV02-C.MOD Mod Author: CALVIN 1@18262 WWIVLink │
│ Difficulty : █▒▒▒▒▒▒▒▒▒ 1@10000 SnotLink │
│ WWIV Version : 4.23 and WWIVMail/QWK v.4.53 1@2001 ASSnet │
│ Mod Date : 12/07/93 1@8262 Apex │
│ Files Affected: LILO.C 1@8265 WWIVNet │
│ Description : Asks users if they'd like to use 1@63550 KILnet │
│ WWIVMail/QWK right at logon 1@8262 TerraNET │
└────────────────────────────────────────────────────────────────────────────┘
══[ 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 (this version) updates this mod for WWIV v.4.23 and
WWIVMail/QWK v.4.53.
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-C.MOD
+ prt(7,"Would you like to run WWIVMail/QWK? ");
+ if(yn()) {
+ sprintf(s1, "wwivqwk.exe %s", create_chain_file());
+ shrink_out(s1,1,0,1,1); /* call with chain.x path */
+ save_status();
+ }
+//The above block added for CALV02-C.MOD
=}
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-C.MOD
+ if(incom){
+ prt(7,"Would you like to run WWIVMail/QWK? ");
+ if(yn()) {
+ shrink_out("wwivqwk.exe",1,0,1,1);
+ save_status();
+ }
+ }
+//The above block added for CALV02-C.MOD
=}
══[ Step 4 ]══════════════════════════════════════════════════════════════
Compile. While compiling, pour a beer in your dog's water bowl and play
Frank Sinatra.
══[ Disclaimer ]══════════════════════════════════════════════════════════
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! If you do, get HAZEL01.MOD, assuming he updates it
for WWIVMail/QWK v.4.53 and WWIV v.4.23. Obviously I am continuing to
support this form of the mod since I've updated it...
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 have also
written a mod that makes a //WWIVMAIL command, but think that this one
makes the .QWK door considerably more visible. The //WWIVMAIL command
is available as CALV03-x.MOD.
Lastly, the idea to put in the ability to run WWIVMail/QWK for me, the
sysop, would have never occurred to me if it hadn't been for someone
sending me netmail with a "mod to my mod". Unfortunately, while modding
my test node I lost all my e-mail (those 2nd sysop local logon mods are
killers; thank goodness for v.4.23's <spacebar> #!!) and can't give
credit where credit is due.
I CAN, however, thank 1@13602 for pointing out a bug in the first mod
which was using the previous user's info(!) when someone answered yes.
Yikes! That is fixed now.
If you use this mod, send me your favorite joke.
CALVIN 1@18262 WWIVLink
1@8265 WWIVNet
Insomnia BBS - Home of Platypus Programming
---
■ JABBER v1.2 #34 ■ (((((((((((( IN STEREO where available ))))))))))))