MyBB Community Forums
[Deprecation] Template obsolete!? - modcp_editprofile_away - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: Suggestions and Feedback (https://community.mybb.com/forum-199.html)
+--- Thread: [Deprecation] Template obsolete!? - modcp_editprofile_away (/thread-226902.html)



Template obsolete!? - modcp_editprofile_away - [ExiTuS] - 2020-03-17

The template modcp_editprofile contains a variable {awaysection}
{awaysection} takes the template usercp_profile_away (modcp.php line 2942 (v1.8.22)).

There is a template named modcp_editprofile_away which seems to be the originary one for the {awaysection} - but it is not used at all and obsolete.

My suggestion:
- Either the modcp_editprofile_away is chosen for the {awaysection} to be separated from modcp_profile_away. Then the "eval ..." has to be changed in modcp.php...
- Or this template can be completely removed from set.

[ExiTuS]