Former Member
inherit
guest@proboards.com
131621
0
Nov 27, 2024 17:26:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 12, 2013 18:54:26 GMT -8
1. Go to Admin > Themes > Layout Templates > User Profile 2. Find: {foreach $[menu]}<li{if $[menu.active]} class="ui-active"{/if}> <a href="$[menu.href]" style="display: none;">$[menu.text]</a> <a href="$[menu.href]">$[menu.text]</a></li>{/foreach} 3. Change it to: {foreach $[menu]}<li{if $[menu.active]} class="ui-active"{/if}> {if $[menu.text] == "NAME OF TAB"} <a href="$[menu.href]" style="display: none;">$[menu.text]</a> {else} <a href="$[menu.href]">$[menu.text]</a>{/if}</li>{/foreach} 4. Where it says NAME OF TAB, put the name of the tab you want removed, such as Following or Activity. 5. If you want to remove more than one, do so like this {foreach $[menu]}<li{if $[menu.active]} class="ui-active"{/if}> {if $[menu.text] == "NAME OF TAB" || $[menu.text] == "NAME OF TAB 2"} <a href="$[menu.href]" style="display: none;">$[menu.text]</a> {else} <a href="$[menu.href]">$[menu.text]</a>{/if}</li>{/foreach} 6. You can repeat that above (adding || $[menu.text] == "NAME OF TAB") for each tab you want removed. Important information: Note they can still access the tab by directly typing out the URL. I'm not positive but I believe removing the Gift tab is against TOS so don't do it =) Find any glitches, let me know
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 27, 2024 17:26:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 19, 2013 11:18:03 GMT -8
UPDATED: Fixed some typos in the code. My bad.
|
|