Skip to Content Skip to Menu

How to show membership subscription on home page when not paid

  • cgwhite
  • cgwhite
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 0
7 years 1 month ago #296632 by cgwhite
Dear All,

I have a club membership subscription set up for my 500 members. I would like to display their subscription renewal on the front page when they log in if it is not paid.

So, when they log in the first thing they see is their renewal. When they pay then it would default to the normal members logged in page.

Is this possible. Likewise when they pay their subscription it is removed from the "User menu" until next years renewal is due.

Any help would be appreciated.

Regards,

Chris.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48432
  • Thanks: 8274
  • Karma: 1443
7 years 1 month ago #296643 by krileon
Best way I can think of doing that is to use a Custom module, enable prepare content for it, then use CBSubs substitutions as described in the cbpaidsubsbot description within Extensions > Plugins. This would allow you to condition a message to display based off their subscription status. Empty modules don't display so if the condition isn't met it'd just be empty and won't display anything. The CBSubs substitutions are described a little below.

www.joomlapolis.com/news/18550-cbsubs-gpl-4-1-with-timed-content-taxes-inclusive-price-display-and-plan-substitutions-usable-anywhere


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.

  • cgwhite
  • cgwhite
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 0
7 years 1 month ago #296655 by cgwhite
Thank you for that. I will look into this. One way I thought of was to have the plan change the user group when a current subscription is valid. i.e. move them from Registered Group to a "Subscribed" group. When they logged in they would have all the subscribed content available and a different landing page etc. Would that work?

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

  • cgwhite
  • cgwhite
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 0
7 years 1 month ago #296656 by cgwhite
You say "CBSubs substitutions as described in the cbpaidsubsbot description within Extensions > Plugins" I don't hve a cbpaidsubsbot plugin anywhere... Where does it come from? How do I install it?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48432
  • Thanks: 8274
  • Karma: 1443
7 years 1 month ago #296657 by krileon
You should have "cbpaidsubsbot" within Extensions > Plugins. It's a Joomla system plugin. If you do not then your CBSubs install is incomplete and you can download on our downloads page below.

www.joomlapolis.com/downloads/cb-paid-subscriptions

Thank you for that. I will look into this. One way I thought of was to have the plan change the user group when a current subscription is valid. i.e. move them from Registered Group to a "Subscribed" group. When they logged in they would have all the subscribed content available and a different landing page etc. Would that work?

Yes, you could have your plan give them a usergroup. Once expired the usergroup will be removed. You can then use that usergroup to control access to various content.


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.

  • cgwhite
  • cgwhite
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 0
7 years 1 month ago #296668 by cgwhite
OK, I now have the plugin installed and a custom module up and running.

Can you please explain what the status codes are: status="A|R|X|C|U|I"

Regards,

Chris.

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

Moderators: beatnantkrileon
Powered by Kunena Forum