<title>Set Newscan Date Module | ENiGMA½ BBS Software</title>
<metaname="generator"content="Jekyll v4.2.1"/>
<metaproperty="og:title"content="Set Newscan Date Module"/>
<metaproperty="og:locale"content="en_US"/>
<metaname="description"content="Set Newscan Date Module The set_newscan_date module allows setting newscan dates (aka pointers) for message conferences and areas as well as within the file base. Users can select specific conferences/areas or all (where applicable)."/>
<metaproperty="og:description"content="Set Newscan Date Module The set_newscan_date module allows setting newscan dates (aka pointers) for message conferences and areas as well as within the file base. Users can select specific conferences/areas or all (where applicable)."/>
{"headline":"Set Newscan Date Module","dateModified":"2023-01-16T18:10:22+00:00","datePublished":"2023-01-16T18:10:22+00:00","description":"Set Newscan Date Module The set_newscan_date module allows setting newscan dates (aka pointers) for message conferences and areas as well as within the file base. Users can select specific conferences/areas or all (where applicable).","url":"/enigma-bbs/modding/set-newscan-date.html","mainEntityOfPage":{"@type":"WebPage","@id":"/enigma-bbs/modding/set-newscan-date.html"},"@type":"BlogPosting","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/enigma-bbs/assets/images/enigma-logo.png"}},"@context":"https://schema.org"}</script>
<aclass="btn"style="float:left;margin-right: 20px;"href="/enigma-bbs/modding/file-base-web-download-manager.html">« File Base Web Download Manager</a>
<ahref="#sidebar"class="btn menu_button">MENU</a>
<aclass="btn"style="float: right;margin-left: 20px"href="/enigma-bbs/modding/node-msg.html">Node to Node Messaging »</a>
<brclear="both"/>
</div>
<divclass="page">
<h1class="page-title">Set Newscan Date Module</h1>
<h2id="set-newscan-date-module">Set Newscan Date Module</h2>
<p>The <codeclass="language-plaintext highlighter-rouge">set_newscan_date</code> module allows setting newscan dates (aka pointers) for message conferences and areas as well as within the file base. Users can select specific conferences/areas or all (where applicable).</p>
<p>Available <codeclass="language-plaintext highlighter-rouge">config</code> block entries are as follows:</p>
<ul>
<li><codeclass="language-plaintext highlighter-rouge">target</code>: Choose from <codeclass="language-plaintext highlighter-rouge">message</code> for message conferences & areas, or <codeclass="language-plaintext highlighter-rouge">file</code> for file base areas.</li>
<li><codeclass="language-plaintext highlighter-rouge">scanDateFormat</code>: Format for scan date. This format must align with the <strong>output</strong> of the MaskEditView (<codeclass="language-plaintext highlighter-rouge">%ME1</code>) MCI utilized for input. Defaults to <codeclass="language-plaintext highlighter-rouge">YYYYMMDD</code> (which matches mask of <codeclass="language-plaintext highlighter-rouge">####/##/##</code>).</li>
</ul>
<h3id="theming">Theming</h3>
<h4id="message-conference--areas">Message Conference & Areas</h4>
<p>When <codeclass="language-plaintext highlighter-rouge">target</code> is <codeclass="language-plaintext highlighter-rouge">message</code>, the following <codeclass="language-plaintext highlighter-rouge">itemFormat</code> object is provided to MCI 2 (ie: <codeclass="language-plaintext highlighter-rouge">%SM2</code>):</p>
<ul>
<li><codeclass="language-plaintext highlighter-rouge">conf</code>: An object containing:
<li><codeclass="language-plaintext highlighter-rouge">name</code>: Conference name. Also available in <codeclass="language-plaintext highlighter-rouge">{text}</code>.</li>
<li><codeclass="language-plaintext highlighter-rouge">area</code>: An object containing:
<ul>
<li><codeclass="language-plaintext highlighter-rouge">areaTag</code>: Area tag.</li>
<li><codeclass="language-plaintext highlighter-rouge">name</code>: Area name. Also available in <codeclass="language-plaintext highlighter-rouge">{text}</code>.</li>
<li><codeclass="language-plaintext highlighter-rouge">desc</code>: Area description.</li>
</ul>
</li>
</ul>
<p>When dealing with the file base, ENiGMA½ does not currently have the ability to set newscan dates for specific areas. No <codeclass="language-plaintext highlighter-rouge">%SM2</code> is used in this case.</p>
<h3id="submit-actions">Submit Actions</h3>
<p>Submit action should map to <codeclass="language-plaintext highlighter-rouge">@method:scanDateSubmit</code> and provide <codeclass="language-plaintext highlighter-rouge">scanDate</code> in form data. For message conf/areas (<codeclass="language-plaintext highlighter-rouge">target</code> of <codeclass="language-plaintext highlighter-rouge">message</code>), <codeclass="language-plaintext highlighter-rouge">targetSelection</code> should be also be provided in form data: An index to the selected conf/area.</p>
</div>
<divclass="PageNavigation">
<aclass="btn"style="float:left;margin-right: 20px;"href="/enigma-bbs/modding/file-base-web-download-manager.html">« File Base Web Download Manager</a>
<aclass="btn"style="float: right;margin-left: 20px"href="/enigma-bbs/modding/node-msg.html">Node to Node Messaging »</a>