Skip to Content Skip to Menu

CB RATINGS issue

7 years 5 months ago #293927 by InWorldLive
CB RATINGS issue was created by InWorldLive
Hi, I am trying to get the ratings field i created through field management in comprofiler to update when the table comprofiler_ratings has received a new row of information. What is happening is that, when a new row is inserted into the ratings table the field associated with the ratings in the comprofiler table stays NULL. It is not a rating through the front end but from the backend through a query string. How would I auto populate the ratings field in the comprofiler table with the average of what is in the comprofiler_ratings table? i understand there is a jQuery attached that makes this work from the frontend, would i have to create a new jquery? so lost right now.
Thank you in advanced for your help!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 5 months ago #293939 by krileon
Replied by krileon on topic CB RATINGS issue
The ratings table just keeps track of the individual ratings from each user. The sum is calculated and stored with the recipient user in _comprofiler. If you're going to update the database directly (you shouldn't) then you'll need to also update _comprofiler as needed.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum