[CLOSED] Auto Redirect after user login if User not subscriber to Plans List

More
7 years 2 months ago - 7 years 2 months ago #110257 by tien
Hi! I'm using OSmembership Pro to create website for my client, but i
have some issues, can you have me?
My site have 2 plans: PR user and Bu user and user must choose 1 in 2 plans.
I want auto redirect users to Plan List page when they login to website
if this user not subscribed 1 in 2 that plans as above. Is there any
way I can do that? Thanks!

I had the answer.
Last edit: 7 years 2 months ago by tien.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #110260 by Tuan Pham Ngoc
Just posted the response which I replied via email here in case someone has same question

Unfortunately, we don't support this feature. If you want to have it works like that, you would need to write a plugin to process event onUserAfterLogin

On that method, you can check to see whether they have active subscription, if not, redirect to the page you want

See plugins/system/membershippro/membershippro.php to see how we implement it to control login redirect

Regards,

Tuan

Please Log in or Create an account to join the conversation.