@askvortsov i think i'm coming to solution all alone, can u check if is correct?
extend.php:
(new Extend\Settings())->serializeToForum('hideHomeBox', 'justoverclock-guestengagement.hide.homebox', 'boolval', true),
in admin.js:
app.extensionData.for('justoverclock-guestengagement').registerSetting({
setting: 'justoverclock-guestengagement.hide.homebox',
label: app.translator.trans('justoverclock-guestengagement.admin.setvisible'),
type: 'boolean',
});
on frontend i can use a condition:
if (app.forum.attribute('hideHomeBox') === true)
this works fine for me, is the logic correct? (i'm excited) π