Administrators Nathan Posted March 28, 2012 Administrators Posted March 28, 2012 After upgrading to IP.Board 3.3 I noticed that the skin change links in the "Change Theme" drop down didn't work anymore. Here is the fix: 1. Log into your Admin CP 2. Click on "Look and Feel" > "Manage Template Sets" 3. Click on the name of the template set you wish to edit 4. In the left hand menu, select 'globalTemplate' under 'Global Templates' 5. In the HTML code, scroll down until you see the following code right at the end of the template Find this code in the current template: <if test="skinchanger:|:count($footer_items['skin_chooser']) > 1"> <if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']"> <li id='useragent_msg'> {$this->lang->words['skin_browser_set']} <a href='{parse url="{$this->settings['query_string_formatted']}&unlockUserAgent=1" base="public"}'>{$this->lang->words['override_browser_theme']}</a> </li> <else /> <if test="isTouchDevice:|:$this->registry->output->isTouchDevice()"> <li> <a href='{parse url="{$this->settings['query_string_formatted']}&setAsMobile=1" base="public"}'>{$this->lang->words['set_mobile_theme']}</a> </li> </if> <li> <a rel="nofollow" id='new_skin' href='#'>{$this->lang->words['change_theme']}</a> <ul id='new_skin_menucontent' class='ipbmenu_content with_checks' style='display: none'> <foreach loop="$footer_items['skin_chooser'] as $skin"> <li <if test="$skin['selected']">class='selected'</if>> <a href='{parse url="{$this->settings['query_string_formatted']}&k={$this->member->form_hash}&settingNewSkin={$skin['id']}" base="public"}'>{$skin['title']}</a> </li> </foreach> </ul> </li> </if> </if> Replace with this code: <if test="skinchanger:|: ! $this->member->is_not_human && count($footer_items['skin_chooser']) > 1"> <if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']"> <li id='useragent_msg'> {$this->lang->words['skin_browser_set']} <a href='#' data-clicklaunch='changeSkin' data-skinid='unlockUserAgent'>{$this->lang->words['override_browser_theme']}</a> </li> <else /> <if test="isTouchDevice:|:$this->registry->output->isTouchDevice()"> <li> <a href='#' data-clicklaunch='changeSkin' data-skinid='setAsMobile'>{$this->lang->words['set_mobile_theme']}</a> </li> </if> <li> <a rel="nofollow" id='new_skin' href='#'>{$this->lang->words['change_theme']}</a> <ul id='new_skin_menucontent' class='ipbmenu_content with_checks' style='display: none'> <foreach loop="$footer_items['skin_chooser'] as $skin"> <li <if test="$skin['selected']">class='selected'</if>> <a href='#' data-clicklaunch='changeSkin' data-skinid='{$skin['id']}'>{$skin['title']}</a> </li> </foreach> </ul> </li> </if> </if> Quote
DarkGizmo Posted March 29, 2012 Posted March 29, 2012 Thanks for the fix man. This is definitely helpful for when I upgrade. Seems like they don't fully test their releases anymore......Pretty sure I'm gonna wait til 3.3.3 before upgrading. Quote
Administrators Nathan Posted March 30, 2012 Author Administrators Posted March 30, 2012 They do test, but pretty much always going to find a few bugs that make it through I guess. Not a big deal for me though. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.