This topic was marked solved by Nao, on October 18th, 2014, 08:28 PM
Skin Selector in Main Menu
Skin Selector in Main Menu
« on October 10th, 2014, 07:08 PM »
Skin Selector in Main Menu under Profile.
If skin selection is turned off, this still shows.

I see why, there is nothing about the setting in the show part in the code: Subs.php

Code: [Select]
'skin' => array(
'title' => $txt['change_skin'],
'href' => 'http://wedge.org/do/skin/',
'show' => allowedTo(array('profile_extra_any', 'profile_extra_own')),
),
'',

Seems it should be something like:


Code: [Select]
'skin' => array(
'title' => $txt['change_skin'],
'href' => 'http://wedge.org/do/skin/',
'show' => allowedTo(array('profile_extra_any', 'profile_extra_own') && empty($settings['theme_allow'])),
),
'',

However, that leaves the line below it still showing.


Also, I wonder, is there any real reason to keep this in the menu?
If skin selection is enabled, then there's the drop down selector in sidebar.

Nao

  • Dadman with a boy
  • Posts: 16,082


CerealGuy

  • Posts: 343

Re: Skin Selector in Main Menu
« Reply #4, on October 11th, 2014, 10:39 PM »
Thought you did...LOL
Shows how often I leave set to let members change theme....LOL