๐Ÿ“ checkpoint_DM2S-NX_shared_themes_2026-12-04_3.mdv4.7.5 · 2026-12-05

Checkpoint: shared themes, tag words and remembered settings for listatt, LMV and LTV

Date: 2026-12-04 System: DM2S/NX (Next Generation Document and Multimedia Management System) Packages: Collaborative 6.7 โ†’ 6.8, LMV 4.7.4 โ†’ 4.8.0, LTV 1.15.0 โ†’ 1.16.0, listatt 7.7.1 โ†’ 7.9.0 Authors: Andrew.human & Claude.ai Status: PLAN. Nothing built yet except listatt Detach (section 4.4), which is built and tested. This document is for review before the build starts, and is the starting point for a fresh chat (section 9). Revision 2 (21:30): adds finding 3.1 item 8, the LMV autodisplay that vanishes (reported by Andrew 21:28), with rule 2.3.8 and its fix in sections 4 to 6. Revision 3 (23:25): adds request 11, LTV inline uses the same viewer and search as autodisplay (Andrew 22:17), with the BBCode comparison promised before it (3.3), one open decision (1.4), and its changes in sections 4 to 6. Adds section 8 (ISE work done in this chat: ISE 10.7 to 10.9 and indexall) and section 9 (what to bring to the fresh chat). Nothing else changed.


1. Problem & Resolution

1.1 What was asked

  1. One shared theme set. All themes from listatt, LMV and LTV are combined into one list kept in one place, CollabCore (inside the Collaborative package). All three mods use that list and show the same themes. None is lost. A new theme is added once and appears in all three. "No theme" lives there too.
  2. The dropdown shows the real theme names, exactly as typed in a tag (sky-blue, not "Sky Blue"). No help page needed.
  3. A way to see all the themes at once.
  4. The scroll words work in any position in LMV and LTV tags.
  5. Show/Hide for inline cards in LMV and LTV, as autodisplay cards have, so every form takes the same words.
  6. The LTV icon in the editor, next to the LMV icon.
  7. The editor buttons insert the full tag, not a bare [lmv][/lmv].
  8. Settings remembered for each card or box across sessions, until changed: theme, scroll and Show/Hide for LMV and LTV (inline and autodisplay); theme for listatt (its box always starts closed, which is fine).
  9. listatt Detach (no delete), with two warnings for a nexus link.
  10. As much as possible in common code.
  11. LTV inline gets the same search as autodisplay (22:17), by running the same code: the existing viewer, ISE_text_viewer.html, instead of its own <pre> box.

Purpose (Andrew): one place to control all three, so software maintenance is easier. Themes identify each "call" or document (for example a different colour for ChatGPT, Gemini, Mistral and Claude transcripts), and you can't have too many themes.

1.2 Decisions made in review (2026-12-04)

Time Decision
17:55 Same-name conflicts are solved by descriptive names in the style dark-coffee. Use common sense. Do NOT omit any theme.
17:55 ALL autodisplay cards start CLOSED the first time a reader sees them. After that, each card's own state is remembered.
17:55 scroll-lg (the large window, also for phones) is kept for LMV and LTV.
19:10 lg belongs to scroll and immediately follows it.
19:10 Go-ahead given. Trajectory of DM2S/NX to be upheld.
19:15 Enforce scroll-lg as the only valid spelling. lg anywhere else is an error, including on the autodisplay switches.

1.3 Resolution: what will be built

A. Collaborative 6.8. One new file, CollabCore/CollabThemes.php, holds everything shared:

CollabCore.php 2.3 โ†’ 2.4 lists CollabThemes 1.0 in its manifest. Nothing else in Collaborative changes.

B. LMV 4.8.0. Its private theme list, theme CSS and word reader are removed and replaced by calls to CollabThemes. Show/Hide is added to every card form. The editor button inserts the full tag. Autodisplay cards start closed and are remembered per card.

C. LTV 1.16.0. The same as LMV, plus a new editor button using Andrew's icons (ltv.gif for SMF 2.0, ltv.png for SMF 2.1), placed beside LMV's. The colours inside the text-viewer frame come from the shared table. Inline text is shown in the same viewer as autodisplay (ISE_text_viewer.html), so it gets the same search box, the same Render BBCode switch and the same look. The viewer takes the text from the post instead of from a file; that change is in Collaborative 6.8 (viewer 1.2 โ†’ 1.3).

D. listatt 7.9.0. Shared themes. A theme command accepts all 69 names. The dropdown shows real names. The theme is remembered per box. Detach is included. (7.8.0 is skipped: that number belongs to the earlier detach-only build.)

1.4 Open decision (needed before the build)

LTV inline text goes through SMF's own BBCode today; the viewer renders 11 tags (3.3). Which other tags, if any, the viewer must learn so inline loses nothing. Recommendation: settle it from the real posts with this read-only count on Live (it lists every tag used in posts that contain an inline LTV box; use the forum's database name and table prefix):

mysql <forum_db> -N -e "SELECT body FROM smf_messages WHERE body LIKE '%[ltv=inline%'" | grep -oi '\[[a-z*]\+' | tr 'A-Z' 'a-z' | sort | uniq -c | sort -rn

Any tag on that list outside the viewer's 11 is added to the viewer in Collaborative 6.8, so autodisplay gains it too. Tags nobody uses are not added.


2. Behaviour rules (the requirements tests are checked against)

2.1 Themes

  1. There is exactly one theme table, in CollabCore/CollabThemes.php. listatt, LMV and LTV hold no theme colours of their own.
  2. The table has 69 themes. A theme name means the same colours in all three mods.
  3. Each theme has 12 colours: background, text, title, card background, border, link, link hover, code background, quote border, header background, table-header background, table-header text. When a new theme gives only the first 7, the other 5 are filled in by fixed rules (manual, section 5).
  4. The dropdown lists every theme by its real name, in alphabetical order.
  5. Beside every dropdown is an all themes link. It opens a grid of all 69, each drawn in its own colours with its name on it. Clicking one applies it to that card exactly as the dropdown would. The grid has a close button.
  6. Default theme when the tag names none: LMV and LTV indigo, listatt tinted-indigo. These are today's looks, so an untagged card or box does not change.
  7. A misspelt theme name gives the red error "Unknown theme in [...]. Valid: ..." listing all 69 names. LMV and LTV already do this; listatt does since 7.7.1.

2.2 The 69 themes

From LMV and LTV (45, colours unchanged): amber, amber-terminal, aqua-marine, arctic, black-yellow, blueprint, coffee, coral-reef, crimson, cyberpunk, daylight, deep-ocean, dracula, ember, emerald, forest, green-bar, gruvbox, highcontrast, indigo, lavender-mist, lemon-chiffon, lilac-dream, matrix, midnight, mint-cream, monokai, none, nord, paper-ink, peach-puff, pearl-white, pink, rose-quartz, sepia, sky-blue, slate, solarized-dark, solarized-light, spring-bud, sunset-glow, synthwave, teal, tokyo-night, turquoise.

listatt-only (9, colours unchanged): autumn, classic-light, lavender, mono-slate, nordic-frost, ocean, retro-amber, sunset, teal-breeze.

listatt's version of a name LMV also uses (15, renamed so none is lost):

listatt's old name New name What is different from the shared one
coffee dark-coffee dark (the shared one is light)
midnight navy-midnight navy, sky-blue titles
cyberpunk violet-cyberpunk deep violet
dracula purple-dracula purple titles, grey cards
matrix green-matrix green titles
emerald mint-emerald mint cards
amber bright-amber orange titles, amber cards
crimson bright-crimson bright titles, pink cards
sepia brown-sepia brown titles
slate grey-slate grey cards
nord bright-nord brighter text
pink rosy-pink deeper background
solarized-light orange-solarized orange titles
indigo tinted-indigo lavender cards
none plain-white fixed white; the shared none uses the forum's own colours

Measured difference from the shared version (average per colour, 0 = identical):

coffee 467.7   none 261.3   cyberpunk 154.6   dracula 129.7   midnight 111.3
matrix 75.6 emerald 58.4 amber 44.7 sepia 43.1 crimson 38.9
pink 29.9 nord 29.6 slate 29.0 solarized-light 26.0 indigo 15.4

The last five are near-twins. They are kept because no theme may be omitted.

2.3 Tag words (LMV and LTV)

The value after = is a list of words joined by -, in any order. Each word may appear once.

Group Words Meaning
Form (at most one) inline text typed between the tags
a number, e.g. 10217 that attachment, by its permanent ID
attach-NN (LMV only) the NN-th .md attachment of the post, counted from 00
autodisplay / noautodisplay switch the post's autodisplay on or off
no form word (LMV only) a link between the tags is fetched; an empty body shows the post's newest .md
Scroll (at most one) scroll card capped at 800px, with its own scrollbar
scroll-lg capped at 1400px. lg is valid ONLY written straight after scroll.
noscroll no cap
Show/Hide (at most one) show (old spelling open still accepted) the card gets a Show/Hide button and starts open
hide the card gets a Show/Hide button and starts closed
Theme (at most one) theme-NAME the card starts in theme NAME

Rules:

  1. Word order never matters. Every order of the same words gives the same card.
  2. A word that is not in this table, a word written twice, or two opposite words (scroll with noscroll, show with hide) give a red error naming the valid words. A tag never vanishes silently.
  3. lg anywhere except straight after scroll gives the red error "write scroll-lg".
  4. With no Show/Hide word: inline, ID, attach and link cards have no Show/Hide button (as today); autodisplay cards have the button and start closed.
  5. theme-NAME on the autodisplay switch sets the starting theme of that post's autodisplayed cards (new; today LMV mishandles it and LTV gives an error, see 3.1 item 6).
  6. LTV cards that show an attachment in the text-viewer frame (ID and autodisplay) accept the scroll words but they have no effect, as today: the frame is 85% of the screen height.
  7. LTV has no attach-NN and no link form, as today.
  8. The autodisplay switch is read from the post's own text each time the cards are drawn, never from something remembered while the post was being parsed. SMF's 4-minute parse cache can then never switch autodisplay off (finding 3.1 item 8). The reader is shared code in CollabThemes, used by LMV and LTV.

2.4 Editor buttons

  1. The LMV button inserts [lmv=inline-scroll-show-theme-none] and [/lmv] around the selection.
  2. The LTV button (new) inserts [ltv=inline-scroll-show-theme-none] and [/ltv].
  3. The two buttons sit together on the same toolbar row, LMV first, whatever order the mods were installed in.
  4. Icons: LMV keeps lmv.gif / lmv.png; LTV uses Andrew's ltv.gif (SMF 2.0) and ltv.png (SMF 2.1), 23 ร— 23.

2.5 Remembering

  1. Each card (LMV, LTV) and each box (listatt) remembers the reader's own changes: theme, and for LMV/LTV also Show/Hide. Scroll stays set by the tag; readers have no scroll button.

  2. The memory belongs to one reader in one browser. It is not written into the post. Another PC or phone starts from the tag.

  3. The tag sets how a card starts. A remembered change wins over the tag until the reader changes it again, or until the tag's own theme/show/hide words are edited. Then the tag wins again.

  4. Cards that show an attachment are remembered by post number and attachment ID. Other cards are remembered by post number, their position among that mod's cards in the post, and their title.

  5. Expand all / Collapse all act on the cards in their own group and remember each card.

  6. Choices readers have already saved are carried over, not reset:

    • LMV lmv_theme_card, lmv_card and lmv_open
    • LTV ltv_theme_card
    • listatt ise_misc_theme, with old listatt names mapped to their new names (coffee โ†’ dark-coffee and so on)

    They are read once as a fallback and never written again.

  7. listatt stops writing ise_misc_theme (see 3.1 item 4).

2.6 Word reader, pseudocode

read(value, mod):
v = lower(trim(value))
if v contains "theme-":
take the LONGEST theme name that follows "theme-" -> theme (unknown name -> red error listing all 69)
remove "theme-NAME" from v
if v contains "scroll-lg": take it -> scroll = large ; remove it
words = v split on "-" (empty pieces dropped; "attach-NN" kept together)
for each word:
scroll | noscroll -> scroll setting
show | open | hide -> start state
inline | autodisplay | noautodisplay | NUMBER | attach-NN -> form
lg -> red error "write scroll-lg"
anything else -> red error listing valid words
seen before, or the opposite already seen -> red error
return form, scroll, start state, theme

3. Findings: existing anomalies found while preparing (to be fixed by this build)

3.1 List

  1. lg not straight after scroll, or any unknown word, makes the card vanish silently. LMV shows the raw text, LTV shows nothing. Real SMF 2.1 parser, current LMV 4.7.4 and LTV 1.15.0:

    [lmv=inline-scroll-lg]              lmv-viewer-scroll-lg
    [ltv=inline-scroll-lg] ltv-viewer-scroll-lg
    [lmv=inline-lg-scroll] no card: line oneline two
    [ltv=inline-lg-scroll] no card: ""
    [lmv=lg-scroll-inline] no card: line oneline two
    [ltv=lg-scroll-inline] no card: ""
    [lmv=inline-scroll-open] no card: line oneline two
    [ltv=inline-scroll-open] no card: ""

    The lg rule was written into the code (LTVBBC.php:58: the "lg" must follow "scroll"). The test suites never tried any other position; the only scroll-lg case tested was inline-theme-$t-scroll-lg (LMV tests/build_page.php:43).

  2. Three private theme lists had drifted apart. listatt's came from the ISE theme stylesheet, and LTV copied LMV's in 1.10.0. Fifteen names have different colours in listatt than in LMV/LTV:

    ListAttBBC.php:2460   .listatt-box[data-theme="coffee"]   --la-bg: #2b2118    (dark)
    LMVBBC.php:741 .lmv-card[data-theme="coffee"] --lmv-bg: #fdfbf7 (light)

    Nothing crosses between mods today; each simply has its own copy.

  3. Autodisplay start state differed: LMV starts closed, LTV starts open. Resolved by rule 2.3.4.

  4. listatt's dropdown silently sets the ISE text viewer's default theme. listatt saves its choice under ise_misc_theme, the same storage key ISE_text_viewer.html (const ISE_THEME_KEY = 'ise_misc_theme') and ISE_help.html read as their default. Changing a listatt box therefore changes another program's default. The fix: listatt stops writing it.

  5. LMV's Expand all / Collapse all wipes every card's own saved Show/Hide on every post and replaces it with one setting for all posts. Resolved by rule 2.5.5.

  6. [lmv=autodisplay-theme-...] and typos do not do what they say. Any LMV value it does not recognise is read as "0", which shows the post's newest .md in place. Real SMF 2.1 parser, post 30:

    [lmv=autodisplay-theme-sepia] card title: nexus-8075.md     autodisplay switched on for post 30: no
    [lmv=autodsplay] card title: nexus-8075.md autodisplay switched on for post 30: no
    [lmv=autodisplay] card title: (no card) autodisplay switched on for post 30: yes

    A typo looks like it works. Resolved by rule 2.3.2 (red error) and 2.3.5 (theme on autodisplay).

  7. LTV never saves Show/Hide. Every page load resets it. Resolved by section 2.5.

  8. LMV autodisplay vanishes for minutes at a time (reported 21:28: "LMV didn't autodisplay and it keeps happening; to fix it I remove scroll and put it back").

    Cause: [lmv=autodisplay] works by leaving a note ("autodisplay is on for post N") while SMF parses the post. SMF keeps a copy of a parsed post for 4 minutes when the post is long (over 2,400 characters, or 1,000 at cache level 2 or higher) and took more than 0.05 seconds to parse. Every view in those 4 minutes gets the copy, the tag code never runs, the note is never left, and no .md cards are drawn. Editing the post changes its text, so the next view parses afresh and the cards come back. SMF 2.1's own code (Subs.php):

    2597  if ($cache_id != '' && !empty($cache_enable) && (($cache_enable >= 2 && isset($message[1000])) || isset($message[2400])) && empty($parse_tags))
    2602 if (($temp = cache_get_data($cache_key, 240)) != null)
    2603 return $temp;
    3855 if (isset($cache_key, $cache_t) && microtime(true) - $cache_t > 0.05)
    3856 cache_put_data($cache_key, $message, 240);

    Reproduced on the real SMF 2.1.6 test forum with LMV 4.7.4, cache on, a long post (post 30, one .md attachment); each line is a separate page view:

    --- view 1 (first view after the post is saved)
    [lmv=autodisplay-scroll] parse 107.9 ms autodisplay flag set: yes .md cards drawn under the post: 1
    --- view 2 (next visitor, within 4 minutes)
    [lmv=autodisplay-scroll] parse 0.9 ms autodisplay flag set: NO .md cards drawn under the post: 0
    --- view 3 (same)
    [lmv=autodisplay-scroll] parse 1.0 ms autodisplay flag set: NO .md cards drawn under the post: 0
    --- post edited: scroll removed
    [lmv=autodisplay] parse 111.6 ms autodisplay flag set: yes .md cards drawn under the post: 1
    --- post edited again: scroll put back
    [lmv=autodisplay-scroll] parse 1.1 ms autodisplay flag set: NO .md cards drawn under the post: 0

    The last line shows that putting the word back inside the 4 minutes brings back the earlier cached copy, so it fails again. It looks random because it depends on post length, server speed and timing. Scroll has nothing to do with it; any edit would have "fixed" it. LTV's autodisplay and [ltv=NNN] (which stops autodisplay drawing a file twice) use the same kind of note, so they have the same flaw. The PDF mod's autodisplay almost certainly does too (same design; its code is not in this build). listatt hit the same cache in 6.13 and fixed it its own way.

    Resolved by rule 2.3.8.

3.2 Design constraint confirmed (not a bug)

SMF removes the line breaks from a tag's output. This was seen on Live (LMV 4.7.2) and confirmed on SMF 2.1 here: LMV's 15,111-character style block came through with 0 line breaks. All shared CSS and script must therefore work as one line: no // comments, and every statement ends with ;.

3.3 LTV inline versus the viewer: BBCode comparison (done 2026-12-04, before anything moves)

Today [ltv=inline] draws its own <pre> box and passes the text through SMF's parse_bbc() (smileys off). Autodisplay and [ltv=NNN] use ISE_text_viewer.html 1.2 with Render BBCode on (&bbc=1), which has the search box. Read from LTVBBC.php 1.15.0 (renderInline()) and ISE_text_viewer.html 1.2 (parseBBC(), makeStyle(), wrapStyles()):

Point Inline today (SMF) Viewer 1.2
Tags rendered Every SMF tag, plus any installed mod's tag 11: b i u s sub sup color size url code nobbc
A tag it does not render (none) Shown exactly as typed; never dropped
Bare web address Made a link (if the forum's auto-link setting is on) Plain text
[url]www.x.com[/url] (no http://) Link; SMF adds http:// Shown as typed (needs http, https, ftp or mailto)
[code] SMF code block with its "Code: [Select]" header Inline monospace chip
[size] SMF's sizes 1 to 7, Npt, Npx (held between 8 and 48 px)
Search None Yes, on the text as shown
Raw / rendered switch None Yes, the reader can flip it
Safety SMF's own escaping All text escaped; only the 11 tags make HTML, each argument checked

SMF tags the viewer does not render (list from the SMF 2.1.6 test forum's Subs.php; Live 2.0.19's Subs.php is not in this workspace, so its list is unchecked): abbr acronym anchor attach bdo black blue br center email flash float font ftp glow green hr html img iurl justify left li list ltr me member move php pre quote red right rtl shadow table td time tr tt white youtube. Other mods' tags ([lmv], [pdf], [listatt] and so on) inside inline text also reach SMF today; in the viewer they show as typed.

Result: moving inline to the viewer as it stands loses the formatting of any tag outside the 11, and links made from bare addresses. Text is never lost. Decision 1.4 settles which tags the viewer learns.

Two design points for the build, both in 4.3:


4. Code Change (planned)

4.1 Collaborative 6.7 โ†’ 6.8

File Change
CollabCore/CollabThemes.php New, v1.0.0. Everything in sections 2.1 to 2.6.
CollabCore/CollabCore.php 2.3 โ†’ 2.4. Manifest gains 'CollabThemes' => '1.0'. Nothing else.
CollabCore/ISE_text_viewer.html 1.2 โ†’ 1.3. Accepts text handed in by the page (LTV inline) as well as a file. Learns any tags chosen in 1.4. File mode unchanged for its other callers (listatt, ISE MiscSearch.py).
package-info.xml 6.8. New <upgrade from="6.7"> blocks (2.0 and 2.1) that copy only the three files above; the 6.6 upgrade blocks also gain them. Full install unchanged (require-dir).
CollabCore-Themes-Manual.md New. Manual: rules, theme table, how to add a theme, version history.

4.2 LMV 4.7.4 โ†’ 4.8.0

File Change
LMVBBC.php Theme list, theme CSS, word reader and card script replaced by CollabThemes calls. Show/Hide on every form. Autodisplay theme word. Autodisplay switch read from the post's own text (rule 2.3.8). Button inserts the full tag via the shared side-by-side helper. Version banner 4.8.0.
lmv_check_collabcore.php Also requires CollabThemes โ‰ฅ 1.0.
package-info.xml, readme.md Version, description, history.
tests/ Rebuilt suite (section 5).
Unchanged register/unregister scripts, display patches and install scripts, language file, icons.

4.3 LTV 1.15.0 โ†’ 1.16.0

File Change
LTVBBC.php As LMV, including rule 2.3.8 for autodisplay and the [ltv=NNN] duplicate check. renderInline() draws the viewer frame instead of its own <pre> (3.3), sized by the scroll words. The viewer-frame colour table is generated from the shared table (checked: today's 44 entries follow one fixed rule from the card colours, so nothing changes). New integrateButton(). Version banner 1.16.0.
ltv_register.php, ltv_unregister.php Add/remove the editor-button hook on SMF 2.0.
package-info.xml Button hook on SMF 2.1; installs and removes ltv.gif and ltv.png in $imagesdir/bbc.
ltv.gif, ltv.png New, Andrew's icons.
ltv_check_collabcore.php Also requires CollabThemes โ‰ฅ 1.0 and Collaborative 6.8's viewer (1.3).
LTV_manual.md, CHANGELOG.md, readme.txt, tests/ Updated.

4.4 listatt 7.7.1 โ†’ 7.9.0

File Change
ListAttBBC.php Theme list and CSS from CollabThemes. Dropdown shows names; one box at a time; remembered per box; default tinted-indigo. Theme command accepts all 69. Detach (from the 7.8.0 build).
listatt_detach.php New, v1.0.0, already built and tested (section 5.3). Moves attachments to one holding post chosen once; deletes nothing; a nexus link needs two separate warnings.
listatt_check_collabcore.php Also requires CollabThemes โ‰ฅ 1.0.
package-info.xml, listatt_manual.md, readme.md, changelog.md Updated.

Why Detach moves files to a holding post rather than leaving them on no post: SMF's own Find and Repair deletes attachments that belong to no post.

4.5 Install order and dependencies

Collaborative 6.8 first, then LMV, LTV and listatt in any order. Each mod's check script refuses to install without CollabThemes 1.0, with a plain message, instead of installing and breaking at runtime.

4.6 Visible changes nobody asked for (listed before building)

  1. [lmv=autodisplay-theme-x] now switches autodisplay on in that theme, instead of showing the newest .md in place. [ltv=autodisplay-theme-x] now works instead of giving a red error.
  2. Typos and unknown words in LMV/LTV tags give a red error, instead of vanishing or showing the newest .md.
  3. lg anywhere except in scroll-lg is an error, including [lmv=autodisplay-lg-scroll], which 4.7.4 accepted (Andrew's decision, 19:15).
  4. LTV autodisplay cards start closed. They started open since 1.12.0.
  5. A listatt box whose theme command names one of the 15 shared names (e.g. [listatt_theme_coffee]) shows the shared colours. Use the new name to keep the old look. Theme commands only exist since 7.7.0 (2026-12-03).
  6. listatt's dropdown changes only its own box; before, it changed every untagged box on the page.
  7. Dropdown entries are names, alphabetical; they were labels in a hand-picked order.
  8. Show/Hide buttons appear on LMV link, ID and attach cards and on LTV ID cards only when the tag says show or hide.
  9. LTV inline text is drawn by the viewer: it gains search and the Render BBCode switch; tags outside the viewer's set (after decision 1.4) show as typed instead of formatted, [code] becomes a monospace chip, bare web addresses stay plain text.

5. Test plan (all automated, run by Claude)

5.1 Before delivery

  1. Every word order: for every form and every combination of scroll, Show/Hide and theme words, all orders are generated and must give an identical card. This replaces the hand-picked samples that missed lg (3.1 item 1).
  2. Every theme in all three mods: each of the 69 reaches the card's data-theme, and its CSS block exists with all its colours.
  3. No function loss: every tag that worked in LMV 4.7.4 and LTV 1.15.0 is run through both old and new code. The results are compared on these points: card drawn or not, title, body text, theme, scroll class, Show/Hide state, error text. They must match except for the listed changes (4.6).
  4. Colours preserved: the generated CSS for each mod matches the old CSS colour for colour, for every theme that existed before.
  5. Real SMF 2.1.6 test forum: posts rendered through the real parse_bbc(), then opened in a browser and clicked:
    • dropdown, all-themes grid, Show/Hide, Expand all / Collapse all
    • reload: the choice is remembered
    • tag edited: the tag wins
    • old saved keys present: they are carried over
    • LTV frame colours follow the card
    • every page is also checked with its line breaks removed, as Live serves it
  6. listatt: the 7.8.0 comparisons, click tests and endpoint tests are repeated on 7.9.0.
  7. Editor: the toolbar built by SMF 2.1 with both mods holds LMV and LTV side by side, in both install orders, with the right insert text.
  8. Autodisplay under SMF's parse cache: the reproduction in 3.1 item 8 is re-run with the new LMV and LTV. Every view must draw the cards: first view, cached views, after an edit, and after putting a word back.

8a. LTV inline in the viewer: every inline tag form from 1.15.0 still draws a card; the text inside the frame equals the old text (characters, line breaks, runs of spaces); search finds words in inline text; the Render BBCode switch works; each tag chosen in 1.4 renders; heights follow the scroll words; checked with line breaks removed, as Live serves it. 9. Packaging:

5.2 Not testable here

SMF 2.0.19 (Live's fork). No 2.0 source is available in this workspace. 2.0-only pieces (ltv_register.php, the 2.0 button hook) are checked by reading and lint only. First install on a 2.0 test system is the real check.

5.3 Already done (listatt Detach, 7.8.0 build, re-run 2026-12-04 on this workspace)

identical: 324  expected Detach differences: 36  unexpected: 0
29 passed, 0 failed (click tests)
30 passed, 0 failed (endpoint tests: listatt_detach.php)

6. Risk Analysis

# Risk Guard
R1 A tag form that works today stops working Old-versus-new comparison of every form (5.1.3); listed changes only
R2 A word order breaks a card Every order generated and tested (5.1.1)
R3 Live joins lines and breaks a script One-line-safe output; pages tested with line breaks removed (3.2, 5.1.5)
R4 Readers lose their saved choices Old keys read as fallback, tested with old data present (2.5.6)
R5 A mod installed before Collaborative 6.8 Check scripts refuse to install (4.5)
R6 PHP syntax newer than Live's 7.3.25 Scan before delivery (5.1.8)
R7 SMF 2.0 differences not caught here 2.0 pieces read and linted; first install on a 2.0 test system (5.2)
R8 Remembered settings belong to one reader in one browser, not the post. Changing your own dropdown does not change what others see. Documented; edit the tag to change it for everyone (2.5.2)
R9 Inline cards are remembered by position, so inserting a card above one can move its memory to the wrong card Attachment cards use the attachment ID; editing a tag resets that card (2.5.3, 2.5.4)
R10 Page weight: every card carries the CSS for all 69 themes (LMV already does for 45) Accepted for now; one cached theme file in CollabCore is the later fix
R11 Five near-twin themes are hard to tell apart in the dropdown Accepted: no theme may be omitted; the grid shows them side by side
R12 Reading the switch from the post text costs one small database lookup per post that has .md/.txt attachments Looked up by message number (the table's key), only when such a post is drawn
R13 The PDF mod keeps the same cache flaw Out of this build; listed in section 7
R14 Inline formatting from tags the viewer doesn't render is lost Never the text itself; tag list settled from real posts (1.4); listed change 4.6.9
R15 Viewer frames sized wrongly (cut off, or a frame inside a scroll box) Height rules in 3.3; tested per scroll word (5.1.8a)

7. Out of scope (separate jobs)

  1. ISE: some multimedia types can't be found by extension. *.mp3, *.m4a, *.wav, *.flac, *.ogg, *.aac, *.wma, *.mp4, *.webm, *.3gp and the common image types work in Media search (ISE 10.6). These types are catalogued by neither indexer, so a search such as *.mov finds nothing:

    MediaIndexer.py:247  WHERE LOWER(fileext) IN ('mp4', 'webm', '3gp', 'jpg', 'jpeg', 'png', 'webp', 'avif', 'gif', 'mp3', 'wav', 'm4a', 'flac', 'ogg', 'aac', 'wma')
    MiscIndexer.py BINARY_EXTENSIONS = { ... "mov", "avi", "mkv", "flv", "wmv", "mpg", "mpeg", "m4v", "bmp", "tif", "tiff", "ico", "psd", "svg", "heic", ... }
  2. One cached theme file in CollabCore instead of CSS repeated in every card (R10).

  3. PDF autodisplay: almost certainly has the same parse-cache flaw as LMV (3.1 item 8). Once LMV and LTV use the shared switch reader, PDF can use it too; send the PDF package when wanted.

  4. Live's SMF 2.0.19 Sources/ and Themes/default/ as a zip, for a 2.0 test forum (5.2) and Live's exact tag list (3.3).

  5. Next ISE package: carries indexall and gives it an entry in the manual's ยง5.1 (section 8).


8. Also done in this chat: ISE 10.7 to 10.9 and indexall

All delivered and tested; nothing pending except item 5 of section 7.

Delivery What it does
ISE_v10.7.zip MegaIndexer.sh 1.0.0: the three indexers (posts, PDF, text) run at the same time instead of one after another, same commands as before. One run at a time (lock /tmp/megaindexer.lock), nice 10, a log each in ISE_Data (megaindexer_posts.log, _pdf.log, _misc.log), a one-line result each, exit status 1 if any failed, --version, runs from any folder. Ctrl-C or a closed terminal stops the report only; the indexers run to the end.
ISE_v10.8.zip MegaIndexer.sh 1.1.0: their output live on the screen, each line labelled [posts], [pdf] or [misc] (the logs, followed with tail). Manual Master v9.2.
ISE_v10.9.zip MegaIndexer.sh 1.1.1: the end summary shows each indexer's own result line (ISE rebuild complete: N posts, N unique words, Indexed N pages across N PDFs., Indexed: N) instead of its log's last line, which for PDF was always pypdf: 0 total, 0 unique and for misc was a log path. A failed job still shows its last line (the error). Manual Master v9.3.
indexall_v1.0.0.zip Andrew's indexall, two faults fixed: a stray 0 passed catto the Python script as arguments, so the classification list was written but never shown; and one failed indexer stopped the whole run because ofset -e` (now reported and the run carries on; a MediaIndexer failure still stops it). Version line added.

Facts to carry forward:


9. Starting the fresh chat

Bring:

  1. This checkpoint (checkpoint_DM2S-NX_shared_themes_2026-12-04_3.md), with the review result and decision 1.4.
  2. The four packages: Collaborative_v6.7.zip, lmv_bbcode_v4.7.4.zip, ltv_bbcode_v1.15.0.zip, listatt_bbcode_v7.7.1.zip, plus the icons ltv.png and ltv.gif.
  3. DM2S-NX_carryover_v1.0.zip: work that exists only in this chat's workspace. The listatt 7.8.0 Detach tree (the only copy of the built and tested Detach code; a work tree for 7.9.0, not a package to install), the MegaIndexer test harness, and the parse-cache reproduction and test-forum scripts. Its README.md says what each part is.
  4. Optional: Live's 2.0.19 Sources/ and Themes/default/ (section 7 item 4).

First step there: Collaborative 6.8 (CollabThemes.php, viewer 1.3), then LMV, LTV and listatt, then the tests in section 5.


End of checkpoint. On approval, the build starts with Collaborative 6.8.