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 @@ ...@@ -25,7 +25,10 @@
* Bug fix: Updated the setting of the enhanced reader * Bug fix: Updated the setting of the enhanced reader
* header width to use the longest line in the header * header width to use the longest line in the header
* (rather than the length of only the first line) to * (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 /* Command-line arguments (in -arg=val format, or -arg format to enable an
...@@ -113,8 +116,8 @@ if (system.version_num < 31500) ...@@ -113,8 +116,8 @@ if (system.version_num < 31500)
} }
   
// Reader version information // Reader version information
var READER_VERSION = "1.01"; var READER_VERSION = "1.02";
var READER_DATE = "2015-05-17"; var READER_DATE = "2015-06-10";
   
// Keyboard key codes for displaying on the screen // Keyboard key codes for displaying on the screen
var UP_ARROW = ascii(24); var UP_ARROW = ascii(24);
......
...@@ -4,6 +4,13 @@ ...@@ -4,6 +4,13 @@
// This module is used for: // This module is used for:
// - Simply reading a sub-board // - Simply reading a sub-board
// - Find text in messages // - 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: // For stock Synchronet functionality:
//bbs.scan_msgs([sub-board=current] [,mode=SCAN_READ] [,string find]) //bbs.scan_msgs([sub-board=current] [,mode=SCAN_READ] [,string find])
...@@ -18,7 +25,7 @@ console.print("\1n"); ...@@ -18,7 +25,7 @@ console.print("\1n");
// 3. Optional: Search text (if any) // 3. Optional: Search text (if any)
if (argc < 2) 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.crlf();
console.print("sysop.\1n"); console.print("sysop.\1n");
console.crlf(); console.crlf();
...@@ -33,7 +40,7 @@ var searchText = argv[2]; ...@@ -33,7 +40,7 @@ var searchText = argv[2];
// SYSOPS: Change the msgReaderPath variable if you put Digital Distortion // SYSOPS: Change the msgReaderPath variable if you put Digital Distortion
// Message Reader in a different path // 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() // The start of the command string to use with bbs.exec()
...@@ -45,7 +52,5 @@ if (scanMode == SCAN_READ) ...@@ -45,7 +52,5 @@ if (scanMode == SCAN_READ)
bbs.exec(rdrCmdStrStart + "-subBoard=" + subBoardCode + " -startMode=read"); bbs.exec(rdrCmdStrStart + "-subBoard=" + subBoardCode + " -startMode=read");
// Some modes that the Digital Distortion Message Reader doesn't handle yet: Use // Some modes that the Digital Distortion Message Reader doesn't handle yet: Use
// Synchronet's stock behavior. // Synchronet's stock behavior.
else if (((scanMode & SCAN_CONST) == SCAN_CONST) || ((scanMode & SCAN_BACK) == SCAN_BACK)) else
bbs.scan_subs(scanMode, scanAllSubs);
else // Stock Synchronet behavior
bbs.scan_msgs(subBoardCode, scanMode, searchText); bbs.scan_msgs(subBoardCode, scanMode, searchText);
\ No newline at end of file
Digital Distortion Message Reader Digital Distortion Message Reader
Version 1.01 Version 1.02
Release date: 2015-05-17 Release date: 2015-06-10
by by
...@@ -130,7 +130,7 @@ editor. ...@@ -130,7 +130,7 @@ editor.
The first 3 files (DDMsgReader.js, DDMsgReader.cfg, and DefaultTheme) can be The first 3 files (DDMsgReader.js, DDMsgReader.cfg, and DefaultTheme) can be
placed together in any directory; the next 3 (DDReadPersonalEmail.js, 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 The examples in this document will assume the first 3 files are in the
sbbs/xtrn/DDMsgReader directory. 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