Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB Connect assign CB Subs subscription how to?

10 years 10 months ago - 10 years 10 months ago #238449 by deltafidesign
Hi,

I would let user register with CB Connect plugin using Facebook and I would them to be auto-assigned to a specific plan. Can I do that?

At the moment I see they are required to choose a subscription as soon as they try to register with Facebook.

In my case they have to choose only 1 plan, so I would auto-assign it.

Any solution?

At least using an Auto Action...?

Thanks
Last edit: 10 years 10 months ago by deltafidesign. Reason: SOLVED

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

10 years 10 months ago #238450 by deltafidesign
Replied by deltafidesign on topic CB Connect assign CB Subs subscription how to?
Ok, I think I've found a solution using an Auto-Action. But I'm not sure how I can set the condition in the auto action.

I've setted trigger onBeforeFirstLogin but I must set also a condition to let it fire so I can exclude other kind of users that don't have to be assigned to this plan on first login.

What condition could I set?

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

10 years 10 months ago - 10 years 10 months ago #238458 by deltafidesign
Replied by deltafidesign on topic CB Connect assign CB Subs subscription how to?
Found a solution for the auto action.

Setted condition as fb_userid = not empty and trugger on onAfterUserRegistration.

This way it works fine.

Anyway I have a problem with subscription column in backend user management: no subscription are displayed (also for user registered with CB registration form) meanwhile if I look at subscription user profile tab (backend) it correctly display an assigned subscription, also in frontend.

What's wrong?

EDIT

Solved also for subscription plans name not displayed in user management. I forgot to assign an alias in the plans.
Last edit: 10 years 10 months ago by deltafidesign. Reason: SOLVED
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