user.security.flags4&=!~UFLAG_G; /* Turn off flag 4G tonot ask again */
This corrects the logic for turning off flag 4G if a user with level 99 answers 'no' to the 'Ask again later' question about creating a Guest/Anonymous user account.
224c224
< user.security.flags4&=~UFLAG_G; /* Turn off flag 4G to not ask again */
Um, no it doesn't. It's a bit-flag, not a boolean.
< user.security.flags4&=~UFLAG_G; /* Turn off flag 4G to
Um, no it doesn't. It's a bit-flag, not a boolean.
Re: logon.js.patch
By: Digital Man to echto on Sun Nov 13 2011 19:57:43
Um, no it doesn't. It's a bit-flag, not a boolean.
Hmm.. ok. I kept getting prompted even after answering "no" so I added
that and it correctly set the flag. You might want to try and duplicate it on your end.
Re: logon.js.patch
By: Digital Man to echto on Sun Nov 13 2011 19:57:43
Um, no it doesn't. It's a bit-flag, not a boolean.
I may have tracked it down. Please take a look at sbbsdefs.js. Here is an excerpt. Start at line 777. Notice anything odd? scroll down and you
will see this. " var U_FLAGS4 =U_FLAGS3+8; /* Flag set #4 */
Re: logon.js.patch
By: echto to Digital Man on Sun Nov 13 2011 10:34 pm
Re: logon.js.patch
By: Digital Man to echto on Sun Nov 13 2011 19:57:43
Um, no it doesn't. It's a bit-flag, not a boolean.
Hmm.. ok. I kept getting prompted even after answering "no" so I added that and it correctly set the flag. You might want to try and duplicateit
on your end.
Okay, I'll do that. It might be missing some parens.
It's not obvious to me what you think the problem is. These U_FLAG* macros
Re: logon.js.patch - take a look at sbbsdefs.js please
By: Digital Man to echto on Wed Nov 16 2011 15:46:46
It's not obvious to me what you think the problem is. These U_FLAG* macro
Ok, it just looks kind of odd to me; the 'field values for system.matchuserdata() section.
var U_ALIAS =0;
var U_NAME =U_ALIAS+LEN_ALIAS;
var U_HANDLE =U_NAME+LEN_NAME;
var U_NOTE =U_HANDLE+LEN_HANDLE+2;
var U_COMP =U_NOTE+LEN_NOTE;
var U_COMMENT =U_COMP+LEN_COMP+2;
var U_NETMAIL =U_COMMENT+LEN_COMMENT+2;
var U_ADDRESS =U_NETMAIL+LEN_NETMAIL+2;
var U_LOCATION =U_ADDRESS+LEN_ADDRESS;
var U_ZIPCODE =U_LOCATION+LEN_LOCATION;
var U_PASS =U_ZIPCODE+LEN_ZIPCODE+2;
var U_PHONE =U_PASS+8;
var U_BIRTH =U_PHONE+12;
/going psuedo here/
U_ALIAS = 0;
U_NAME = alias plus length
U_NEMAIL = comment + length of comment 2
U_PASS = zipcode
U_BIRTH = phone number
FIrst impression from looking at it and seeing BIRTH = PHONE kinda made me wonder if the 2 columns were pasted together incorrectly.
FIrst impression from looking at it and seeing BIRTH = PHONE kinda made me wonder if the 2 columns were pasted together incorrectly.
Thanks for taking a look.
Sysop: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 202:55:06 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 50,760 |