- Posts: 20
- Thank you received: 0
redirection when users doesn't have access
- Justyna
- Topic Author
- Offline
- Junior Member
-
Less
More
6 years 11 months ago #113286
by Justyna
redirection when users doesn't have access was created by Justyna
Hi,
I do not remember now where i've set it up, but imagine a plan is restricted to url A and B. user is not logged in and tries to access this url A. According to my setup he is redirected to "our products" page and there is this green message displayed "you do not have access, you need to have access to plan X or plan Y in order to view this page".
Where do I setup the page where the users are redirected (in my case it is our products page).... and what is the name of the function that is redirecting?
I am thinking about having just a popup with info "you need to buy plan X or Y" with links to the checkout page instead of this redirection.
thanks
I do not remember now where i've set it up, but imagine a plan is restricted to url A and B. user is not logged in and tries to access this url A. According to my setup he is redirected to "our products" page and there is this green message displayed "you do not have access, you need to have access to plan X or plan Y in order to view this page".
Where do I setup the page where the users are redirected (in my case it is our products page).... and what is the name of the function that is redirecting?
I am thinking about having just a popup with info "you need to buy plan X or Y" with links to the checkout page instead of this redirection.
thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #113316
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirection when users doesn't have access
I would say that it's not easy to make the popup as you said (Or my javascript skill is not enough)
If you want to change it, take a look at plugins/system/osmembershipurls/osmembershipurls.php (method onAfterInitialise)
Regards,
Tuan
If you want to change it, take a look at plugins/system/osmembershipurls/osmembershipurls.php (method onAfterInitialise)
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.