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 >
Text File  |  1995-11-06  |  6KB  |  175 lines

  1. ``Jiff`` ZeppNET #1 AT 7669
  2. Wed Jul 12 03:47:16 1995
  3. ┌───────────────────────────────────────────┬────────────Cow Header (Moo)───┐
  4. │ Mod Name: JIFF-08.MOD    The Author: Jiff │ 4@7668 IceNET  1@7604 Penguin │
  5. │ Difficulty: ██▓▒▒▒▒▒▒▒                    │ 1@1 ElbaNET   1@7666 MicroNET │
  6. │ WWIV Version: v4.24      Date: 07/10/95   │ 1@7669 ZeppNET 1@7666 RoadNET │
  7. │ Files Affected: UEDIT.C                   │ 1@7666 GoldNET 1@52 AstralNET │
  8. │ Description: Much better Looking Uedit    │ bj887@freenet.buffalo.edu     │
  9. └───────────────────────────────────────────┴───────────────────────────────┘
  10.  
  11.     This is just a FREE Uedit replacment...  I tried Uedit2 by Papa Bear
  12. but (as anyone at WWIVcon '95 could tell you) I can't afford to register...
  13. The other problem is Uedit2 isn't for remotes, so this is my answer to it,
  14. that I can use...  This was also requested by N'Ton, who said he'd make it
  15. if I didn't, so I made it...  It should look similar to my DirEdit, SubEdit,
  16. ChainEdit, and GfileEdit...  (Shameless plug)
  17.  
  18. ─═[Step 1]═─
  19.     Open UEDIT.C and replace void print_data(blah_blah_blah) with this:
  20.  
  21. void print_data(int un, userrec *u, int lng, int cls)
  22. {
  23.   char s[81],s1[81],s2[81],s3[81];
  24.   int i;
  25.  
  26.   if (cls)
  27.     outchr(12);
  28.   if ((u->inact) & inact_deleted) {
  29.    ansic_x(6);
  30.     pl(get_string(236));
  31.     nl();
  32.   }
  33.   npr("7╒══[1UserEdit7]════════╕\r\n");0
  34.   npr("7│ 1N3. 1Handle          7│9 "); pl(nam(u,un));0
  35.   npr("7│ 1L3. 1Real Name       7│9 "); pl(u->realname);0
  36.   if (lng) {
  37.     if (u->street[0]) {
  38.   npr("7│ 1:3. 1Street Address  7│9 "); pl(u->street);0
  39.     }
  40.     if (u->city[0] || u->state[0] || u->country[0] || u->zipcode[0]) {
  41.       npr("7│ 1:3. 1City/State      7│9 ");0
  42.       npr("9%s3, 9%s  %s 7(9%s7)\r\n",0
  43.     u->city, u->state, u->zipcode, u->country);
  44.     }
  45.   }
  46.   if (u->registered) {
  47.     npr("7│ 1X3. 1Registered      7│9 ");0
  48.       npr("%s    ",daten_to_date(u->registered));
  49.     npr("7│ 1X3. 1Expiration Date 7│9 %s\r\n",0
  50.       daten_to_date(u->expires));
  51.     nl();
  52.   }
  53.   if ((u->callsign[0])!=0) {
  54.     npr("7│ 1C3. 1Callsign        7│9 "); pl(u->callsign);0
  55.   }
  56.     npr("7│ 1P3. 1Phone Number    7│9 "); pl(u->phone);0
  57.   if (u->dataphone[0]) {
  58.     npr("7│ 1P3. 1Data Phone      7│9 "); pl(u->dataphone);0
  59.   }
  60.   npr("7│ 1G3. 1Age             7│9 ");0
  61.   npr("9%d %c  7(9%02d7/9%02d7/9%02d7)\r\n",0
  62.     u->age, u->sex, u->month, u->day, u->year);
  63.   npr("7│ 1M3. 1Computer Type   7│9 "); pl(ctypes[u->comp_type]);0
  64.   if (u->forwardusr) {
  65.     npr("7│ 1■3. 1Mail Forwarding 7│9 ");0
  66.     if (u->forwardsys) {
  67.       if (net_num_max>1) {
  68.     npr("7[9%s7]1 #%d 3@9%d\r\n", net_networks[u->net_num].name,0
  69.       u->forwardusr, u->forwardsys);
  70.       } else {
  71.     npr("1#%d 3@9%d\r\n",u->forwardusr, u->forwardsys);0
  72.       }
  73.     } else {
  74.       npr("1#%d\r\n",u->forwardusr);0
  75.     }
  76.   }
  77.   if (lng) {
  78.   npr("7│ 1■3. 1Password        7│9 ");0
  79.     if (lecho)
  80.       outs(u->pw);
  81.     if ((incom) && (thisuser.sl==255))
  82.       pr1(u->pw);
  83.     else
  84.       pr1(get_string(1527));
  85.     nl();
  86.     npr("7│ 1■3. 1Laston/First on 7│9 ");0
  87.     npr("%s   %s\r\n",(u->laston),(u->firston));
  88.     npr("7│ 1■3. 1Message Log     7│9 ");0
  89.     if (u->emailnet)
  90.       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
  91.       u->feedbacksent, u->waiting, u->emailnet, u->deletedposts);
  92.     else
  93.       npr("9P3=9%u E3=9%u F3=9%u W3=9%u D3=9%u\r\n",u->msgpost, u->emailsent,0
  94.       u->feedbacksent, u->waiting, u->deletedposts);
  95.       npr("7│ 1■3. 1User's Log      7│9 ");0
  96.       npr("9%d  %d  I3=9%d\r\n",0
  97.     u->logons,(strcmp(u->laston,date()))?0:u->ontoday,u->illegal);
  98.       npr("7│ 1■3. 1X-fer Stats     7│9 ");0
  99.       npr("U=%d-%ldk   D=%d-%ldk",
  100.     u->uploaded, u->uk, u->downloaded, u->dk);
  101.     if (u->edownloaded)
  102.       npr("   ED=%d-%ldk\r\n",u->edownloaded, u->edk);
  103.     else
  104.       outstr("\r\n");
  105.     npr("7│ 1■3. 1Last Speed      7│9 "); pln(u->lastrate);0
  106.   }
  107.   if (u->note[0]) {
  108.     npr("7│ 1O3. 1User Note       7│9 "); pl(u->note);0
  109.   }
  110.   if (u->ass_pts) {
  111.     npr("7│ 1~3. 1Ass Points      7│9 "); pln(u->ass_pts);0
  112.   }
  113.     npr("7│ 1S3. 1Secutrity Level 7│9 "); pln(u->sl);0
  114.     npr("7│ 1T3. 1X-Fer Security  7│9 "); pln(u->dsl);0
  115.   if (u_qsc) {
  116.     if ((*u_qsc)!=999) {
  117.       npr("7│ 1Y3. 1Sysop Sub       7│9 "); pln(*u_qsc);0
  118.     }
  119.   }
  120.   if (u->exempt) {
  121.     npr("7│ 1E3. 1Exemption       7│9 "); pln(u->exempt);0
  122.   }
  123.   strcpy(s3,restrict_string);
  124.   for (i=0; i<=15; i++) {
  125.     if (u->ar & (1 << i))
  126.       s[i]='A'+i;
  127.     else
  128.       s[i]=32;
  129.     if (u->dar & (1 << i))
  130.       s1[i]='A'+i;
  131.     else
  132.       s1[i]=32;
  133.     if (u->restrict & (1 << i))
  134.       s2[i]=s3[i];
  135.     else
  136.       s2[i]=32;
  137.   }
  138.   s[16]=0;
  139.   s1[16]=0;
  140.   s2[16]=0;
  141.   if ((u->ar)!=0) {
  142.     npr("7│ 1A3. 1Area Restric.   7│9 "); pl(s);0
  143.   }
  144.   if ((u->dar)!=0) {
  145.     npr("7│ 1I3. 1X-fer Area Rest 7│9 "); pl(s1);0
  146.   }
  147.   if ((u->restrict)!=0) {
  148.     npr("7│ 1Z3. 1Restrioctions   7│9 "); pl(s2);0
  149.   }
  150.   if (u->WWIV_regnum) {
  151.     npr("7│ 1■3. 1WWIV Regnum     7│9 "); npr("%ld\r\n", u->WWIV_regnum);0
  152.   }
  153.   if (lng)
  154.     print_affil(u);
  155.   npr("7╘════════════════════╛\r\n");0
  156. }
  157.  
  158. ─═[Step 2]═─
  159.     Simple mod, recompile, and it's there...  The reson I gave this
  160. mod a more difficult rating is because if you've done any other mods in
  161. UEDIT.C you need to change the lines to make it more accurate...
  162.  
  163.             ─═[Jiff]═─
  164.             ─═[Sysop ■ The Cow Pasture]═─
  165.             ─═[Co-Sysop ■ The Pinnacle]═─
  166.  
  167. JIFF-01 .MOD  ■  Boxed DirEdit
  168. JIFF-02 .MOD  ■  Boxed SubEdit
  169. JIFF-03 .MOD  ■  Better Net Call Pending List
  170. JIFF-04 .MOD  ■  New G-Files section
  171. JIFF-05 .MOD  ■  Boxed ChainEdit
  172. JIFF-06 .MOD  ■  Boxed G-Files Edit
  173. JIFF-07 .MOD  ■  Limit users of instances
  174. JIFF-08 .MOD  ■  Boxed (And improved) Uedit
  175.