Skip to Content Skip to Menu

[SOLVED] Expiration redirect problems

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
10 years 5 months ago - 10 years 5 months ago #245448 by autobahn
[SOLVED] Expiration redirect problems was created by autobahn
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:

index.php?option=com_content&view=article&id=135&Itemid=0

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'.

What have I overlooked or have done wrong?
Last edit: 10 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245465 by krileon
Replied by krileon on topic Expiration redirect problems
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.

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

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
10 years 5 months ago #245467 by autobahn
Replied by autobahn on topic Expiration redirect problems
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.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245472 by krileon
Replied by krileon on topic Expiration redirect problems
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.

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

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
10 years 5 months ago #245488 by autobahn
Replied by autobahn on topic Expiration redirect problems
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.

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

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
10 years 5 months ago #245513 by autobahn
Replied by autobahn on topic Expiration redirect problems
I seemed to have solved this by setting 'Allow free subscriptions without plans' to No.

Expired subscriptions now show the epiration message and redirect to the expiration page.

This would never have worked if you had not pointed out that plan-specific redirects supercede global redirects, so thank you.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum