Jump to content
WebFlake
  • 0

How to remove the option "Change Theme" to all members.


Guest xeniumatics

Question

Guest xeniumatics

Hello,

 

I would like to know that how to remove the option "Change Theme" from the footer of IP Board? I do not want to give members the option of changing themes for themselves, just to avoid any unnecessary load on the server.

 

I know that there is a way to removing the variables used for each function, but i do not know which variable is used for this and how to search for it, the code is very messy!..

 

Thank you.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

If you wanted to do it via codes, edit templates > GlobalTemplates

 

find:

<if test="skinchangerInner:|:count($footer_items['skin_chooser']) > 1">                                <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>

 

Remove that or add the <!-- --> Tags

  • Upvote 2

Achievements:

February 14 2013 - Joined WebFlake & Became Moderator.
March 26 2013 - Became a Dad of 1 kid.
April 8 2015 - Became a Dad of 2 kids.
July 15 2015 - Retired as a Moderator.
November 11 2016 - Passed my Car Driving Licence.
April 13 2017 - Became apart of the Junior Moderator Team.

Link to comment
Share on other sites

  • 0
Guest xeniumatics

If you make all themes except the one you want them to use hidden (or don't give their groups permission to use) it shouldn't show up.

Thank you for responding. Making the unwanted themes hidden will still show this option and showing the option "Change Theme" and not giving any themes to choose from is not that pro. And group permission only has permission about how they can interact within a section of the forum, nothing about the accessibility.

 

If it is not possible through admin cp then can can someone kindly tell where i can remove it within the codes, i mean which file?

Link to comment
Share on other sites

  • 0
Guest xeniumatics

If you wanted to do it via codes, edit templates > GlobalTemplates

 

find:

<if test="skinchangerInner:|:count($footer_items['skin_chooser']) > 1">                                <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>

Remove that or add the <!-- --> Tags

U R AWESOME!

 

I always prefer code, better and clean.

Link to comment
Share on other sites

  • 0

Glad I could help.

The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic.

Achievements:

February 14 2013 - Joined WebFlake & Became Moderator.
March 26 2013 - Became a Dad of 1 kid.
April 8 2015 - Became a Dad of 2 kids.
July 15 2015 - Retired as a Moderator.
November 11 2016 - Passed my Car Driving Licence.
April 13 2017 - Became apart of the Junior Moderator Team.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...