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!

User "Comments" choices

  • YeeP
  • YeeP
  • OFFLINE
  • Posts: 33
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #215670 by YeeP
Replied by YeeP on topic Re: User "Comments" choices
I have mine set at 5 starts, left it at default.
Code in Firebug:
Code:
<div class="cb_field"> <div id="cbfv_84"> <form id="cb_myrating122FORM" method="post" name="cb_myrating122FORM" action="#"> <div id="cb_myrating122DIV" class="content_vote"> <div class="stars" style="float:left;width:121px;"> <input type="hidden" disabled="disabled" value="1.25" name="cb_myrating"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly star_on" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly star_on" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly star_on" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly star_on" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly star_on" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> <div class="star star_group_cb_myrating122FORM____cb_myrating star_readonly" style="width: 3px;"> </div> <div style="clear:both;"></div> </div> </form> </div> </div>

I will look at the bootstrap CSS here in a second, but I would be surprised if the number of stars exists in the CSS.

Are you saying this rating field has no correlation with the rating on the Portrait? What is the point of it then? I give the user two options to rate another user??? One in the profile book, and one on the rating plugin. The profile book rating being the only one that effects the portrait?

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

  • YeeP
  • YeeP
  • OFFLINE
  • Posts: 33
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #215671 by YeeP
Replied by YeeP on topic Re: User "Comments" choices
Ok, I found the bug with the large amount of stars shown. It has to do with the "Rating Fraction" in the field edit. If you have it as 1 star it shows just fine. The more you lower the fraction, the more stars that show up. I.E. 1/4 star has the most stars in the profile, 1 star has the least.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #215674 by krileon
Replied by krileon on topic Re: User "Comments" choices

Are you saying this rating field has no correlation with the rating on the Portrait? What is the point of it then? I give the user two options to rate another user??? One in the profile book, and one on the rating plugin. The profile book rating being the only one that effects the portrait?

The rating field in the status display is CB ProfileBooks rating field. Disable the field and turn off rating in the ProfileBook tab. Now just use the rating field you created (can put it anywhere you like).

Ok, I found the bug with the large amount of stars shown. It has to do with the "Rating Fraction" in the field edit. If you have it as 1 star it shows just fine. The more you lower the fraction, the more stars that show up. I.E. 1/4 star has the most stars in the profile, 1 star has the least.

Believe that's working as intended.


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.

  • YeeP
  • YeeP
  • OFFLINE
  • Posts: 33
  • Thanks: 0
  • Karma: 0
12 years 1 month ago - 12 years 1 month ago #215679 by YeeP
Replied by YeeP on topic Re: User "Comments" choices
It is working as intended, therefore you want it to show a bunch of stars next to "My Rating" when the admin has selected anything other than 1 star rating fraction?

EDIT: Two examples, I can do the rest if you would like.

Faction Setting 1(whole)


My Rating result in profile


Fraction Setting 1/2


My Rating result in profile


Intended?
Attachments:
Last edit: 12 years 1 month ago by YeeP.

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

  • YeeP
  • YeeP
  • OFFLINE
  • Posts: 33
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #215688 by YeeP
Replied by YeeP on topic Re: User "Comments" choices
Another issue I seem to be having is the lack of an "average" calculation on the rating itself. I had it in the User Status tab, and wondered if that was the cause. I then moved it back to the Profile Wall, but it still shows "no stars"

Check it out:
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #215753 by krileon
Replied by krileon on topic Re: User "Comments" choices

Intended?

Yes, I believe that's working as intended. Each star is only worth half its value (1) in this case.

Another issue I seem to be having is the lack of an "average" calculation on the rating itself. I had it in the User Status tab, and wondered if that was the cause. I then moved it back to the Profile Wall, but it still shows "no stars"

The rating field has absolutely no relation to CB ProfileBook. Users use it separately.


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