home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
JIFF-08.MOD
< prev
next >
Wrap
Text File
|
1995-11-06
|
6KB
|
175 lines
``Jiff`` ZeppNET #1 AT 7669
Wed Jul 12 03:47:16 1995
┌───────────────────────────────────────────┬────────────Cow Header (Moo)───┐
│ Mod Name: JIFF-08.MOD The Author: Jiff │ 4@7668 IceNET 1@7604 Penguin │
│ Difficulty: ██▓▒▒▒▒▒▒▒ │ 1@1 ElbaNET 1@7666 MicroNET │
│ WWIV Version: v4.24 Date: 07/10/95 │ 1@7669 ZeppNET 1@7666 RoadNET │
│ Files Affected: UEDIT.C │ 1@7666 GoldNET 1@52 AstralNET │
│ Description: Much better Looking Uedit │ bj887@freenet.buffalo.edu │
└───────────────────────────────────────────┴───────────────────────────────┘
This is just a FREE Uedit replacment... I tried Uedit2 by Papa Bear
but (as anyone at WWIVcon '95 could tell you) I can't afford to register...
The other problem is Uedit2 isn't for remotes, so this is my answer to it,
that I can use... This was also requested by N'Ton, who said he'd make it
if I didn't, so I made it... It should look similar to my DirEdit, SubEdit,
ChainEdit, and GfileEdit... (Shameless plug)
─═[Step 1]═─
Open UEDIT.C and replace void print_data(blah_blah_blah) with this:
void print_data(int un, userrec *u, int lng, int cls)
{
char s[81],s1[81],s2[81],s3[81];
int i;
if (cls)
outchr(12);
if ((u->inact) & inact_deleted) {
ansic_x(6);
pl(get_string(236));
nl();
}
npr("7╒══[1UserEdit7]════════╕\r\n");0
npr("7│ 1N3. 1Handle 7│9 "); pl(nam(u,un));0
npr("7│ 1L3. 1Real Name 7│9 "); pl(u->realname);0
if (lng) {
if (u->street[0]) {
npr("7│ 1:3. 1Street Address 7│9 "); pl(u->street);0
}
if (u->city[0] || u->state[0] || u->country[0] || u->zipcode[0]) {
npr("7│ 1:3. 1City/State 7│9 ");0
npr("9%s3, 9%s %s 7(9%s7)\r\n",0
u->city, u->state, u->zipcode, u->country);
}
}
if (u->registered) {
npr("7│ 1X3. 1Registered 7│9 ");0
npr("%s ",daten_to_date(u->registered));
npr("7│ 1X3. 1Expiration Date 7│9 %s\r\n",0
daten_to_date(u->expires));
nl();
}
if ((u->callsign[0])!=0) {
npr("7│ 1C3. 1Callsign 7│9 "); pl(u->callsign);0
}
npr("7│ 1P3. 1Phone Number 7│9 "); pl(u->phone);0
if (u->dataphone[0]) {
npr("7│ 1P3. 1Data Phone 7│9 "); pl(u->dataphone);0
}
npr("7│ 1G3. 1Age 7│9 ");0
npr("9%d %c 7(9%02d7/9%02d7/9%02d7)\r\n",0
u->age, u->sex, u->month, u->day, u->year);
npr("7│ 1M3. 1Computer Type 7│9 "); pl(ctypes[u->comp_type]);0
if (u->forwardusr) {
npr("7│ 1■3. 1Mail Forwarding 7│9 ");0
if (u->forwardsys) {
if (net_num_max>1) {
npr("7[9%s7]1 #%d 3@9%d\r\n", net_networks[u->net_num].name,0
u->forwardusr, u->forwardsys);
} else {
npr("1#%d 3@9%d\r\n",u->forwardusr, u->forwardsys);0
}
} else {
npr("1#%d\r\n",u->forwardusr);0
}
}
if (lng) {
npr("7│ 1■3. 1Password 7│9 ");0
if (lecho)
outs(u->pw);
if ((incom) && (thisuser.sl==255))
pr1(u->pw);
else
pr1(get_string(1527));
nl();
npr("7│ 1■3. 1Laston/First on 7│9 ");0
npr("%s %s\r\n",(u->laston),(u->firston));
npr("7│ 1■3. 1Message Log 7│9 ");0
if (u->emailnet)
npr("9P3=9%u E3=9%u F3=9%u W3=9%u O3=9%u D3=9%u\r\n",u->msgpost, u->emailsent,0
u->feedbacksent, u->waiting, u->emailnet, u->deletedposts);
else
npr("9P3=9%u E3=9%u F3=9%u W3=9%u D3=9%u\r\n",u->msgpost, u->emailsent,0
u->feedbacksent, u->waiting, u->deletedposts);
npr("7│ 1■3. 1User's Log 7│9 ");0
npr("9%d %d I3=9%d\r\n",0
u->logons,(strcmp(u->laston,date()))?0:u->ontoday,u->illegal);
npr("7│ 1■3. 1X-fer Stats 7│9 ");0
npr("U=%d-%ldk D=%d-%ldk",
u->uploaded, u->uk, u->downloaded, u->dk);
if (u->edownloaded)
npr(" ED=%d-%ldk\r\n",u->edownloaded, u->edk);
else
outstr("\r\n");
npr("7│ 1■3. 1Last Speed 7│9 "); pln(u->lastrate);0
}
if (u->note[0]) {
npr("7│ 1O3. 1User Note 7│9 "); pl(u->note);0
}
if (u->ass_pts) {
npr("7│ 1~3. 1Ass Points 7│9 "); pln(u->ass_pts);0
}
npr("7│ 1S3. 1Secutrity Level 7│9 "); pln(u->sl);0
npr("7│ 1T3. 1X-Fer Security 7│9 "); pln(u->dsl);0
if (u_qsc) {
if ((*u_qsc)!=999) {
npr("7│ 1Y3. 1Sysop Sub 7│9 "); pln(*u_qsc);0
}
}
if (u->exempt) {
npr("7│ 1E3. 1Exemption 7│9 "); pln(u->exempt);0
}
strcpy(s3,restrict_string);
for (i=0; i<=15; i++) {
if (u->ar & (1 << i))
s[i]='A'+i;
else
s[i]=32;
if (u->dar & (1 << i))
s1[i]='A'+i;
else
s1[i]=32;
if (u->restrict & (1 << i))
s2[i]=s3[i];
else
s2[i]=32;
}
s[16]=0;
s1[16]=0;
s2[16]=0;
if ((u->ar)!=0) {
npr("7│ 1A3. 1Area Restric. 7│9 "); pl(s);0
}
if ((u->dar)!=0) {
npr("7│ 1I3. 1X-fer Area Rest 7│9 "); pl(s1);0
}
if ((u->restrict)!=0) {
npr("7│ 1Z3. 1Restrioctions 7│9 "); pl(s2);0
}
if (u->WWIV_regnum) {
npr("7│ 1■3. 1WWIV Regnum 7│9 "); npr("%ld\r\n", u->WWIV_regnum);0
}
if (lng)
print_affil(u);
npr("7╘════════════════════╛\r\n");0
}
─═[Step 2]═─
Simple mod, recompile, and it's there... The reson I gave this
mod a more difficult rating is because if you've done any other mods in
UEDIT.C you need to change the lines to make it more accurate...
─═[Jiff]═─
─═[Sysop ■ The Cow Pasture]═─
─═[Co-Sysop ■ The Pinnacle]═─
JIFF-01 .MOD ■ Boxed DirEdit
JIFF-02 .MOD ■ Boxed SubEdit
JIFF-03 .MOD ■ Better Net Call Pending List
JIFF-04 .MOD ■ New G-Files section
JIFF-05 .MOD ■ Boxed ChainEdit
JIFF-06 .MOD ■ Boxed G-Files Edit
JIFF-07 .MOD ■ Limit users of instances
JIFF-08 .MOD ■ Boxed (And improved) Uedit