Subj : Theme/prompt fallbacks and their variables in theme.ini
To : g00r00
Date : Tue Jul 06 2021 10:19 am
Hello again, g00r00!
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:
۲gj!
I then edited it to the following (using the Theme/Prompt Editor, not any
text editor):
۲gj!
Then exiting (Esc) and re-entering, it shows:
۲gj!
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.
; 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
--- Mystic BBS v1.12 A47 2021/07/03 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)