By Dom Martin on Wednesday, 28 October 2020
Posted in General Issues
Replies 9
Likes 0
Views 865
Votes 0
So my site is members only, so all menu items except the ones required login and register are set to the Registered Level. Similarly, users can only access 90% of the site if they have a valid subscription through payplans using the menuaccess app.
So when I log out or my session expires on one of these premium pages, I'm greeted with a log in page. So far so good. I log in and the site redirects me to the payplans component and gives the following error.

×Either you have not subscribed to any plan or your subscription has expired. Please subscribe to a plan to access this link.

This is incorrect, as trying to navigate back to that page that I was trying to access while logged out is accessible just fine as designed.
This interuption by payplans when there is a valid subscription could be very confusing to my users when they have a valid subcription. Perhaps they use bookmarks or just leave their computer open for too long and the site accuses them incorrectly of not having a valid subscription. Is there a solution to this?
Hey Dom,

Can you share us with the steps to replicate the issue.
Which menu is creating issue , exact steps so i'll be able to replicate the same and check it further.

Update us with a response.
·
Friday, 30 October 2020 13:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay so two things. Since my website is members only, all menu pages are set to registered in order to prevent anyone getting in who shouldn't.

Secondly I'm trying to make it so that 90% of the site is only accessible if you have a valid subscription (the remainder of the site that is availible is documentation, account settings, data download and deletion, and of course purchasing a subscription), so I have most menu items restricted using the payplans menu application.

So what happens is, when I try to visit a link, say to a specific event listing a friend has sent me, joomla redirects me to a login,

I think using joomla's user component, then once I login I am then redirected to the payplans plan component page and am informed by an error banner incorrectly that I do not have a valid subscription even if the user I logged in as, does have a valid subscription.

In the meantime I've just put up a notice for users so they don't get confused. But this basically breaks my ability to link to specific pages from outside of the community.
·
Thursday, 12 November 2020 21:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for explaining this, I think we missed up to ask you update with your correct site backend login credentials earlier because I just tried to log in from your backend, it seems like you provided that login credentials no longer work now.
·
Friday, 13 November 2020 12:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex! I've updated the credentials.
A word of warning, my site contains extremely NSFW content and I would appreciate it if you stayed clear of the community sections for both your own and my user's comfort.
I've made a seperate page https://www.thekinkexhibit.com/test that still exhibits this behaviour when attempting to access from a logged-out state that doesn't contain any nsfw content.
·
Monday, 16 November 2020 21:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I did help you enabled this "Enable com_users Redirection" setting from system - Easysocial plugin, can you give it a check and see if the behavior show correct now?

It should redirect to Easysocial login page now.
·
Tuesday, 17 November 2020 11:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay perfect thanks, that stops payplans from intercepting after login so that's a huge step forward, but on login it still redirects to the home page/easysocial?
Dom
·
Wednesday, 18 November 2020 20:22
·
0 Likes
·
0 Votes
·
0 Comments
·
What page you would like to redirect to?

Or you want to redirect to this page after log-in if I access this page https://www.thekinkexhibit.com/test as a guest user?
·
Thursday, 19 November 2020 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah the latter, for it to redirect back to the page that was trying to be accessed before login
·
Thursday, 19 November 2020 12:25
·
0 Likes
·
0 Votes
·
0 Comments
·
After test further in my locally, it seems like it is not possible to achieve this.

This is how it works currently :

1. Since you have set this profile type login redirection to community menu item, so system will always redirect user to community page after they login (screenshot : https://monosnap.com/file/svwWXOWOgt6pUHVObEKaWXcgdQrPIL )

2. Even you set this login redirection to "Default Behavior" from the profile type configuration page, it still unable to redirect back to that page what you access before the login is because :

- User access this https://www.thekinkexhibit.com/test page

- System will redirect to https://www.thekinkexhibit.com/support plan listing page is because you did configure the menu access app which restricted this https://www.thekinkexhibit.com/test page

- But this plan listing page (https://www.thekinkexhibit.com/support) you have set to only registered user can able to access, so system redirect user to login page.

- At this moment, system only can retrieve the referer URL which is https://www.thekinkexhibit.com/support instead of https://www.thekinkexhibit.com/test .

- After the user login successfully, it will redirect this user to https://www.thekinkexhibit.com/support page.
·
Thursday, 19 November 2020 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post