Solved: 8 Years, 2 Weeks ago Theme Select In Welcomeblock
#1
Solved: 8 Years, 2 Weeks ago
Hey there!!

I'm curious to know how to get theme select working in the Header --> Welcomeblock areas. 

I've simply inserted the general variable for theme select but alas it does not show.
{$theme_select}

Any tips on how to get this to work?

Thanks!

http://everfrost-rpg.com/forum/index.php
Reply
#2
Solved: 8 Years, 2 Weeks ago
Just going to bump this in case someone who knows the answer hasn't seen this.
Reply
#3
Solved: 8 Years, 2 Weeks ago
In global.php find this code:


// Are we showing the quick theme selection box?
$theme_select = $theme_options = '';
if($mybb->settings['showthemeselect'] != 0)
{
	$theme_options = build_theme_select("theme", $mybb->user['style'], 0, '', false, true);

	if(!empty($theme_options))
	{
		$theme_redirect_url = get_current_location(true, 'theme');
		eval('$theme_select = "'.$templates->get('footer_themeselect').'";');
	}
}


move the whole code upwards and paste it below this line:


$plugins->run_hooks('global_intermediate');
Reply
#4
Solved: 8 Years, 2 Weeks ago
Works thanks!! Smile
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)