Our login module is located on a 'Members Area' page that is reached from a menu item labelled 'Members Area' which is linked to an article. When an active subscriber logs in a landing page is displayed together with a Member's Menu which is in the same module position as the login module.
When a user's subscription expires and they try to log in I want them to be sent to a page telling them how to renew/reactivate instead of the landing page and to not show the Member's Menu.
I have put the following link into the Membership expired redirect URL:
but it does not redirect when an expired user logs in.
The user is logged in, the Member's Menu is displayed (and is accessible) and the only difference is that the Members' Area page is not displayed instead of the landing page.
If I leave the Membership expired redirect URL: blank the same thing happens - I don't get the 'Your membership has expired message'.
Is the user completely expired? I believe if they've any other active subscription that redirect won't happen. Also if there's a grace period the users subscription won't end until the grace period is also over.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The user is completely expired. Expiration date 8th May 2014, grace period 14 days ended 22nd May 2014, email re expiration sent and received, marked as Expired in subscriptions.
There are no other active subscriptions for the user.
Is the user logging in strictly through CB login? Joomla login won't have the needed CB triggers for CBSubs to act on. On the Workflows tab of your plans ensure you don't have login redirects specified as they'll override the redirect in global settings.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Users always login through the CB Login module - Joomla login is disabled.
I did have login redirects on individual plans but I have now removed them all.
If an expired user tries to login in the Members Area page stays displayed, the username and password boxes are emptied and the Members' Menu is not displayed. However, if they try to log in again with the same username and password the login is successful and the Members' Menu is displayed.
The expiration redirect index.php?option=com_content&view=article&id=135&catid=97 doesn't work and the result is the same if the expiration redirect is blank.
The page at index.php?option=com_content&view=article&id=135&catid=97 works fine if I enter it into the address bar and go to it directly.