You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I know you dislike that I change core stuff but it is a way how testing e107 limits and mainly - you know, it works because it's core, as soon as you try to do a different way, it fails. So I want to know if there is not some hidden issue in the core.
Ok, I am working on custom plugin - I can release it if it is needed - instead of core shortcodes it uses plugin ones if it is set on.
I use it on 3 core pages: login, signup and membersonly.
The principle is the same login page:
Just by switching preference I can test site with core or plugin shortcodes and templates. Everything works nicely. Template and shortcode are copy of core ones. Just class name is changed for shortcodes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I know you dislike that I change core stuff but it is a way how testing e107 limits and mainly - you know, it works because it's core, as soon as you try to do a different way, it fails. So I want to know if there is not some hidden issue in the core.
Ok, I am working on custom plugin - I can release it if it is needed - instead of core shortcodes it uses plugin ones if it is set on.
I use it on 3 core pages: login, signup and membersonly.
The principle is the same
login page:
Just by switching preference I can test site with core or plugin shortcodes and templates. Everything works nicely. Template and shortcode are copy of core ones. Just class name is changed for shortcodes.
membersonly doesn't use wrappers, so no issue
now signup page
the same login:
no wrapper is used, Why? If this problem is not for login page?
if I change $SIGNUP_WRAPPER to $SC_WRAPPER (I saw this in some plugin), core signup wrapper is used but with plugin shortcodes
if I remove wrapper part from code (only load shortcodes), plugin wrapper is loaded correctly. But if I do it for login page, it doesn't work
$SC_WRAPPER['SIGNUP_LOGINNAME'] =
not $SIGNUP_WRAPPER
Why it works this way?
Beta Was this translation helpful? Give feedback.
All reactions