Custom redirect after login based on FluentCRM tags?
I'm using FluentCommunity and have three different memberships: teenagers, adults and professionals. I have built a custom dashboard for all of the memberships. After login, I would like to redirect people to their membership dashboard. So if you have tag teenager, you are redirected to Teenager Membership Dashboard, if you have tag Adult, you are redirected to Adult Membership Dashboard etc.
This site is using FluentCRM, FluentAuth, FluentForms, FluentCommunity and FluentCart. Is this possible with this stack?
Currently I have done this by creating a single dashboard page with three conditional sections, one for each tag. This works, but it's prone to mistakes if I'm accidentally editing the wrong dashboard.
You can customize redirection after login in Fluent Auth using roles.
If youβre considering different tiers, you may want to explore creating specific roles for each tier. And then set the redirection depending on the role.
Also, take into account that FCRM automations allow you to modify the role as an action (eg.: purchase, cancelation, and any other trigger you may want to use).
Itβs also easier to think of tiers as roles too. But it will depend on your settings and personal taste for overall configuration tbh! :)
Jorge de los ReyesΒ Thanks! Hmm, but can I add Conditional Sections that are based on user role? I like the fact that I don't have to use different plugins and can control access to different spaces with tags and also what they see with tags. This way I can also restrict the dashboard pages to only people with certain tags. I can't restrict content based on user ROLES in vanilla WordPress, right? And can't do that with FluentCRM either?
Kristian PestiΒ sadly that option is not available (conditional display by role using FCRM Gutenberg native feature). Neither for community.
But they are not incompatible. You can use the roles for many settings like redirections and still be using tags for displays.
you can use wpfusion with login add on