New custom work requests are now on hold until after IP.Board 4. Register your future interest for custom work here.

Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Mar 24 2012 04:57 PM
  • Date Updated: Mar 25 2012 10:09 AM
  • Views: 1786
 


[3.3.X] Restoring Skin Changing Function

This will help restore the skin changing function after the 3.2 Upgrade to 3.3.X

Posted by Chris M. on Mar 24 2012 04:57 PM
After upgrading to 3.3.0, you may notice that the skin change links in the 'Change Theme' drop down don't work.

To fix this:

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

Exchange 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']}&amp;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']}&amp;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']}&amp;k={$this->member->form_hash}&amp;settingNewSkin={$skin['id']}" base="public"}'>{$skin['title']}</a>
																																					</li>
																													</foreach>
																					</ul>
													</li>
					</if>
</if>

With this one
<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>

Powered by Tutorials 1.5.1 © 2014, by Michael McCune