Open Jimmi08 opened 1 year ago
Solved with custom plugin. Not needed anymore. Invalid issue.
Reopening as this could definitely use some clean up
@Moc I am moving this topic to the discussion because this is not a single issue... As soon as I do it, I will close this again, But true is, that you should create your own issue if you want to solve this.
I'm leaving this as an issue because I just confirmed the need for clean up. The discussion board is not monitored as closely so please keep it centralised here.
Moreover, your issue reports also benefit others. Just link to discussion topics from here.
Motivation
To clean and simplify membersonly templating See https://github.com/e107inc/e107/issues/4349
Proposed Solution
Use only membersonly template
Example:
Unify to check where to use it (it is already done in signup file:
in login.php
$template = e107::getCoreTemplate('membersonly','login');
in fwp.php$template = e107::getCoreTemplate('membersonly','fwp');
test legacy theme by THEME_LEGACY not by BOOTSTRAP constant
Additional Context
I don't ask for change now, there is a lot of legacy code.
I want to know if this can be correct/approved approach and I can continue this way.
For signup it is only template source change. For login it is about adding check and correct legacy test For fpw - it is full of legacy stuff,
Thanks