Skip to Content Skip to Menu

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

auto actions cb subs

  • trins123
  • trins123
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #236998 by trins123
auto actions cb subs was created by trins123
Hi,

Can you please tell me how to setup a trigger (cb auto actions - cbsubs) to start a subscription when a visitor adds an ad in sobi2 and is instantly registered and logged in?

The idea is I can pupulate users inputbox field values from Sobi2 to cb profile like: field_company_name=company and based on a CB field value I would like
to start a subscripton plan.

If user has field company=empty then Fizicnaoseba plan is activated (not working)
If user has field company=not empty then Pravnaoseba plan is activated (working)

I am not sure if or what triggers sobi2 cb registration plugin uses to register a visitor and instantly loggs him in site.

But when a users visits his profile, he has no cb_profiletype value defined (radiobox field from CB profile pro component,
This field normaly gets populated after cbsubs registration.

Please see attachment why does this auto action fail, if user has empty company field?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #237060 by krileon
Replied by krileon on topic auto actions cb subs

Can you please tell me how to setup a trigger (cb auto actions - cbsubs) to start a subscription when a visitor adds an ad in sobi2 and is instantly registered and logged in?

CB Auto Actions can't do this. It performs configured actions on CB triggers. Sobi2 is not CB and does not fire any CB triggers. You'd need to edit Sobi2 or if Sobi2 supports plugins develop one for Sobi2 to do exactly what you're wanting.

Please see attachment why does this auto action fail, if user has empty company field?

Your condition is not a substitution. Your literally testing the string "company" to see if it's empty, which is always going to be false. You need to ensure it is a valid field substitution. Please see the below tutorial regarding substitution usage.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb


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.

Moderators: beatnantkrileon
Powered by Kunena Forum