I notice that when displaying the system stats from the web browser, some of the @ codes in my MSG/ASC files are not interpreted/replaced.
the screens look correct when connecting via telnet, but when viewing via web interface I'll see the @ codes instead of the data.
The files in question would be ./text/system.msg and ./text/menu/logon.asc
I figured out that it is because the ./web/root/members/sysinfo.ssjs file is not written to translate on the @ tags I am using.
Is there a reference for all the system.stats.XXXX.toString entities ? It looks like I just need to add the ones I'm interested in to be able to map the data correctly.
Re: sysinfo.ssjssome
By: Hemo to All on Mon May 16 2016 01:57 pm
I notice that when displaying the system stats from the web browser,
viaof the @ codes in my MSG/ASC files are not interpreted/replaced.
the screens look correct when connecting via telnet, but when viewing
fileweb interface I'll see the @ codes instead of the data.
The files in question would be ./text/system.msg and ./text/menu/logon.asc
I figured out that it is because the ./web/root/members/sysinfo.ssjs
?is not written to translate on the @ tags I am using.
Is there a reference for all the system.stats.XXXX.toString entities
able toIt looks like I just need to add the ones I'm interested in to be
map the data correctly.
system.stats is documented here: http://synchro.net/docs/jsobjs.html#system.stats
@-codes are documented here:
http://wiki.synchro.net/custom:atcodes
If you make fixes to the stock .ssjs file(s), it'd be nice if you share those fixes with others and maybe we can merge them into CVS.
digital man
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 116:55:52 |
| Calls: | 15,363 |
| Calls today: | 1 |
| Files: | 20,059 |
| D/L today: |
3 files (239K bytes) |
| Messages: | 1,798,772 |