It is possible to have the registration like in skool?
It is possible to have the registration like in skool? free form, and then after you put your email/name to be redirect to make a subscription?
This is the standard Fluent-Community login process!?
Maybe you can try this workaround:
1- Create a new user role like, for example, 'no-subscription' and set it as default user registered role.
2- Create a code snippet to redirect users with role 'no-subscription' to the payment page when they logged in:
add_filter('fluent_community/auth/after_login_redirect_url', function ($redirectUrl, $user) {
// Check if user has role 'no-subscription'
if (in_array('no-subscription', (array) $user->roles)) {
// Redirect to the payment page
$customRedirectUrl = site_url('/pay-subscription');
}
// Return url redirection
return $customRedirectUrl;
}, 10, 2);
3- Once they pay, change their role to a different one