This will have to be done once the control panels (in general) have been moved.
However, the discussion can already be started, so here we are.
Currently there are quite a few modes that belong to the UCP, which do not really belong there.
There are quite a few exceptions coded to make these modes work within the UCP, and prevents a regular 'straight-forward' approach.
The modes in question are:
- Should not be displayed in the UCP menu
All these modes are more 'functions', rather than modules within UCP. And all these modes are not listed within the UCP menu's.
- The UCP Indicator is incorrect
Within the (currently
ucp.php) control panel there is an indicator to indicate that "we are inside the UCP", which can be used by style authors. But as stated above, that is not correct. These are not listed in the UCP menu's, nor do the pages for these modes show the actual control panel.
- Not logged in
For all 'common' modes within the user control panel, there is a base requirement that the user is a registered user and logged in. However, for the modes listed above, for a lot of them, this is not a requirement. Or better yet, the user has to be logged out instead.
- Possibly more, but can't remember them right now.
Anyways, the point is, that it prevents a clean approach for the ucp, as exception upon exception, if statement upon if statement has to be created to filter out these modes and allow them to be accessed.
It would make a lot more sense in my eyes, to make these modes part of a separate 'directory', not control panel as that's not fitting. I would suggest adding all of them to the
/account/route. And then we can handle each mode invididually if necessary and have a clean way to handle the UCP.