Skip to Content Skip to Menu

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

Ajax point field with CBSubs action and invite plugin

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
11 years 8 months ago #220903 by myann
Hi team, I have a question :

Do you think it is possible to inscrease or decrease the number of point with:
- CBsubs plan subscription ?
- Invites plugin ?

I want to give my users point if they:
- subscribe a plan
- invite anybody
- their invitees register the website
- their invitees subscribe a plan

than uses a certain amount of point to give them (automatically if possible) promotion code.

Do you think it is possible ?
Thanks by advance

Myann

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220906 by krileon
It's just an integer field with an ajax element over top of it. So, yes you can change its value using CBSubs Fields, CB Auto Actions, etc.. CB Invites, no because it has no feature to adjust field values. You could use the points field in the condition of a CBSubs Promotion to give them discounts as well.


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.
The following user(s) said Thank You: myann

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

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
11 years 8 months ago - 11 years 8 months ago #220923 by myann
Very good.
But is it possible if user A connect him, I can have an action which give point to User B ?

And is it possible ot activate a coupon code for a user based on the value of a query field ? Then when the user use the coupen, decrease a certain number of point from a field ?

thank you by advance
Myann
Last edit: 11 years 8 months ago by myann.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220969 by krileon

But is it possible if user A connect him, I can have an action which give point to User B ?

Yes, there's a trigger for that. You could give them points using CB Auto Actions. See the triggers dropdown for the various triggers available.

And is it possible ot activate a coupon code for a user based on the value of a query field ? Then when the user use the coupen, decrease a certain number of point from a field ?

Yes, to both; as you already have access to everything I suggest simply give it a try. If you run into any issues please try searching first as others have already setup CB Query Field with coupons as working.


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.
The following user(s) said Thank You: myann

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

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
11 years 8 months ago #220998 by myann
Thank you so much for your help.

I search but it's possible I did not search enough. Sorry.

Thanks
Myann

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago - 11 years 8 months ago #221003 by krileon
When selecting a field to condition off of in your coupon simply select your query field. You may need to use a substitution instead so select to supply a value (substitutions are supported) and supply a substitution like the following.

[cb:userfield field="FIELD_NAME" /]

Example as follows.

First condition: This condition
Date A, Field A or Value A: Constant Value or String (CB substitutions can be used)
Value A: [cb:userfield field="cb_queryfield" /]
Date B, Field B or Value B: Constant Value or String (CB substitutions can be used)
Value B: Value 1
Condition 1 (> for Dates): A = B (Value A is equal to Value B )


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.
Last edit: 11 years 8 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum