Hi guys, just a quick question...what template or how do I rearrange the sections in the USER CP nav menu? I want to move Alerts and Bankpipe subscriptions down the list and keep messenger up top.
"User Control Panel Templates":
usercp_nav[_*]
[ExiTuS]
(2019-10-31, 01:03 PM)[ExiTuS] Wrote: [ -> ]"User Control Panel Templates":
usercp_nav[_*]
[ExiTuS]
That was my first guess but the tabs I am looking for aren't in there...
<td width="240" valign="top" class="adjst">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="background: none !important;">
<tbody>
<tr>
<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
</tr>
{$ucp_nav_home}
</tbody>
{$usercpmenu}
</table>
</td>
The sort order is set in inc/functions_user.php
// Add the default items as plugins with separated priorities of 10
if($mybb->settings['enablepms'] != 0 && $mybb->usergroup['canusepms'] == 1)
{
$plugins->add_hook("usercp_menu", "usercp_menu_messenger", 10);
}
if($mybb->usergroup['canusercp'] == 1)
{
$plugins->add_hook("usercp_menu", "usercp_menu_profile", 20);
$plugins->add_hook("usercp_menu", "usercp_menu_misc", 30);
}