i'm trying to set the user's current message group, but for some reason when set the bbs.curgrp value to whatever group i want it to be it doesn'ts ave.. any ideas?
i might be calling the wrong var, i tried user.curgrp also, so i don't know exactly what to do now, soemone please help :).
Tracker1 and I recently went over this. The bbs.curgrp and bbs.cursub properties are 0-based, and are relative to the groups/subs the current
user has access to.
I'm not sure what you mean by "it doesn't save". If you set the variable
to a value, and then read it back, you don't get the value you wrote?
Tracker1 and I recently went over this. The bbs.curgrp and bbs.cursub properties are 0-based, and are relative to the groups/subs the current user has access to.
I'm not sure what you mean by "it doesn't save". If you set the variable to a value, and then read it back, you don't get the value you wrote?
I think that it doesn't restrict the groups/subs appropriate to the user's security.. it seems to show them all when you enumerate the arrays.
maybe if there was a setSub(SUB_CODE) command that set to the first group/ sub that matched (presuming no dupe sub_code's) .. and returned true on success, false on fail ... or setSub(grp_number,sub_code) ...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,045 |
Nodes: | 15 (1 / 14) |
Uptime: | 10:03:04 |
Calls: | 500,414 |
Calls today: | 17 |
Files: | 95,209 |
D/L today: |
16,636 files (18,743M bytes) |
Messages: | 465,144 |
Posted today: | 7 |