home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
READUEDT.MOD
< prev
next >
Wrap
Text File
|
1990-08-14
|
2KB
|
54 lines
Birdhunter #1 @3451
Thu Aug 02 00:44:56 1990
CHKREAD.MOD
by Birdhunter
1@3451
This mod add a FIFTH field to your UEDIT function that shows the
number of posts, emails, forwarded mail, waiting mail and net mail.
This function is the number of POSTS the user has read. It will be
listed as "R" at the end of the function.
If you are like me I want to know if users are READING the message
bases. If they have 20 logons and 30 MESSAGES read, then I know something
is wrong. This lets you see at a glance.
(P.S. I have the mod installed that does 3 things. It tells in the
sysop log that a user "Tried to access games during message base time"
"Tried to access transfer area during message base time"
"Tried to access transfer area before reading messages"
WELL, I just modded those 3 to give ASS-POINTS if they try the three.
With certain number of ASS POINTS a user gets a warning, with too many they
get deleted. It is a HEAVILY modded portion of my code with numerous mods
there but I could post the whole thing if anyone is interested.
NOW back to the mod.
In SYSOPF.C search for the following void
void print_data(int un, userrec *u)
{
char s[81],s1[81],s2[81],s3[81],s4[81],s5[81],; /* ADD s5[81] here */
int i;
/* search down for the following */
itoa(u->msgpost,s1,10);
itoa(u->emailsent,s2,10);
itoa(u->feedbacksent,s3,10);
itoa(u->waiting,s,10);
itoa(u->emailnet,s4,10);
itoa(u->msgread,s5,10); /* add this pkmsgreadmod */
if (u->emailnet)
/* modify both the print statements to encompass the " R=",s5, */
print("Msgs: P=",s1," E=",s2," F=",s3," W=",s," O=",s4," R=",s5,"");
else
print("Msgs: P=",s1," E=",s2," F=",s3," W=",s," R=",s5,"");
itoa(u->logons,s1,10);
/* That's it, now in UEDIT you will see the messages read when you look */
All the standard stuff about no responsability taken, etc. Any
questions mail me. If you like it do the same if you feel like it.
Birdhunte