Skin Selector in User Setting
Solved
Technical Support
-
Hi @baris, is it possible to only show the custom skins in Skin Selector in User Settings?
-
There is no built in way to remove them. You can get rid of them with some custom JS in the acp. Replace
myskin
&myskin2
with your custom skin names or add more if necessary.$(window).on('action:ajaxify.end', () => { if (ajaxify.data.template['account/settings']) { const mySkins = ['', 'noskin', 'myskin', 'myskin2']; $('#bootswatchSkin option').each((i, el) => { if (!mySkins.includes($(el).val())) { $(el).remove(); } }); } });
This code results in
-
@baris it worked, flawlessly! Thank you!
-
Copyright © 2024 NodeBB | Contributors