home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
NEWSEDIT.MOD
< prev
next >
Wrap
Text File
|
1990-06-17
|
4KB
|
119 lines
Suicidal Maniac #1 @6865
Mon Jun 11 21:05:05 1990
NEWSEDIT.MOD
Yet another Mod by Suicidal Maniac
Have you ever wanted to give you cosysops the ability to edit both of the
ANSI and ASCII logon screens? Well, here is a great way to do it, and to
be able to enhance your logon screens. You will need the following:
Doorway v2.05 - DRWY205.ZIP
Quick News Editor v2.1 - QNE21.ZIP
Doorkit - DOORKIT.ZIP
All of these are available for download from my BBS, the number is at the
end of this mod. I suggest that you register Doorway because it will be the
best buy as far as software goes that you will ever make.
Ok, on to the mod:
STEP ONE
File: BBS.C
Void: mainmenu()
if ((strcmp(s,"DIREDIT")==0) && (so())) { /* SEARCH FOR */
sysoplog("@ Ran Directory Editor"); /* SEARCH FOR */
dlboardedit(); /* SEARCH FOR */
} /* SEARCH FOR */
if ((strcmp(s,"NEWSEDIT")==0) && (cs())) { /* ADD */
sysoplog("@ Ran News Editor"); /* ADD */
run_external("NEWS.BAT"); /* ADD */
} /* ADD */
if ((strcmp(s,"CHAINEDIT")==0) && (so())) { /* SEARCH FOR */
sysoplog("@ Ran Chain Edit"); /* SEARCH FOR */
chainedit(); /* SEARCH FOR */
} /* SEARCH FOR */
STEP TWO
File: BBS.C
Void: mainmenu()
case 'G': /* SEARCH FOR */
helpl=28; /* SEARCH FOR */
gfiles(); /* SEARCH FOR */
break; /* SEARCH FOR */
case 'I': /* SEARCH FOR */
nl(); /* SEARCH FOR */
pl(VERSION_NUMBER); /* SEARCH FOR */
nl(); /* SEARCH FOR */
if (okansi()) { /* ADD */
printfile("NEWSG."); /* ADD */
} else { /* ADD */
printfile("NEWS."); /* ADD */
} /* ADD */
printfile("LOGON"); /* DELETE */
printfile("SYSTEM"); /* SEARCH FOR */
break; /* SEARCH FOR */
case 'L': /* SEARCH FOR */
printfile("USER.LOG"); /* SEARCH FOR */
break; /* SEARCH FOR */
STEP THREE
File: BBSUTL.C
Void: Logon
Do a search (^QF) for printfile("LOGON"). Now, delete that whole if statement
and block read thisone in.
if (incom && live_user) {
if (okansi()) {
printfile("NEWSG.");
} else {
printfile("NEWS.");
}
}
STEP FOUR
Put this batch file in your main WWIV directory. This assumes that you have
doorway in the path and that doorkit is in your main BBS directory. You will
need QNE21.EXE to be in your Gfiles directory for this mod to work. THIS
SHOULD BE NAMED NEWS.BAT
@echo off
doorkit pcb chain.txt
cd gfiles
doorway COM1 /M:30 /R:^C /O: /V:D /S:\.. /P:QNE21.EXE
STEP FIVE
Recompile the BBS, and test it out.
STEP SIX
Send e-mail to 1@6865 and inform me that you are using the mod!
MY BBS:
Dirty Bird's Nest - The one stop, all you need, WWIV Support Board!
300-14,400 HST
Official WWIV Support Board
10+ MB of WWIV Files
Instant WWIV Sysop Access
618-397-7687
WWIVnet Node @6865