home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
CIRPOST.MOD
< prev
next >
Wrap
Text File
|
1992-01-29
|
2KB
|
54 lines
|
| Circular Post mod
| For Jonathan Schragg
|
Okay, Jon, you should have known that if you suggested it, I would come up
with it. Okay, here's the rather simple solution to repeating the "Do you
want to post on [sub name]?" question. (remember that I have v4.05, so the
code may be different).
All changes are in MSGBASE1.C.
(Legend: '=' is same, '+' is new, '*' is changed)
First, we need to add the character variable ch to void scan(...):
= void scan(int msgnum, int optype, int *nextsub)
= {
* char s[81],s1[81],s2[81],*b,*ss1,ch;
= int i,i1,i2,done,quit,abort,next,val,realexpress;
= slrec ss;
= long l,len;
= postrec p,p1;
Next, go down toward the end of void scan (...) to find and change this block:
= if ((!quit) && (!express)) {
= nl();
= ss=syscfg.sl[thisuser.sl];
= if (
= ((restrict_post & thisuser.restrict)==0) &&
= (thisuser.posttoday<ss.posts) &&
= (thisuser.sl>=subboards[curlsub].postsl)) {
+ do {
+ nl();
= strcpy(s,"Post on ");
= strcat(s,subboards[curlsub].name);
= strcat(s,"? ");
= prt(5,s);
+ ch=yn();
* if (ch)
= post();
+ } while (ch);
= }
= }
And that does it. The board will keep asking if you want to post on the sub
until you tell it NO, at which point it will proceed to the next.
I'll work on the random openings later....
have a good lunch
-=><=-