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

Hello again, g00r00!

On 06 Jul 2021, Bj”rn Wiberg said the following...
 BW> Many thanks for the detailed explanation!  I'll upgrade to the very
 BW> latest prealpha and let you know if I spot anything strange.

It appears that I was already at the latest prealpha, though:

87db0ca435a6f0ab106ec1c44eaf612e  install_data.mys

Maybe the (even more) updated builds didn't make it to the online prealpha
directory for some reason?

Anyway, I tried copying a fresh stock theme.ini (from the themes/default
directory, which I have copied from a fresh prealpha stock installation) to
my themes/scbbs_en directory, then entering the Theme/Prompt Editor:

    Ûßßßßßßßßßßßßßßßßßßßßßßßßßß Theme: scbbs_en ßßßßßßßßßßßßßßßßßßßßßßßßßßÜ
    Û                                                                     Û
    Û  Description     ³ Default                        1: Prompts        Û
ÜÜ  Û  Author          ³ g00r00                         2: Menus         
Û²gj!
 ÛÛÜÛ  Group           ³ Mystic BBS                     3: Options        ÛÛÜÜ
 °ÛÛÛ  Contact         ³ www.mysticbbs.com              4: Display Files 
ÛÛÛ±þ
ß ²ÛÛ                  ³                                5: Templates     
ÛÛÛÛÛ
² ±²Û  Display Order   ³ 1                              6: Percent Bars   Û²°
²
ß Û°Û  List ACS        ³                                7: Box Style 1    ÛÛ°
²
°°²ÛÛ  Font Mode       ³                          8: Box Style 2    Û
ÜÜÛ
ÜÜþ Û  Color Mode      ³                          9: Box Style 3    Û
Û°°
    Û                  ³                     Fallback   0: Box Style 4    Û ßÜ
    Û  Inherit Prompts ³                > Yes                       Û
    Û  Inherit Text    ³                > Yes                       Û
    Û  Inherit Menus   ³                > Yes                       Û
    Û  Inherit Scripts ³                > Yes                       Û
    ßÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ

I then edited it to the following (using the Theme/Prompt Editor, not any
text editor):

    Ûßßßßßßßßßßßßßßßßßßßßßßßßßß Theme: scbbs_en ßßßßßßßßßßßßßßßßßßßßßßßßßßÜ
    Û                                                                     Û
    Û  Description     ³ Star Collision BBS (English)   1: Prompts        Û
ÜÜ  Û  Author          ³ Bj”rn Wiberg (Zip)             2: Menus         
Û²gj!
 ÛÛÜÛ  Group           ³ Star Collision BBS             3: Options        ÛÛÜÜ
 °ÛÛÛ  Contact         ³ https://scbbs.nsupdate.info/   4: Display Files 
ÛÛÛ±þ
ß ²ÛÛ                  ³                                5: Templates     
ÛÛÛÛÛ
² ±²Û  Display Order   ³ 1                              6: Percent Bars   Û²°
²
ß Û°Û  List ACS        ³                                7: Box Style 1    ÛÛ°
²
°°²ÛÛ  Font Mode       ³                          8: Box Style 2    Û
ÜÜÛ
ÜÜþ Û  Color Mode      ³                          9: Box Style 3    Û
Û°°
    Û                  ³                     Fallback   0: Box Style 4    Û ßÜ
    Û  Inherit Prompts ³ default              > Yes                       Û
    Û  Inherit Text    ³ default              > Yes                       Û
    Û  Inherit Menus   ³ default              > Yes                       Û
    Û  Inherit Scripts ³ default              > Yes                       Û
    ßÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ

Then exiting (Esc) and re-entering, it shows:

    Ûßßßßßßßßßßßßßßßßßßßßßßßßßß Theme: scbbs_en ßßßßßßßßßßßßßßßßßßßßßßßßßßÜ
    Û                                                                     Û
    Û  Description     ³ Star Collision BBS (English)   1: Prompts        Û
ÜÜ  Û  Author          ³ Bj”rn Wiberg (Zip)             2: Menus         
Û²gj!
 ÛÛÜÛ  Group           ³ Star Collision BBS             3: Options        ÛÛÜÜ
 °ÛÛÛ  Contact         ³ https://scbbs.nsupdate.info/   4: Display Files 
ÛÛÛ±þ
ß ²ÛÛ                  ³                                5: Templates     
ÛÛÛÛÛ
² ±²Û  Display Order   ³ 1                              6: Percent Bars   Û²°
²
ß Û°Û  List ACS        ³                                7: Box Style 1    ÛÛ°
²
°°²ÛÛ  Font Mode       ³                          8: Box Style 2    Û
ÜÜÛ
ÜÜþ Û  Color Mode      ³                          9: Box Style 3    Û
Û°°
    Û                  ³                     Fallback   0: Box Style 4    Û ßÜ
    Û  Inherit Prompts ³ default              > No                        Û
    Û  Inherit Text    ³ default              > No                        Û
    Û  Inherit Menus   ³ default              > No                        Û
    Û  Inherit Scripts ³ default              > No                        Û
    ßÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ

Notice the "reverted" Fallback: No.

Looking at theme.ini, it shows:

[Fallback]

        ; Fall back to the "default" theme if there is a missing prompt, text,
        ; menu or script (true or false).  Each theme can also fallback to
        ; specific themes using the options below.

        Def_Prompt = default
        Def_Text = default
        Def_Menu = default
        Def_Script = default

        ; Theme fallback associations: Specify theme directory as its named in root
        ; theme directory. Example: To fallback to theme in /mystic/themes/mytheme
        ; specify "mytheme" (without quotes) as the fallback.

        ; If set to a theme directory name, Mystic will attempt to load any prompts
        ; that are not defined in this theme from another theme, before ultimately
        ; loading the default prompt if no other is found.

        Prompt = default

        ; If set to a theme directory, Mystic will attempt to look at the theme for
        ; display files and template configurations, if they are not found as part
        ; of this theme.

        Text = default

        ; If set to a theme directory, Mystic will attempt to look at the theme for
        ; menu files if the menu file is not found as part of this theme.

        Menu = default

        ; If set to a theme directory, Mystic will attempt to look at the theme for
        ; script files if the script file is not found as part of this theme.

        Script = default

So it appears the Def_* do not get set to "true" but rather to "default" (my
choice of theme fallback). However the Prompt, Text, Menu, Script all appear
to be set correctly (to "default").

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™.