![]() |
|
user_login-out.php problem - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: user_login-out.php problem (/thread-13692.html) |
user_login-out.php problem - ctdlg - 2022-02-14 Hello, Using Zenphoto 1.5.9. Original zp-core folder. Colorbox extension is disabled in my admin extension config page. If I enable user_login-out extension, displaying a full image activates Colorbox. Editing user_login-out.php file, (if (isset($_zp_gallery_page) && getOption('user_logout_loginform') > 1) { Then I enable user_login-out extension, displaying a full image works as expected ! I might be alone, as I've got a personal theme (based on the Basic theme). I know I should never change zp-core files, but as this solves my problem, I keep using my login-out.php file. user_login-out.php problem - acrylian - 2022-02-14 The user login_in_out plugin has an option to show the form in a colorbox or directly. If that is enabled it will load the colorbox plugin as that option otherwise will naturally not work. Additionally the If you do want the form in a colorbox but not the full image the proper way is to modify your theme and not hack core files. All you need to do is remove the JS code from ` |