Counter field for Cbsubs
- activha
- OFFLINE
- Posts: 2279
- Thanks: 113
- Karma: 13
For instance can I write something like [cb:userdata field="cb_field" /] x 2 somewhere in a cb content module to calculate the amount ?
I tried [cb:parse function="math"]1 + 2 - 3 * 4 / 2[/cb:parse] but it doesn't work in the module
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68607
- Thanks: 9108
- Karma: 1434
It does not. You'll need to use a Code or Query field for computation or 3rd party content plugin that provides computation.I don't remember if cb substitution supports computation.
That will only work in CB Auto Actions.I tried [cb:parse function="math"]1 + 2 - 3 * 4 / 2[/cb:parse] but it doesn't work in the module
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.
- activha
- OFFLINE
- Posts: 2279
- Thanks: 113
- Karma: 13
If I change the field to query drop down, will I keep my present members values in the DB ?
Do you still have the country_info.sql file somewhere, I cannot find it in the download section ?
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68607
- Thanks: 9108
- Karma: 1434
Yes, it won't change whatever is stored in users _comprofiler database row. Nor will it change the dropdown options you've already set for the field (those actually should still work for a Query Select fieldtype).If I change the field to query drop down, will I keep my present members values in the DB ?
You don't need it if you have CBSubs. See the below on how to make a CBSubs invoice address compatible Query Select usage.Do you still have the country_info.sql file somewhere, I cannot find it in the download section ?
www.joomlapolis.com/forum/255-developer-members-support/236894-solved-mapping-of-address-fields-to-cbsubs-not-working?limitstart=0#295537
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.
- activha
- OFFLINE
- Posts: 2279
- Thanks: 113
- Karma: 13
Yes, it won't change whatever is stored in users _comprofiler database row. Nor will it change the dropdown options you've already set for the field (those actually should still work for a Query Select fieldtype).
Trying to change the field type from dropdown to query dropdown does not work with this field. It simply brings me back to the backend home page.
Could it be related to the number of values in the drop down field ?
If I delete the values, would it alter the already recorded ones for members ?
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68607
- Thanks: 9108
- Karma: 1434
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.