Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Rating Field (Stars - My Rating / Your Rating, PB Ranking)

12 years 2 months ago #215133 by marriage_minded_man
I'm completely confused as to how the rating fields are supposed to work. Is there any tutorial or documentation on this?

Whats the difference between the 3 different types, (My Rating, Your Rating, PB Rating)?

What I'm trying to do:
1. Create a profile rating on the users profile to be rated by other users.
2. Have the average rate of that user also displayed on their profile as a separate field.
3. And then be able to sort a user list based on the highest rated users.

When I put the field on the profile, it shows, and I can click the stars, but when I go back to that same profile, its reset. And when I try to create a list sorted by that field it wont work. Is my vote even being registered? Seems that the clicks on the stars are just visual and nothing is being submitted.

Can you give me a step by step? Not sure which fields to use or how to accomplish this.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #215178 by krileon

Whats the difference between the 3 different types, (My Rating, Your Rating, PB Rating)?

My rating is a rating you give your self. Your rating is a rating others rate you. ProfileBook rating is your rating that others give you when posting on the ProfileBook tab.

1. Create a profile rating on the users profile to be rated by other users.

For this you'd use a Your Rating field.

2. Have the average rate of that user also displayed on their profile as a separate field.

As stars or as an integer? You can re-output it elsewhere using substitutions in a delimiter field. The standard [FIELDNAME] will give you the average as an integer.

3. And then be able to sort a user list based on the highest rated users.

The average rating of a user is stored to their database row in _comprofiler so should be just a matter of selecting your rating field in the Sort By parameter when editing your userlist.

When I put the field on the profile, it shows, and I can click the stars, but when I go back to that same profile, its reset. And when I try to create a list sorted by that field it wont work. Is my vote even being registered? Seems that the clicks on the stars are just visual and nothing is being submitted.

What version of the rating field are you using? Joomla version? CB version?


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.

12 years 2 months ago #215181 by marriage_minded_man
Replied by marriage_minded_man on topic Re: Rating Field (Stars - My Rating / Your Rating, PB Ranking)
Joomla 2.5.7
CB 1.9
CB Stars-Rating FieldType 1.0 RC

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #215185 by krileon
Please see the below bug ticket.

forge.joomlapolis.com/issues/3016

Can't recall if we released a new version with this fixed already. See patch for what to fix so it'll save ratings.


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.

12 years 2 months ago #215187 by marriage_minded_man
Replied by marriage_minded_man on topic Re: Rating Field (Stars - My Rating / Your Rating, PB Ranking)
I downloaded and installed Rating 1.0 and it seems to work now.

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

12 years 2 months ago #215188 by marriage_minded_man
Replied by marriage_minded_man on topic Re: Rating Field (Stars - My Rating / Your Rating, PB Ranking)
can you reset or adjust the rating on a field, either as the end-user adjusting their own inputted rating, or as an admin from the backend?

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

Moderators: beatnantkrileon
Powered by Kunena Forum