Skip to content
Snippets Groups Projects
Commit 7169afbc authored by nightfox's avatar nightfox
Browse files

Version 1.02: Bug fix in DDScanMsgs.js: Switched to bbs.scan_msgs() instead of...

Version 1.02: Bug fix in DDScanMsgs.js: Switched to bbs.scan_msgs() instead of bbs.scan_subs() for all other scan modes besides SCAN_READ.  Updated the version number to reflect that; no change to the actual reader.  Also fixed an error in the readme that said sbbs/subs when it should say sbbs/mods.
parent e8627648
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,10 @@
* Bug fix: Updated the setting of the enhanced reader
* header width to use the longest line in the header
* (rather than the length of only the first line) to
* ensure that the header displays correctly.
* ensure that the header displays correctly.
* 2015-06-10 Eric Oulashin Version 1.02
* Updated the version to reflect a bug fix in
* DDScanMsgs.js. No change to the actual reader.
*/
 
/* Command-line arguments (in -arg=val format, or -arg format to enable an
......@@ -113,8 +116,8 @@ if (system.version_num < 31500)
}
 
// Reader version information
var READER_VERSION = "1.01";
var READER_DATE = "2015-05-17";
var READER_VERSION = "1.02";
var READER_DATE = "2015-06-10";
 
// Keyboard key codes for displaying on the screen
var UP_ARROW = ascii(24);
......
......@@ -4,6 +4,13 @@
// This module is used for:
// - Simply reading a sub-board
// - Find text in messages
//
// Date Author Description
// 2015-05-06 Eric Oulashin Version 1.0 - Initial release
// 2015-06-10 Eric Oulashin Version 1.02
// Bug fix: Switched to bbs.scan_msgs() instead of
// bbs.scan_subs() for all other scan modes besides
// SCAN_READ.
// For stock Synchronet functionality:
//bbs.scan_msgs([sub-board=current] [,mode=SCAN_READ] [,string find])
......@@ -18,7 +25,7 @@ console.print("\1n");
// 3. Optional: Search text (if any)
if (argc < 2)
{
console.print("\1h\1yNot enough arguments were passed to the Scan Posts module! Please inform the");
console.print("\1h\1yNot enough arguments were passed to the Scan Messages module! Please inform the");
console.crlf();
console.print("sysop.\1n");
console.crlf();
......@@ -33,7 +40,7 @@ var searchText = argv[2];
// SYSOPS: Change the msgReaderPath variable if you put Digital Distortion
// Message Reader in a different path
var msgReaderPath = "../xtrn/DDMsgReader";
var msgReaderPath = "../xtrn/DigDist/MsgReader";
// The start of the command string to use with bbs.exec()
......@@ -45,7 +52,5 @@ if (scanMode == SCAN_READ)
bbs.exec(rdrCmdStrStart + "-subBoard=" + subBoardCode + " -startMode=read");
// Some modes that the Digital Distortion Message Reader doesn't handle yet: Use
// Synchronet's stock behavior.
else if (((scanMode & SCAN_CONST) == SCAN_CONST) || ((scanMode & SCAN_BACK) == SCAN_BACK))
bbs.scan_subs(scanMode, scanAllSubs);
else // Stock Synchronet behavior
else
bbs.scan_msgs(subBoardCode, scanMode, searchText);
\ No newline at end of file
Digital Distortion Message Reader
Version 1.01
Release date: 2015-05-17
Version 1.02
Release date: 2015-06-10
by
......@@ -130,7 +130,7 @@ editor.
The first 3 files (DDMsgReader.js, DDMsgReader.cfg, and DefaultTheme) can be
placed together in any directory; the next 3 (DDReadPersonalEmail.js,
DDScanMsgs.js, and DDScanSubs.js) should be copied to your sbbs/subs directory.
DDScanMsgs.js, and DDScanSubs.js) should be copied to your sbbs/mods directory.
The examples in this document will assume the first 3 files are in the
sbbs/xtrn/DDMsgReader directory.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment