How can I make a js script toggle user.settings.USER_EXTDESC so that my f lists default to displaying all the diz's? :)
This is the code I use to toggle that:
if (user.settings & USER_EXTDESC)
user.settings = (user.settings & ~USER_EXTDESC);
else
user.settings = (user.settings | USER_EXTDESC);
I need to try and figure out what to do about the ssjs webserver :) I'm wondering...can I make a regular old index.html type of page, and still u some of the js synchronet commands in there? I'm thinking a sort of hybr service. Honestly, the only thing I'll neex is access to the messages, s
Re: user_extdesc
By: esc to All on Sat Sep 12 2009 20:05:01
How can I make a js script toggle user.settings.USER_EXTDESC so that my f lists default to displaying all the diz's? :)
This is the code I use to toggle that:
if (user.settings & USER_EXTDESC)
user.settings = (user.settings & ~USER_EXTDESC);
else
user.settings = (user.settings | USER_EXTDESC);
That works, but here's a short-cut:
user.settings ^= USER_EXTDESC;
| Sysop: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,189 |
| Nodes: | 17 (0 / 17) |
| Uptime: | 159:07:51 |
| Calls: | 509,803 |
| Calls today: | 8 |
| Files: | 254,983 |
| U/L today: |
1 files (188K bytes) |
| D/L today: |
5,966 files (1,271M bytes) |
| Messages: | 471,886 |
| Posted today: | 3 |