12-29-2023, 02:44 PM
This post has been hidden based on your content filter selections.
If you're using MyBB, presumably you are comfortable with some code-related fiddling! There are a couple of steps to take in file manager to get this skin working just right.
By default, the quick theme select dropdown can only be in the footer. To render the template outside of the footer:
in global.php, find
cut and paste above, in line 950:
You can now move the quick theme selector wherever you want!
By default, the quick theme select dropdown can only be in the footer. To render the template outside of the footer:
in global.php, find
Code:
// Are we showing the quick theme selection box?
$theme_select = $theme_options = '';
if($mybb->settings['showthemeselect'] != 0)
{
...
}cut and paste above, in line 950:
Code:
}
(LINE 950) // PASTE THIS CODE HERE
$jsTemplates = array();
foreach (array('modal', 'modal_button') as $template) {
eval('$jsTemplates["'.$template.'"] = "'.$templates->get($template, 1, 0).'";');
$jsTemplates[$template] = str_replace(array("\n","\r"), array("\\\n", ""), addslashes($jsTemplates[$template]));
}You can now move the quick theme selector wherever you want!
(This post was last modified: 12-29-2023, 02:47 PM by gist.)
