home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
APOG015.MOD
< prev
next >
Wrap
Text File
|
1995-06-24
|
3KB
|
112 lines
Charlie La Guardia #1 @9053 7<1Maybe, Maybe Just Once7>
Wed Jun 14 18:35:12 1995
╓───────────────────────────────────────────────────────────────╖
║ MODname: APOG015 .MOD Author: Charlie La Guardia ║
║ Difficulty:█░░░░░░░░░ 1 @1 AstralNET ║
║ Version: v4.24 1 @3 LOCnet ║
║ Description: 1 @6 HOINet ║
║ Replaces the /V function built-in to 1 @2302 Cyberia ║
║ WWIV with one that validates EVERYTHING, 1 @4100 IceNET ║
║ no questions asked, so you aren't asked 1 @4100 TerraNET ║
║ what you want to validate or delete 1 @4100 SierraLink ║
║ on every single unvalidated post. 1 @9053 WWIVnet ║
╙───────────────────────────────────────────────────────────────╜
Key:
/*==*/ Existing Line
/*++*/ Add This Line
/*--*/ Comment Out This Line
/*%%*/ Change This Line
Step (1) - Back up your source. I am not responsible if your BBS gives the
police officer down the road access to your kiddie porn section as a result of
this mod.
Step (2) - Load up GFILES.C. Replace the valscan() function with the below.
void valscan(void)
{ /* kcc */
int os, ac, sn, i, i1, done, val, next;
userrec tu;
postrec *p1, p2;
char s[81], ch;
unsigned long sq;
/* Must be local cosysop or better */
if (!lcs())
return;
ac=done=0; os=cursub;
if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
ac=1;
tmp_disable_conf(1);
}
done=0;
for (sn=0; (sn<num_subs) && (!hangup) && (!done); sn++) {
if (!iscan(sn))
continue;
if (curlsub<0)
return;
sq=qsc_p[sn];
/* Must be sub with validation "on" */
if ((!(xsubs[curlsub].num_nets)) || (!(subboards[curlsub].anony & anony_val_net)))
continue;
nl();
ansic(2);
npr("{{ %s %s }}",get_string(1623), subboards[curlsub].name);
nl();
for (i=0; (i<=nummsgs) && (!hangup) && (!done); i++) {
if (get_post(i)->status & status_pending_net) {
checkhangup();
tleft(1);
if ((i>0) && (i<=nummsgs)) {
read_message(i,&next,&val);
open_sub(1);
resynch(curlsub, &i, NULL);
p1=get_post(i);
p1->status &= ~status_pending_net;
write_post(i, p1);
close_sub();
send_net_post(p1, subboards[curlsub].filename, curlsub);
nl();
pl(get_string(1500));
nl();
}
}
}
qsc_p[sn]=sq;
}
if (ac)
tmp_disable_conf(0);
cursub=os;
}
Step (3) - Compile your source. You're done.
If you use this mod, please send mail to one of the following addresses:
1 @1 AstralNET
1 @3 LOCnet
1 @6 HOINet
1 @2302 Cyberia
1 @4100 IceNET
1 @4100 TerraNET
1 @4100 SierraLink
1 @9053 WWIVnet
Thanks!
7President 2CHARLIE!0
7La Guardia0