auto value send in rating field or read from somewhere

5 years 1 month ago - 5 years 1 month ago #311252 by saman2
hi
i have some course in my website that each user maybe as that course teacher.
1-i want each of my teacher give rate according the users rate to his courses. is it possible to use CB rating field type and it is automatically get value?
how can i write some php code for get his courses rating and set result in the rating field?
2-i see :
www.joomlapolis.com/news/16547
and is it possible to set custom name for each rating value?

Please Log in to join the conversation.

5 years 1 month ago #311266 by krileon
Create a rating field within CB > Field Management and set "Vote Access" to "Moderators Only" or set the field as Read Only. Then you just need to push the numeric rating to its _comprofiler column from whatever system you're using. Your alternative is to create your own rating output with PHP using CB Code Field. We of course have no tutorial for this as we don't provide tutorials for custom code like that nor do we assist with custom coding.

2-i see :
www.joomlapolis.com/news/16547
and is it possible to set custom name for each rating value?

That plugin doesn't exist anymore. The rating field is included with CB and it has no titles for ratings; it's a star based rating system.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.158 seconds

Facebook Twitter LinkedIn