TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-07-04 12:49:00
subject: Theme/prompt fallbacks an

Hello again, g00r00!

Just wanted to check with you how the theme/prompt fallbacks are to be configured. I'm running the latest x86_64 prealpha ()

On my board, I have "scbbs_en" as the Default Theme for new users. The intention is to inherit anything not explicitly overridden from the stock theme (the theme directory named "default").

From this, and the comments present in theme.ini, I think I should set:

        Def_Prompt = false
        Def_Text = false
        Def_Menu = false
        Def_Script = false

        Prompt = default
        Text = default
        Menu = default
        Script = default

The false values for Def_* would be to avoid any circular dependencies, as scbbs_en is the Default Theme and certainly annot load any missing prompts from itself.

But there seems to be something going on when entering and then exiting from the Theme/Prompt Editor.

A Def_* value of true displays as Fallback: Yes in the Theme/Prompt Editor,
but after exiting, the value gets emptied (and is then shown as Fallback:
No).

Choosing a theme e.g. for Inherit Prompts appears to set this for both Def_Prompt and Prompt (after exiting the Theme/Prompt Editor).

The values of the Prompt, Text, Menu and Script variables (at least as displayed by the Theme/Prompt Editor) seem to override any values of the Def_Prompt, Def_Text, Def_Menu and Def_Script variables.

How do all these variables relate to each other, and how are they intended to be used?

Many thanks in advance!

Best regards
Bj”rn

--- Mystic BBS v1.12 A47 2021/07/03 (Linux/64)
                                                   
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.