Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

auto value send in rating field or read from somewhere

  • saman2
  • saman2
  • ONLINE
  • Posts: 407
  • Thanks: 7
  • Karma: -1
5 years 8 months ago - 5 years 8 months 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?
Last edit: 5 years 8 months ago by saman2.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
5 years 8 months 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum