- Posts: 1
- Thank you received: 0
[CLOSED] Auto Redirect after user login if User not subscriber to Plans List
- tien
- Topic Author
- Offline
- New Member
-
Less
More
7 years 2 months ago - 7 years 2 months ago #110257
by tien
[CLOSED] Auto Redirect after user login if User not subscriber to Plans List was created 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.
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 2 months ago #110260
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [CLOSED] Auto Redirect after user login if User not subscriber to Plans List
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.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.