Images
Images
Images
Images
Fix (problem) with standalone login page (after cca 13.2.)

Images
You can't use e_IFRAME inside the theme class because it is already defined.  

Something like this will not work:

//login page
$this->membersonly_enabled = e107::getPref('membersonly_enabled');
if (e_PAGE == "login.php" && !$this->membersonly_enabled) {
define('e_IFRAME', '0');
}

Fix:

Put it outside theme class, like before without this class.

 //login page
$membersonly_enabled = e107::getPref('membersonly_enabled');
if (defined("e_PAGE") && e_PAGE == "login.php" && !$membersonly_enabled) {
define('e_IFRAME', '0');
}

If the theme sets this according to the actual layout, there is no fix. This option is available only for the login page, all other pages will have a fatal error in PHP 8.  

I asked as a feature request to have more variability, it wasn't accepted. So the rules are:

- signup and forgotten password pages are always standalone (normal pages with header and footer) until you have a members-only version. Modal versions are not supported.

- login page is by default modal (no header and footer), you can change it the way above.