Skip to Content Skip to Menu

[SOLVED] Auto Actions to send email?

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 3 months ago #206414 by nickr
Replied by nickr on topic Re: Auto Actions to send email?
Hopefully FINAL question on this!

If I use Profile book ratings as well/instead, I used to have an average rating field that showed the stars but I'm not sure how I got this. It's been deleted now - how do I get it back?

Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 3 months ago #206421 by krileon
Replied by krileon on topic Re: Auto Actions to send email?

is it possible to display the results of the raw numeric output of the field to a specified number of decimal places?

You could use CB Query Field and query the database for the value or substitute it in. This would allow you to use MYSQL functions to format it if needed. As is CB formats it with a single decimal I believe so it'll always be for example 4, 4.5, 5.5, 6, etc..


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.

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 2 months ago #206441 by nickr
Replied by nickr on topic Re: Auto Actions to send email?
Done that with CB Query Field - thanks.

Did you see my hopefully LAST question in this topic:

"If I use Profile book ratings as well/instead, I used to have an average rating field that showed the stars but I'm not sure how I got this. It's been deleted now - how do I get it back?"

I have figured out how to use CB Query to get the average figure for profile book ratings but am sure I used to have a star field type called something like 'pb_avg_rating' unless I'm going mad!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 2 months ago #206450 by krileon
Replied by krileon on topic Re: Auto Actions to send email?
The CB ProfileBook rating field is "cb_pb_profile_rating". It's a calculated field so it doesn't store anything to _comprofiler. The votes are "postervote" in _comprofiler_plug_profilebook. You should just be able to use [cb_pb_profile_rating] substitution to give the digit average.


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: nickr

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

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 2 months ago #206457 by nickr
Replied by nickr on topic Re: Auto Actions to send email?
Okay - thanks very much Kyle.

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

Moderators: beatnantkrileon
Powered by Kunena Forum