MyBB Community Forums

Full Version: Edit User-CP navbar options?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I wanted to add a custom link in between the current existing links on the left nav-bar of the User CP (Edit Options, Edit Password, Group Memberhsips) etc etc etc.

Which template can I find this in?

Thanks.
ACP > Templates > Your theme' templates > User Control Panel Template > usercp_nav_profile > and find;
<tr><td class="trow1 smalltext"><a href="usercp.php?action=options" class="usercp_nav_item usercp_nav_options">{$lang->ucp_nav_edit_options}</a></td></tr>
and Add the following code just after that;
<tr><td class="trow1 smalltext"><a href="URL_GOES_HERE" class="usercp_nav_item usercp_nav_options">Name of Link</a></td></tr>

You've to edits its class in User Control panel CSS in your theme's edit page.