Please Log in or Create an account to join the conversation.
Recommend using CB Query Field for that. It can query external databases. So you'd basically query your other sites database to see if they've an active membership then yes CB Auto Actions can certainly cancel it or active it using a CB Paid Subscriptions action.Could it be possible to set up a CB Code field on Site B, that would check if that user had an active membership on Site A? And then on login with Auto Actions check that field? If yes, then "Site A Member" plan set to active, and if no the plan is deactivated?
Yes, you'd need 2 auto actions to handle the different states.I can write the code for the CB Code field, but what would the Auto actions look like? Would I need 2, one to deactivate and one to activate as users come and go?
Only easier way I can think of is just migrate your users data over for them manually. Probably a matter of just moving _users, _comprofiler and the necessary usergroup mapping table if they've custom usergroups. This would avoid them having to register manually themselves.Or is there a simpler way that I haven't thought of?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That just sounds like the user is trying to access a page they don't have access to.In the first Auto action, I get the output message: "Error Please login first" However, it does unsubscribe the user, so it will confuse users.
Make your plan completely frontend accessible then retry your second auto action. It's possible it being URL accessible only could be blocking the subscribe from frontend even when it's done via API, but it shouldn't. You can also enable debug mode under Parameters of your auto action then enable debug mode and maximum error reporting in Joomla global configuration and retest to see if the auto action is failing.The Second Auto Action, does not work at all. I've tried changing parameters around but it does not subscribe them. I get the output message: "A membership is needed for access."
Please Log in or Create an account to join the conversation.
Yes, it's the login, which the system just removed its subscription, so it will always be that case. I'd rather see the particular message for that action, but it's not too bad if it's overwritten by that, at least the subscription is getting expired as it should.That just sounds like the user is trying to access a page they don't have access to.
I've made the plan frontend, and also tried using other plans, but it didn't work.Make your plan completely frontend accessible then retry your second auto action. It's possible it being URL accessible only could be blocking the subscribe from frontend even when it's done via API, but it shouldn't. You can also enable debug mode under Parameters of your auto action then enable debug mode and maximum error reporting in Joomla global configuration and retest to see if the auto action is failing.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.