conditional redirect from plan

  • jeronimo
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #125410 by jeronimo
conditional redirect from plan was created by jeronimo
I display the "Membership Plans" module with the pricing table. When the user clicks on one of the sign up buttons they need to be redirected to the registration/login page of CB (actually a link for a modal) or if already logged in they need to be redirected to the checkout page. How do I achieve that?

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

More
5 years 11 months ago #125421 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic conditional redirect from plan
Hello

You will need to modify code if you want to have it works like that. When the button is clicked, they will be redirected to subscription form of Membership Pro

In case they have existing account, they can enter that username and password to login before continue the subscription process. That should be fine instead of redirecting to CB Login page

Tuan

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

  • jeronimo
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago - 5 years 11 months ago #125517 by jeronimo
Replied by jeronimo on topic conditional redirect from plan
Ok, in that case you need to explain how I enable the login via facebook with MSpro because that is why I need the CB login. Same for the registration process because that is how my site works - registration/login via the CB module which offers normal or facebook. So the users how are used to login on my site via facebook of course want to continue logging in via facebook. I cant afford loosing customers just because a Joomla extension is not able to offer the login via facebook.
The solution is easy - just redirect to the CB login page or pull the CB reg/login module into your process.
Last edit: 5 years 11 months ago by jeronimo.

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

More
5 years 11 months ago #125524 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic conditional redirect from plan
Hello jeronimo

Unfortunately, our extension does not support login via Facebook at the moment, so it's not possible.

I will try to support it (integrate with a third party extension) in the future. However, it will take time to support it (I am unsure yet, maybe about 6 weeks to 8 weeks)

Regards,

Tuan

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

  • jeronimo
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #125534 by jeronimo
Replied by jeronimo on topic conditional redirect from plan
Thanks for considering the fb login, I can use MSpro only when the fb login is available.

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

More
5 years 11 months ago #125542 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic conditional redirect from plan
As mentioned, it will take time to have this feature available. So if you need it right now, maybe you will have to switch to a different product and I will be happy to refund the money of your purchase

In case you can wait, my plan is integrate with this product github.com/akeeba/sociallogin/releases (it's developed by a great Joomla! developer) to provide social login. So maybe you can try to install and play with that plugin to see whether it works for your need

Regards,

Tuan

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

  • jeronimo
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #125686 by jeronimo
Replied by jeronimo on topic conditional redirect from plan
That is good news.

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