MyBB Community Forums

Full Version: Edit userCP sidebar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'd like to modify some code to my adjustment, could someone tell me where? I can't seem to find it in usercp or usercp2

Thank you.
Admin CP -> Templates & Style -> Templates -> *Theme* -> User CP Templates -> usercp_nav

There are also these sub templates:
  • usercp_nav_changename
  • usercp_nav_editsignature
  • usercp_nav_messenger
  • usercp_nav_misc
  • usercp_nav_profile
Its hardcoded in the files.
Best bet would be make the sidebar yourself by copying the source, remove the old variable, and modify it as per your likes.
Well if you guys wanted to know, I just want to remove the fact that it makes the "change signature" link disapear if your account has been revoked for using sigs, I want to keep it on the nav but make it show an error. I've already made it show an error, I just need it to stay on the nav
Admin CP -> Templates & Style -> Templates -> *Theme* -> User CP Templates -> usercp_nav_profile
Find:
{$changesigop}

Replace:
<div><a href="usercp.php?action=editsig" class="usercp_nav_item usercp_nav_editsig">{$lang->ucp_nav_edit_sig}</a></div>
Worked, thank you.
You're welcome. Smile