mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 19:20:41 +02:00
Add Who's Online mod
This commit is contained in:
parent
e475bacdf8
commit
15cf37c55c
7 changed files with 22 additions and 6 deletions
|
@ -5,7 +5,6 @@ var MenuModule = require('../core/menu_module.js').MenuModule;
|
|||
var userDb = require('../core/database.js').dbs.user;
|
||||
var ViewController = require('../core/view_controller.js').ViewController;
|
||||
var getSystemLoginHistory = require('../core/stats.js').getSystemLoginHistory;
|
||||
var colorCodes = require('../core/color_codes.js');
|
||||
|
||||
var moment = require('moment');
|
||||
var async = require('async');
|
||||
|
@ -89,8 +88,6 @@ LastCallersModule.prototype.mciReady = function(mciData, cb) {
|
|||
});
|
||||
},
|
||||
function populateList(callback) {
|
||||
var callersView = vc.getView(MciCodeIds.CallerList);
|
||||
|
||||
var listFormat = self.menuConfig.config.listFormat || '{userName} - {location} - {affils} - {ts}';
|
||||
var dateTimeFormat = self.menuConfig.config.dateTimeFormat || 'ddd MMM DD';
|
||||
|
||||
|
@ -118,4 +115,4 @@ LastCallersModule.prototype.mciReady = function(mciData, cb) {
|
|||
cb(err);
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -484,6 +484,10 @@
|
|||
value: { command: "L" }
|
||||
action: @menu:mainMenuLastCallers
|
||||
}
|
||||
{
|
||||
value: { command: "W" }
|
||||
action: @menu:mainMenuWhosOnline
|
||||
}
|
||||
{
|
||||
value: { command: "Y" }
|
||||
action: @menu:mainMenuUserStats
|
||||
|
@ -512,6 +516,12 @@
|
|||
art: LASTCALL
|
||||
options: { pause: true }
|
||||
}
|
||||
mainMenuWhosOnline: {
|
||||
desc: Who's Online
|
||||
module: whos_online
|
||||
art: WHOSON
|
||||
options: { pause: true }
|
||||
}
|
||||
mainMenuUserStats: {
|
||||
desc: User Stats
|
||||
art: STATUS
|
||||
|
|
Binary file not shown.
BIN
mods/themes/luciano_blocktronics/WHOSON.ANS
Normal file
BIN
mods/themes/luciano_blocktronics/WHOSON.ANS
Normal file
Binary file not shown.
|
@ -133,6 +133,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
mainMenuWhosOnline: {
|
||||
config: {
|
||||
listFormat: "|00|01|36{node:<6.6}{userName:<17.17}{affils:<19.19}{action:<20.20}{timeOn:<8}"
|
||||
}
|
||||
mci: {
|
||||
VM1: { height: 10 }
|
||||
}
|
||||
}
|
||||
|
||||
messageAreaMessageList: {
|
||||
config: {
|
||||
listFormat: "|00|01|37{msgNum:>4} |00|37- |36{subj:<29.29} {from:<20.20} {ts} |01|31{newIndicator}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue